{"amount_tables":[{"add_label":"Add a cost of another kind","amount_id":"income_sources.self_employment.other_expenses.value","follow_up_ids":["income_sources.self_employment.other_expenses.restaurant_part"],"group_id":"income_sources.self_employment.other_expenses","help":"Enter what you spent on each kind of cost, from your records, and leave a line blank if you spent nothing on it. The vehicle, the home office and the equipment have questions of their own.","help_lines":["Leave out income tax, here or abroad, and social insurance you pay as a self-employed person: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments, entertainment and personal costs."],"help_when":[[{"op":"in","ref":"context.tax_year","values":[2021,2022]},"For this tax year, food and drinks a restaurant provided are fully deductible. Enter your business meals with the half deductible meals, or with the meals during work under transport hours of service limits, and you are then asked how much of them a restaurant provided."]],"id":"income_sources.self_employment.expense_table","key_id":"income_sources.self_employment.other_expenses.key","label":"What did your business spend during the year?","line_id":"income_sources.self_employment.other_expenses.schedule_c_line","name_label":"What was it for?","named_line":"other"}],"checklists":[{"help":"Check each one that did. We ask about each one you check next.","id":"fit.your_year","label":"Which of these happened to you this year?","member_ids":["fit.earned_money_abroad","fit.paid_foreign_tax","fit.has_unusual_situation"],"none_label":"None of these."},{"help":"These are the tests the Form 1040 instructions set for a dependent. Most people check none of them.","id":"household.dependents.tests","label":"Which of these are true for your dependent?","lead_id":"household.dependents.qualifies_ctc","member_ids":["household.dependents.fails_citizenship_test","household.dependents.files_joint_return","household.dependents.provided_own_support","household.dependents.full_time_student","household.dependents.permanently_disabled","household.dependents.qualifying_child_of_another","household.dependents.gross_income_at_or_over_limit","household.dependents.you_paid_half_or_less_of_support","household.dependents.claimed_under_multiple_support_agreement","household.dependents.step_parent_or_in_law","household.dependents.not_household_member_all_year","household.dependents.qualifying_child_of_more_than_one","household.dependents.dependent_tests_not_sure"],"none_label":"None of these."},{"help":"These are the tests a child you do not claim has to meet to make you head of household. Check each one that is true.","id":"household.qualifying_person_tests","label":"Which of these are true for your child?","member_ids":["household.qualifying_person_not_dependent.married","household.qualifying_person_not_dependent.provided_own_support","household.qualifying_person_not_dependent.full_time_student","household.qualifying_person_not_dependent.permanently_disabled","household.qualifying_person_not_dependent.qualifying_child_of_more_than_one"],"none_label":"None of these."},{"help":"Check each one that has an amount on your K-1. You enter the amounts next.","id":"income_sources.k1_boxes","label":"Which of these boxes on your K-1 show an amount?","member_ids":["income_sources.schedule_k1s.box_business","income_sources.schedule_k1s.box_rental","income_sources.schedule_k1s.box_other_rental","income_sources.schedule_k1s.box_royalties","income_sources.schedule_k1s.box_guaranteed","income_sources.schedule_k1s.box_interest","income_sources.schedule_k1s.box_dividends","income_sources.schedule_k1s.box_capital","income_sources.schedule_k1s.box_section_1231","income_sources.schedule_k1s.box_self_employment","income_sources.schedule_k1s.box_tax_exempt","income_sources.schedule_k1s.box_nondeductible","income_sources.schedule_k1s.box_distributions","income_sources.schedule_k1s.box_foreign_tax","income_sources.schedule_k1s.box_section_199a","income_sources.schedule_k1s.box_other"],"none_label":"None of these."},{"help":"Most K-1s have none of these. Each one you check brings a few more questions.","id":"income_sources.k1_situations","label":"Which of these are true for your K-1?","member_ids":["income_sources.schedule_k1s.publicly_traded","income_sources.schedule_k1s.interest_disposed","income_sources.schedule_k1s.more_than_one_activity","income_sources.schedule_k1s.earlier_limited_losses","income_sources.schedule_k1s.has_prior_year_passive_loss","income_sources.schedule_k1s.shareholder_loans","income_sources.schedule_k1s.trading_activity","income_sources.schedule_k1s.recharacterized_income"],"none_label":"None of these."},{"help":"A young filer's income not earned from work, such as interest, dividends, gains, pensions, benefits or rent, is taxed at a parent's rate above a small amount, on a separate form. These decide whether that applies to you. Check each one that is true.","id":"income_sources.kiddie_tax","label":"Which of these are true for you?","member_ids":["income_sources.kiddie_tax.neither_parent_alive","income_sources.kiddie_tax.earned_income_over_half_support","income_sources.kiddie_tax.full_time_student"],"none_label":"None of these."},{"help":"Check each one that does. If none do, check None of these.","id":"income_sources.other_situations","label":"Do any of these uncommon situations apply to you?","member_ids":["income_sources.has_like_kind_exchange","income_sources.has_unmodeled_income","income_sources.foreign_company_officer_or_owner","income_sources.may_have_capital_loss_carryover","income_sources.may_have_earlier_foreign_loss_account","income_sources.complex_ftc","income_sources.screened_inputs.earlier_sale_or_foreclosure","income_sources.screened_inputs.incentive_stock_options","income_sources.screened_inputs.schedule_k1","income_sources.screened_inputs.net_operating_loss_carry_in","income_sources.screened_inputs.domestic_partner_community_state","income_sources.investment_income_reduced","income_sources.seller_financed_interest","income_sources.has_misclassified_pay","income_sources.has_pfic_holdings","income_sources.received_foreign_gift","income_sources.unsure_of_a_situation"],"none_label":"None of these."},{"help":"Check each one that applies, or that you are unsure of.","id":"income_sources.sale_situations","label":"Do any of these apply to your sales?","member_ids":["income_sources.screened_inputs.section_1256_contracts","income_sources.screened_inputs.trader_mark_to_market","income_sources.screened_inputs.federal_mortgage_subsidy"],"none_label":"None of these."},{"gate_id":"income_sources.has_any_income","help":"Check every kind you had, in the United States or abroad. We only ask about the ones you check.","id":"income_sources.income_kinds","label":"Which of these did you have during the year?","member_ids":["income_sources.has_wages","income_sources.has_self_employment","income_sources.has_investment_income","income_sources.has_social_security","income_sources.has_foreign_social_security","income_sources.has_retirement_distributions","income_sources.has_pensions","income_sources.has_capital_transactions","income_sources.has_rentals","income_sources.has_royalties","income_sources.has_unemployment","income_sources.has_prior_year_unemployment_repayment","income_sources.has_other_income","income_sources.has_passive_income","income_sources.has_state_refund"],"none_label":"None of these."},{"help":"Look at boxes 3 to 8, 11 to 13, 14a and 15. Check each one that applies: we ask for the figures behind each one you check and skip the rest. The last box is about the employer: check it if this pay is from a church.","id":"income_sources.wages.form_w2_boxes","label":"Which of these does your Form W-2 show?","member_ids":["income_sources.wages.has_social_security_and_medicare","income_sources.wages.retirement_plan","income_sources.wages.third_party_sick_pay","income_sources.wages.statutory_employee","income_sources.wages.has_box_12","income_sources.wages.has_box_14","income_sources.wages.has_state_lines","income_sources.wages.has_allocated_tips","income_sources.wages.church_employee_income"],"none_label":"None of these."},{"help":"Check each one that applies. Most businesses have none of them.","id":"income_sources.businesses.situations","label":"Which of these are true of your work in this business?","member_ids":["income_sources.businesses.amortizable_costs","income_sources.businesses.co_owned","income_sources.businesses.run_through_foreign_entity","income_sources.businesses.prior_year_limited_loss","income_sources.businesses.not_for_profit","income_sources.businesses.minister_or_exempt","income_sources.businesses.treated_as_contractor_but_employee","income_sources.businesses.notary_fees","income_sources.businesses.has_closed"],"none_label":"None of these."},{"help":"Check each one that applies during the year. Most home offices have none of them.","id":"income_sources.businesses.home_office.situations","label":"Which of these are true of your home office for this business?","member_ids":["income_sources.businesses.home_office.daycare","income_sources.businesses.home_office.other_fixed_business_location","income_sources.businesses.home_office.other_home_used_for_business"],"none_label":"None of these."},{"help":"Look at the checkboxes in box 2b, beside the code in box 7 and in box 12, and at the less common boxes. Check each one that applies to your form.","id":"income_sources.retirement_distributions.checkboxes","label":"Which of these does your Form 1099-R show?","member_ids":["income_sources.retirement_distributions.taxable_amount_not_determined","income_sources.retirement_distributions.total_distribution","income_sources.retirement_distributions.ira_sep_simple","income_sources.retirement_distributions.fatca_filing_requirement","income_sources.retirement_distributions.has_less_common_boxes"],"none_label":"None of these."},{"help":"Check each one that applies. Most businesses have none of them.","id":"income_sources.self_employment.branch_situations","label":"Which of these are true of your business abroad?","member_ids":["income_sources.self_employment.foreign_branch.owns_trust_interest","income_sources.self_employment.foreign_branch.owns_entity_interest","income_sources.self_employment.foreign_branch.related_entity_transactions","income_sources.self_employment.foreign_branch.treaty_benefit_claimed","income_sources.self_employment.foreign_branch.us_office_or_agent","income_sources.self_employment.foreign_branch.top_up_tax","income_sources.self_employment.foreign_branch.foreign_tax_disqualified_901m","income_sources.self_employment.foreign_branch.foreign_tax_section_909"],"none_label":"None of these."},{"help":"Check each one that applies. Most businesses abroad have none of them.","id":"income_sources.self_employment.work_facts","label":"Which of these are true of your business?","member_ids":["income_sources.self_employment.work_performed_while_residing_in_us","income_sources.self_employment.receipts_for_other_year_work"],"none_label":"None of these."},{"help":"Check each one that applies. Most pay has none of them.","id":"income_sources.wages.pay_extras","label":"Which of these are true of your pay?","member_ids":["income_sources.wages.part_earned_living_in_us","income_sources.wages.pays_for_other_year_work","income_sources.wages.has_employer_provided"],"none_label":"None of these."},{"help":"Check each one that applies during the year. Most rentals have none of them.","id":"income_sources.rentals.situations","label":"Which of these are true of your rental?","member_ids":["income_sources.rentals.owns_only_part","income_sources.rentals.rents_only_part","income_sources.rentals.held_through_foreign_entity","income_sources.rentals.stayed_on_rented_days","income_sources.rentals.average_stay_7_days_or_less","income_sources.rentals.average_stay_30_days_with_services","income_sources.rentals.not_rented_for_profit","income_sources.rentals.incidental_to_other_activity","income_sources.rentals.used_as_home_carryover_from_earlier_year","income_sources.rentals.at_risk_loss_carried_from_earlier_year","income_sources.rentals.disposed_in_year"],"none_label":"None of these."},{"help":"Revenue Procedure 2014-55 frees a Canadian retirement plan from Form 3520 when all three lines are true. Check each line you know is true, and leave a line clear if it is not true or you cannot check it. If one is clear, we ask about your plan another way.","id":"income_sources.pensions_and_annuities.canadian_plan","label":"Which of these are true of your plan in Canada?","member_ids":["income_sources.pensions_and_annuities.canada_plan_resident","income_sources.pensions_and_annuities.canada_plan_tax_exempt","income_sources.pensions_and_annuities.canada_plan_for_pension"],"none_label":"None of these."},{"help":"A pension plan abroad can count as a foreign trust, which is reported on Form 3520. Revenue Procedure 2020-17 frees a plan from that form when every line here is true. Check each line you know is true, and leave a line clear if it is not true or you cannot check it.","id":"income_sources.pensions_and_annuities.trust_conditions","label":"Which of these are true of the plan that pays your pension?","member_ids":["income_sources.pensions_and_annuities.plan_for_retirement","income_sources.pensions_and_annuities.plan_tax_favored","income_sources.pensions_and_annuities.plan_reports_to_tax_office","income_sources.pensions_and_annuities.plan_contributions_from_work_only","income_sources.pensions_and_annuities.plan_contributions_capped","income_sources.pensions_and_annuities.plan_withdrawals_restricted","income_sources.pensions_and_annuities.plan_open_to_all_staff","income_sources.pensions_and_annuities.plan_income_reported"],"none_label":"None of these."},{"help":"Count pay from a job and income from your own business, earned while abroad. Each of you who did has their own Form 2555 on this joint return.","id":"where_you_lived.who_earned_abroad","label":"Which of you earned money from working while outside the United States?","member_ids":["where_you_lived.spouse_earned_abroad","where_you_lived.you_earned_abroad"],"none_label":"Neither of us."},{"help":"Check each one that applies. We ask about each one you check and skip the rest.","id":"foreign_tax.foreign_tax_kinds","label":"Which of these apply to your foreign taxes this year?","member_ids":["foreign_tax.has_foreign_taxes","foreign_tax.has_ftc_carryovers"],"none_label":"None of these."},{"help":"Check each one that does. We ask about each one you check and skip the rest.","id":"foreign_tax.situations","label":"Which of these apply to your foreign tax and housing this year?","member_ids":["foreign_tax.has_housing","foreign_tax.has_spouse_housing","foreign_tax.has_treaty_positions","foreign_tax.claims_tax_when_accrued"],"none_label":"None of these."},{"help":"Check each one that applies.","id":"deductions_credits.situations","label":"Which of these costs or payments did you have this year?","member_ids":["deductions_credits.has_itemized","deductions_credits.has_additional_deductions","deductions_credits.has_self_employed_health_insurance","deductions_credits.has_child_dependent_care","deductions_credits.dependent_care_benefits","deductions_credits.has_education_credits","deductions_credits.special_amt_or_niit_election","deductions_credits.unsure_of_a_situation"],"none_label":"None of these."},{"help":"These are United States retirement and health accounts. If you do not have one, check None of these. Check each one that applies to you, or to your spouse on a joint return.","id":"deductions_credits.accounts_and_cover","label":"Which of these apply to your retirement accounts or health coverage?","member_ids":["deductions_credits.screened_inputs.traditional_ira_contribution","deductions_credits.screened_inputs.roth_conversion","deductions_credits.screened_inputs.traditional_ira_basis","deductions_credits.screened_inputs.health_savings_account","deductions_credits.screened_inputs.self_employed_retirement_plan","deductions_credits.screened_inputs.excess_contribution_or_missed_distribution","deductions_credits.screened_inputs.marketplace_coverage","deductions_credits.screened_inputs.education_account_payout","deductions_credits.screened_inputs.medical_savings_or_ltc_payout","deductions_credits.screened_inputs.roth_ira_with_excluded_pay","deductions_credits.screened_inputs.ira_excess_from_earlier_year"],"none_label":"None of these."},{"help":"Check each one that applies to you, or to your spouse on a joint return.","id":"deductions_credits.other_adjustments","label":"Which of these did you pay or have this year?","member_ids":["deductions_credits.screened_inputs.student_loan_interest","deductions_credits.screened_inputs.educator_expenses","deductions_credits.screened_inputs.early_withdrawal_penalty","deductions_credits.screened_inputs.alimony_paid","deductions_credits.screened_inputs.other_adjustment","deductions_credits.screened_inputs.section_179_carryover","deductions_credits.screened_inputs.federally_declared_disaster_loss","deductions_credits.screened_inputs.retirement_savings_credit","deductions_credits.screened_inputs.credit_for_the_elderly_or_disabled","deductions_credits.screened_inputs.mortgage_interest_credit","deductions_credits.screened_inputs.general_business_credit","deductions_credits.screened_inputs.prior_year_minimum_tax_credit","deductions_credits.screened_inputs.adoption_credit","deductions_credits.screened_inputs.residential_energy_credit","deductions_credits.screened_inputs.residential_clean_energy_carryforward","deductions_credits.screened_inputs.clean_vehicle_credit","deductions_credits.screened_inputs.undistributed_capital_gain_credit","deductions_credits.screened_inputs.education_credit_recapture","deductions_credits.decline_earned_income_credit","deductions_credits.screened_inputs.household_employment_taxes"],"none_label":"None of these."},{"help":"Check each one that applies.","id":"deductions_credits.health_savings_account.situations","label":"Which of these apply to your health savings account?","member_ids":["deductions_credits.health_savings_account.employer_other_year","deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule","deductions_credits.health_savings_account.funding_distribution_from_ira","deductions_credits.health_savings_account.lost_eligibility_after_funding_distribution","deductions_credits.health_savings_account.inherited_from_non_spouse","deductions_credits.health_savings_account.deemed_distribution","deductions_credits.health_savings_account.excess_contributions"],"none_label":"None of these."},{"help":"Check each one that applies.","id":"deductions_credits.spouse_health_savings_account.situations","label":"Which of these apply to your spouse's health savings account?","member_ids":["deductions_credits.spouse_health_savings_account.employer_other_year","deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule","deductions_credits.spouse_health_savings_account.funding_distribution_from_ira","deductions_credits.spouse_health_savings_account.lost_eligibility_after_funding_distribution","deductions_credits.spouse_health_savings_account.inherited_from_non_spouse","deductions_credits.spouse_health_savings_account.deemed_distribution","deductions_credits.spouse_health_savings_account.excess_contributions"],"none_label":"None of these."},{"gate_id":"foreign_accounts.has_anything_abroad","help":"Count an account you only sign on or closed during the year, a pension fund, shares and crypto.","id":"foreign_accounts.holdings","label":"What did you hold outside the United States during the year?","member_ids":["foreign_accounts.has_foreign_accounts","foreign_accounts.has_foreign_assets","foreign_accounts.filed_excepted_forms"],"none_label":"None of these."},{"help":"Check each one that did this year. If none did, check None of these.","id":"foreign_accounts.currency_situations","label":"Did any of these happen with money you held in another currency?","member_ids":["foreign_accounts.screened_inputs.personal_currency_gain_over_200","foreign_accounts.screened_inputs.business_currency_disposed"],"none_label":"None of these."},{"help":"Check each kind of payment you made toward this year's tax. Your IRS online account (IRS.gov/Account) lists the payments the IRS received.","id":"payments_refund.paid_before_filing","label":"Which of these payments did you make toward this year's tax?","member_ids":["payments_refund.has_estimated_payments","payments_refund.has_other_prepayments"],"none_label":"None of these."}],"conditional_requirements":[{"binds":"taxpayer.ssn_or_itin","question_id":"about_you.taxpayer.ssn_or_itin","section_id":"about_you","sentence":"Add the nine-digit number from the card or IRS letter. Only a return for someone who died with no number, whose ITIN is applied for with this return, is left without one.","validator":"expatreturn_us.domain.identity.Person._check_number_or_application","when":{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]}]}},{"binds":"taxpayer.trump_account_excess_contributions","question_id":"about_you.taxpayer.trump_account_excess_contributions","section_id":"about_you","sentence":"Answer yes or no. Someone under 18 can owe an extra tax on a Trump account, so the return cannot be filed without the answer.","validator":"expatreturn_us.filing_refusals.trump_account_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":18}]}},{"binds":"taxpayer.date_of_death","question_id":"about_you.taxpayer.date_of_death","section_id":"about_you","sentence":"Add the date of death from the death certificate. You said this return is for someone who died, and it cannot be prepared without the date.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"about_you.filing_for_someone_who_died"}},{"binds":"taxpayer.claimable_as_dependent_of_another","question_id":"about_you.taxpayer.claimable_as_dependent_of_another","section_id":"about_you","sentence":"Answer yes or no. Every return says whether someone else can claim you as a dependent, because it decides a box on the first page and the size of the flat deduction.","validator":"expatreturn_us.filing_refusals.line_12a_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"taxpayer.mailing_address.in_care_of_name","question_id":"about_you.taxpayer.mailing_address.in_care_of_name","section_id":"about_you","sentence":"Add your own name as the person handling this return. The IRS requires a name on this line for a return that carries a date of death, and makes any refund payable to it.","validator":"expatreturn_us.mef.assembly.completeness_blocking_notes","when":{"op":"or","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_death"},{"op":"answered","ref":"household.spouse.date_of_death"}]}},{"binds":"citizenship_country","question_id":"about_you.citizenship_country","section_id":"about_you","sentence":"Choose the country that issued your passport. Form 2555 asks for it, and an exclusion claimed without it can be refused.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_a_form_2555_claim_names_a_citizenship","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}},{"binds":"digital_assets_received_or_disposed","question_id":"about_you.digital_assets_received_or_disposed","section_id":"about_you","sentence":"Answer the question about digital assets. Every return has to carry an answer to it, so answer no if you held none.","validator":"expatreturn_us.mef.mappers.f1040._emit_digital_assets","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"foreign_trust_activity","question_id":"about_you.foreign_trust_activity","section_id":"about_you","sentence":"Answer the question about trusts outside the United States. Your return carries a Schedule B, and that schedule cannot be filed with the question blank, so answer no if you had nothing to do with one.","validator":"expatreturn_us.forms.package._blocking_issues","when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"truthy","ref":"foreign_accounts.has_anything_abroad"},{"op":"truthy","ref":"income_sources.has_investment_income"}]}},{"binds":"foreign_trust_payments_or_income","question_id":"about_you.foreign_trust_payments_or_income","section_id":"about_you","sentence":"Answer whether the trust paid you, lent you money, or left income that is taxed to you. We do not work those out, so a return with a trust that did any of that cannot be filed from here.","validator":"expatreturn_us.engine.computations.sch_b.compute_schedule_b","when":{"op":"truthy","ref":"about_you.foreign_trust_activity"}},{"binds":"foreign_trust_only_freed_pension_plans","question_id":"about_you.foreign_trust_only_freed_pension_plans","section_id":"about_you","sentence":"Answer whether the trust is only a plan that pays you a pension from abroad. A return with a trust that is anything else cannot be filed from here.","validator":"expatreturn_us.engine.computations.sch_b.compute_schedule_b","when":{"op":"truthy","ref":"about_you.foreign_trust_payments_or_income"}},{"binds":"taxpayer.itin_application.us_entry_date","question_id":"household.taxpayer.itin_application.us_entry_date","section_id":"household","sentence":"Add the date you entered the United States, from your passport stamp. The renewal of your ITIN asks for it.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.itin_issued_under_current_name","question_id":"household.taxpayer.itin_application.itin_issued_under_current_name","section_id":"household","sentence":"Say whether your number was issued under the name on this return. The renewal gives the name it was issued under.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"taxpayer.itin_application.also_has_irsn","question_id":"household.taxpayer.itin_application.also_has_irsn","section_id":"household","sentence":"Say whether the IRS also gave you an IRS number. The renewal lists it beside your ITIN.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"taxpayer.itin_application.irsn","question_id":"household.taxpayer.itin_application.irsn","section_id":"household","sentence":"Add the nine-digit IRS number from the IRS letter. You said the IRS gave you one, and the renewal lists it beside your ITIN.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.also_has_irsn","value":true}]}]}},{"binds":"taxpayer.itin_application.irsn_first_name","question_id":"household.taxpayer.itin_application.irsn_first_name","section_id":"household","sentence":"Add the first name the IRS number was given under, from the IRS letter.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]}},{"binds":"taxpayer.itin_application.irsn_last_name","question_id":"household.taxpayer.itin_application.irsn_last_name","section_id":"household","sentence":"Add the last name the IRS number was given under, from the IRS letter.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]}},{"binds":"spouse.ssn_or_itin","question_id":"household.spouse.ssn_or_itin","section_id":"household","sentence":"Add your spouse's nine-digit number from their card or IRS letter. A joint return cannot be filed without it, and on a separate return only a spouse who is neither a United States citizen nor a United States resident can be left without one.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_joint_return_has_both_spouses","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"household.spouse_applies_for_itin","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"eq","ref":"household.spouse.is_nonresident_alien","value":false}]}]}},{"binds":"spouse.date_of_birth","question_id":"household.spouse.date_of_birth","section_id":"household","sentence":"Add your spouse's date of birth as it appears on their passport or birth certificate. A joint return cannot be filed without it, because the IRS matches it against your spouse's own record.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_joint_return_has_both_spouses","when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"spouse.trump_account_excess_contributions","question_id":"household.spouse.trump_account_excess_contributions","section_id":"household","sentence":"Answer yes or no for your spouse. Someone under 18 can owe an extra tax on a Trump account, so the return cannot be filed without the answer.","validator":"expatreturn_us.filing_refusals.trump_account_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"age_lt","ref":"household.spouse.date_of_birth","value":18}]}]}},{"binds":"spouse.date_of_death","question_id":"household.spouse.date_of_death","section_id":"household","sentence":"Add the date your spouse died, from the death certificate. You said your spouse has died, and the return cannot be prepared without the date.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"household.spouse_died_during_year"}},{"binds":"spouse.itin_application.us_entry_date","question_id":"household.spouse.itin_application.us_entry_date","section_id":"household","sentence":"Add the date they entered the United States, from their passport stamp. You said they have been there, and the ITIN application asks for the date.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"household.spouse.itin_application.entered_united_states"}},{"binds":"spouse.itin_application.itin_issued_under_current_name","question_id":"household.spouse.itin_application.itin_issued_under_current_name","section_id":"household","sentence":"Say whether the number was issued under the name on this return. The renewal gives the name it was issued under.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"spouse.itin_application.also_has_irsn","question_id":"household.spouse.itin_application.also_has_irsn","section_id":"household","sentence":"Say whether the IRS also gave them an IRS number. The renewal lists it beside the ITIN.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"spouse.itin_application.irsn","question_id":"household.spouse.itin_application.irsn","section_id":"household","sentence":"Add the nine-digit IRS number from the IRS letter. You said the IRS gave them one, and the ITIN application asks for it.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.also_has_irsn","value":true}]}]}},{"binds":"spouse.itin_application.irsn_first_name","question_id":"household.spouse.itin_application.irsn_first_name","section_id":"household","sentence":"Add the first name the IRS number was given under, from the IRS letter.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]}},{"binds":"spouse.itin_application.irsn_last_name","question_id":"household.spouse.itin_application.irsn_last_name","section_id":"household","sentence":"Add the last name the IRS number was given under, from the IRS letter.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]}},{"binds":"spouse.claimable_as_dependent_of_another","question_id":"household.spouse.claimable_as_dependent_of_another","section_id":"household","sentence":"Answer yes or no. A joint return says whether someone else can claim your spouse as a dependent, because it decides a box on the first page and the size of the flat deduction.","validator":"expatreturn_us.filing_refusals.line_12a_refusals","when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"lived_apart_from_spouse_entire_year","question_id":"household.lived_apart_from_spouse_entire_year","section_id":"household","sentence":"Answer yes or no. You receive Social Security benefits, and whether you lived apart from your spouse for the whole year decides how much of them is taxed.","validator":"expatreturn_us.engine.computations.income_refusals.social_security_lived_apart_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"income_sources.has_social_security"}]}},{"binds":"dependents[].itin_application.relationship","question_id":"household.dependents.itin_application.relationship","section_id":"household","sentence":"Write how this person is related to you, for example cousin or mother-in-law. The ITIN application asks for it.","validator":"expatreturn_us.domain.identity.Dependent._check_itin_application","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.relationship","value":"other"}]}},{"binds":"dependents[].itin_application.date_of_death","question_id":"household.dependents.itin_application.date_of_death","section_id":"household","sentence":"Add the date your dependent died, from the death certificate. The ITIN application carries it across its top.","validator":"expatreturn_us.domain.identity.Dependent._check_itin_application","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.life_event_in_year","value":"died"}]}},{"binds":"dependents[].itin_application.foreign_address","question_id":"household.dependents.itin_application.foreign_address","section_id":"household","sentence":"Add the address of their home outside the United States. The ITIN application asks for it.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.lives_abroad","value":true}]}},{"binds":"dependents[].itin_application.last_foreign_country","question_id":"household.dependents.itin_application.last_foreign_country","section_id":"household","sentence":"Choose the country where they last lived before moving to the United States. The ITIN application asks for it when there is no home abroad any more.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.lives_abroad","value":false}]}},{"binds":"dependents[].itin_application.us_entry_date","question_id":"household.dependents.itin_application.us_entry_date","section_id":"household","sentence":"Add the date they entered the United States, from their passport stamp. You said they have been there, and the ITIN application asks for the date.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"household.dependents.itin_application.entered_united_states"}},{"binds":"dependents[].itin_application.itin_issued_under_current_name","question_id":"household.dependents.itin_application.itin_issued_under_current_name","section_id":"household","sentence":"Say whether the number was issued under the name on this return. The renewal gives the name it was issued under.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}},{"binds":"dependents[].itin_application.also_has_irsn","question_id":"household.dependents.itin_application.also_has_irsn","section_id":"household","sentence":"Say whether the IRS also gave them an IRS number. The renewal lists it beside the ITIN.","validator":"expatreturn_us.filing_refusals.itin_application_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}},{"binds":"dependents[].itin_application.irsn","question_id":"household.dependents.itin_application.irsn","section_id":"household","sentence":"Add the nine-digit IRS number from the IRS letter. You said the IRS gave them one, and the ITIN application asks for it.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},{"op":"eq","ref":"household.dependents.itin_application.also_has_irsn","value":true}]}]}},{"binds":"dependents[].itin_application.irsn_first_name","question_id":"household.dependents.itin_application.irsn_first_name","section_id":"household","sentence":"Add the first name the IRS number was given under, from the IRS letter.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]}},{"binds":"dependents[].itin_application.irsn_last_name","question_id":"household.dependents.itin_application.irsn_last_name","section_id":"household","sentence":"Add the last name the IRS number was given under, from the IRS letter.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]}},{"binds":"coronavirus_related_distribution","question_id":"income_sources.coronavirus_related_distribution","section_id":"income_sources","sentence":"Say whether a 2020 coronavirus-related retirement distribution, or part of one, belongs on this return.","validator":"expatreturn_us.engine.computations.prior_year_law.prior_year_law_refusals","when":{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022}]}},{"binds":"foreign_gift_facts.any_giver_acting_for_someone_else","question_id":"income_sources.foreign_gift_facts.any_giver_acting_for_someone_else","section_id":"income_sources","sentence":"Say whether you have reason to believe a giver acted for someone else. Form 3520 asks this.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"truthy","ref":"income_sources.received_foreign_gift"}},{"binds":"foreign_gift_facts.gifts[].related_to_another_giver","question_id":"income_sources.foreign_gift_facts.gifts.related_to_another_giver","section_id":"income_sources","sentence":"Say whether this giver is related to another giver you listed. Gifts from related givers are added together for Form 3520.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"count_gt","ref":"income_sources.foreign_gift_facts.gifts","value":1}},{"binds":"foreign_gift_facts.gifts[].related_giver","question_id":"income_sources.foreign_gift_facts.gifts.related_giver","section_id":"income_sources","sentence":"Add the name of the other giver this giver is related to, as you typed it on their gift.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.foreign_gift_facts.gifts","value":1},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"}]}},{"binds":"foreign_gift_facts.gifts[].acting_for_someone_else","question_id":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else","section_id":"income_sources","sentence":"Say whether you have reason to believe this giver gave it for someone else. Form 3520 asks this.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"truthy","ref":"income_sources.foreign_gift_facts.any_giver_acting_for_someone_else"}},{"binds":"foreign_gift_facts.gifts[].real_giver_kind","question_id":"income_sources.foreign_gift_facts.gifts.real_giver_kind","section_id":"income_sources","sentence":"Say who this gift really came from. Form 3520 adds it to that giver's other gifts.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"}},{"binds":"foreign_gift_facts.gifts[].real_giver_name","question_id":"income_sources.foreign_gift_facts.gifts.real_giver_name","section_id":"income_sources","sentence":"Add the name of the giver this gift really came from.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["nonresident_alien","foreign_estate","foreign_corporation","foreign_partnership"]}]}},{"binds":"foreign_gift_facts.gifts[].real_giver_address","question_id":"income_sources.foreign_gift_facts.gifts.real_giver_address","section_id":"income_sources","sentence":"Add the address of the company this gift really came from. Form 3520 asks for it in a statement.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["foreign_corporation","foreign_partnership"]}]}},{"binds":"foreign_gift_facts.gifts[].giver_address","question_id":"income_sources.foreign_gift_facts.gifts.giver_address","section_id":"income_sources","sentence":"Add your giver's address. Form 3520 lists it.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"or","rules":[{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.giver_kind","values":["foreign_corporation","foreign_partnership"]},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"}]}},{"binds":"foreign_gift_facts.extension_requested","question_id":"income_sources.foreign_gift_facts.extension_requested","section_id":"income_sources","sentence":"Say whether you asked for more time to file this return. Your Form 3520 due date depends on it.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"truthy","ref":"income_sources.received_foreign_gift"}},{"binds":"foreign_gift_facts.spouse_abroad_condition","question_id":"income_sources.foreign_gift_facts.spouse_abroad_condition","section_id":"income_sources","sentence":"Say where your spouse is on the April due date. Your spouse's Form 3520 due date depends on it.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.received_foreign_gift"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.foreign_gift_facts.gifts","rules":[{"op":"eq","ref":"income_sources.foreign_gift_facts.gifts.owner","value":"spouse"}]}]}]}},{"binds":"foreign_gift_facts.where_filer_lives","question_id":"income_sources.foreign_gift_facts.where_filer_lives","section_id":"income_sources","sentence":"Say where you live now. Your 2019 Form 3520 names the IRS office your return is mailed to, which depends on it.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.received_foreign_gift"},{"op":"in","ref":"context.tax_year","values":[2019]},{"op":"derived","ref":"about_you.mailing_address_in_united_states"}]}},{"binds":"misclassified_pay[].determination_date","question_id":"income_sources.misclassified_pay.determination_date","section_id":"income_sources","sentence":"Add the date on the IRS letter. Form 8919 asks for it with these reasons.","validator":"expatreturn_us.domain.form_8919.MisclassifiedEmployeePay._check_date","when":{"op":"in","ref":"income_sources.misclassified_pay.reason_code","values":["A","C"]}},{"binds":"misclassified_pay[].qualifying_period_amount","question_id":"income_sources.misclassified_pay.qualifying_period_amount","section_id":"income_sources","sentence":"Add the pay for the work you did in the part of the year that counts toward the exclusion. Only that pay can count toward the exclusion of pay earned abroad, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"misclassified_pay[].presence_period_amount","question_id":"income_sources.misclassified_pay.presence_period_amount","section_id":"income_sources","sentence":"Add the pay for the work you did in the part of the year the day-count test covers. Each way of qualifying is worked out with the pay for its own part, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"wages[].employer_address","question_id":"income_sources.wages.employer_address","section_id":"income_sources","sentence":"Add your employer's address from box c of your Form W-2, or from your contract or payslip. The IRS form for this pay cannot be filed without it.","validator":"expatreturn_us.mef.mappers.fec._build_wage_record","when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}]}},{"binds":"wages[].earned_in_country","question_id":"income_sources.wages.earned_in_country","section_id":"income_sources","sentence":"Choose the country you did this work in. You are leaving pay earned abroad out of your income, and whether this pay can be left out depends on where you did the work.","validator":"expatreturn_us.engine.computations.f2555.wage_refusals","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}},{"binds":"wages[].employer_is_us_government","question_id":"income_sources.wages.employer_is_us_government","section_id":"income_sources","sentence":"Answer whether a United States government agency employed you for this job. You are leaving pay earned abroad out of your income, and government pay cannot be left out.","validator":"expatreturn_us.engine.computations.f2555.wage_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}]}},{"binds":"wages[].prior_year_work_amount","question_id":"income_sources.wages.prior_year_work_amount","section_id":"income_sources","sentence":"Enter the part of this pay that was for your qualifying work abroad the year before. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]}},{"binds":"wages[].other_year_work_amount","question_id":"income_sources.wages.other_year_work_amount","section_id":"income_sources","sentence":"Enter the part of this pay that was for your other work not done this year. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]}},{"binds":"wages[].other_year_us_work_amount","question_id":"income_sources.wages.other_year_us_work_amount","section_id":"income_sources","sentence":"Enter the part of that other work's pay that was for work in the United States or at sea. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_us_work_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]},{"op":"gt","ref":"income_sources.wages.other_year_work_amount","value":0}]}},{"binds":"wages[].foreign_portion_percent","question_id":"income_sources.wages.foreign_portion_percent","section_id":"income_sources","sentence":"Add the percentage of this pay earned while you lived abroad. You said part of it was earned while you lived in the United States, and only the part earned abroad can be left out of your income.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.wages.part_earned_living_in_us"}},{"binds":"wages[].qualifying_period_amount","question_id":"income_sources.wages.qualifying_period_amount","section_id":"income_sources","sentence":"Add the pay for the work you did in the part of the year that counts toward the exclusion. Only that pay can count toward the exclusion of pay earned abroad, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"wages[].presence_period_amount","question_id":"income_sources.wages.presence_period_amount","section_id":"income_sources","sentence":"Add the pay for the work you did in the part of the year the day-count test covers. Each way of qualifying is worked out with the pay for its own part, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"wages[].worked_days_outside_foreign_countries","question_id":"income_sources.wages.worked_days_outside_foreign_countries","section_id":"income_sources","sentence":"Answer whether any workday of this job was in the United States or at sea. Pay for those days is United States income, so it is left out of the foreign income your credit for foreign tax is worked out on.","validator":"expatreturn_us.engine.computations.f2555.ftc_workday_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"wages[].workdays_outside_foreign_countries","question_id":"income_sources.wages.workdays_outside_foreign_countries","section_id":"income_sources","sentence":"Add how many of your workdays for this job were in the United States or at sea. You said some were, or your travel shows days there, and pay for work done there is United States income.","validator":"expatreturn_us.engine.computations.f2555.workday_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"wages[].workdays_total","question_id":"income_sources.wages.workdays_total","section_id":"income_sources","sentence":"Add how many days you worked for this job in all while living abroad. The pay for the days in the United States or at sea is worked out as their share of those days.","validator":"expatreturn_us.engine.computations.f2555.workday_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"wages[].employer_provided[].description","question_id":"income_sources.wages.employer_provided.description","section_id":"income_sources","sentence":"Add a few words saying what kind of benefit or allowance this was. The form lists the type beside the amount.","validator":"expatreturn_us.domain.income.EmployerProvidedAmount._check_kind_facts","when":{"op":"in","ref":"income_sources.wages.employer_provided.kind","values":["other_property","other_purpose"]}},{"binds":"wages[].employee_number_on_w2","question_id":"income_sources.wages.employee_number_on_w2","section_id":"income_sources","sentence":"Type the number printed in box a of your Form W-2, as your employer printed it. The IRS form for this pay cannot be filed electronically without it.","validator":"expatreturn_us.engine.computations.itin.itin_w2_number_unanswered","when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"in","ref":"context.tax_year","values":[2025]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"derived","ref":"about_you.taxpayer.number_is_itin"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"derived","ref":"household.spouse.number_is_itin"}]}]}]}},{"binds":"wages[].employer_ein","question_id":"income_sources.wages.employer_ein","section_id":"income_sources","sentence":"Add your employer's nine-digit number from box b of your Form W-2. The IRS form for this pay cannot be filed without it.","validator":"expatreturn_us.filing_refusals.identifier_refusals","when":{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}},{"binds":"wages[].allocated_tips","question_id":"income_sources.wages.allocated_tips","section_id":"income_sources","sentence":"Add the amount box 8 of your Form W-2 shows. Allocated tips are income, so the return cannot be finished without it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_allocated_tips"}]}},{"binds":"self_employment[].inventory.other_method_description","question_id":"income_sources.self_employment.inventory.other_method_description","section_id":"income_sources","sentence":"Add a short explanation of how you value your stock. Schedule C line 33 asks for it when the stock is valued another way.","validator":"expatreturn_us.domain.income.InventoryDetail._check_inventory","when":{"op":"eq","ref":"income_sources.self_employment.inventory.method","value":"other"}},{"binds":"self_employment[].vehicles[].business_miles_january_to_june","question_id":"income_sources.self_employment.vehicles.business_miles_january_to_june","section_id":"income_sources","sentence":"Enter the business miles you drove this vehicle from January 1 to June 30, or zero if none. For this tax year the rate per mile is not the same before and after July 1.","validator":"expatreturn_us.engine.computations.sch_c.vehicle_miles_by_period_refusals","when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2022,2026]},{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}]}},{"binds":"self_employment[].vehicles[].business_miles_july_to_december","question_id":"income_sources.self_employment.vehicles.business_miles_july_to_december","section_id":"income_sources","sentence":"Enter the business miles you drove this vehicle from July 1 to December 31, or zero if none. For this tax year the rate per mile is not the same before and after July 1.","validator":"expatreturn_us.engine.computations.sch_c.vehicle_miles_by_period_refusals","when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2022,2026]},{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}]}},{"binds":"self_employment[].vehicles[].evidence_written","question_id":"income_sources.self_employment.vehicles.evidence_written","section_id":"income_sources","sentence":"Answer whether your evidence is written down. Schedule C line 47b asks it once you have evidence.","validator":"expatreturn_us.domain.income.BusinessVehicle._check_vehicle","when":{"op":"truthy","ref":"income_sources.self_employment.vehicles.has_evidence"}},{"binds":"self_employment[].vehicle_loan_interest","question_id":"income_sources.self_employment.vehicle_loan_interest","section_id":"income_sources","sentence":"Enter how much of this other interest is on a loan for a vehicle you use in it, or zero if none of it is. For this tax year that part goes on a line of its own.","validator":"expatreturn_us.mef.vehicle_loan_interest.placement_problems","when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.self_employment.other_expenses","rules":[{"op":"eq","ref":"income_sources.self_employment.other_expenses.schedule_c_line","value":"other_interest"}]}]}},{"binds":"self_employment[].reasonable_compensation_for_personal_services","question_id":"income_sources.self_employment.reasonable_compensation_for_personal_services","section_id":"income_sources","sentence":"Add a reasonable amount of pay for the work you did yourself in this business. You said it earns from money invested in it as well as from your own work, and only that pay can count toward the exclusion of pay earned abroad.","validator":"expatreturn_us.engine.computations.f2555.business_capital_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"self_employment[].qualifying_period_amount","question_id":"income_sources.self_employment.qualifying_period_amount","section_id":"income_sources","sentence":"Add this business's income for the work you did in the part of the year that counts toward the exclusion. Only that income can count toward the exclusion of pay earned abroad, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"self_employment[].presence_period_amount","question_id":"income_sources.self_employment.presence_period_amount","section_id":"income_sources","sentence":"Add this business's income for the work you did in the part of the year the day-count test covers. Each way of qualifying is worked out with the income for its own part, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"self_employment[].prior_year_work_amount","question_id":"income_sources.self_employment.prior_year_work_amount","section_id":"income_sources","sentence":"Enter the part of this income that was for your qualifying work abroad the year before. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]}},{"binds":"self_employment[].other_year_work_amount","question_id":"income_sources.self_employment.other_year_work_amount","section_id":"income_sources","sentence":"Enter the part of this income that was for your other work not done this year. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]}},{"binds":"self_employment[].other_year_us_work_amount","question_id":"income_sources.self_employment.other_year_us_work_amount","section_id":"income_sources","sentence":"Enter the part of that other work's income that was for work in the United States or at sea. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_us_work_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]},{"op":"gt","ref":"income_sources.self_employment.other_year_work_amount","value":0}]}},{"binds":"self_employment[].worked_days_outside_foreign_countries","question_id":"income_sources.self_employment.worked_days_outside_foreign_countries","section_id":"income_sources","sentence":"Answer whether any workday in this business was in the United States or at sea. Income for those days is United States income, so it is left out of the foreign income your credit for foreign tax is worked out on.","validator":"expatreturn_us.engine.computations.f2555.ftc_workday_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"self_employment[].workdays_outside_foreign_countries","question_id":"income_sources.self_employment.workdays_outside_foreign_countries","section_id":"income_sources","sentence":"Add how many of your workdays in this business were in the United States or at sea. You said some were, or your travel shows days there, and income for work done there is United States income.","validator":"expatreturn_us.engine.computations.f2555.workday_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"self_employment[].workdays_total","question_id":"income_sources.self_employment.workdays_total","section_id":"income_sources","sentence":"Add how many days you worked in this business in all while living abroad. The income for the days in the United States or at sea is worked out as their share of those days.","validator":"expatreturn_us.engine.computations.f2555.workday_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"businesses[].business_address","question_id":"income_sources.businesses.business_address","section_id":"income_sources","sentence":"Add the business's address. Schedule C line E shows it when the business is not run from your home address.","validator":"expatreturn_us.domain.business.SoleProprietorship._check_header","when":{"op":"eq","ref":"income_sources.businesses.conducted_from_home_address","value":false}},{"binds":"businesses[].accounting_method_other_description","question_id":"income_sources.businesses.accounting_method_other_description","section_id":"income_sources","sentence":"Add a few words on how you keep your books. Schedule C line F asks for them when the books are kept another way.","validator":"expatreturn_us.domain.business.SoleProprietorship._check_header","when":{"op":"eq","ref":"income_sources.businesses.accounting_method","value":"other"}},{"binds":"businesses[].form_1099_filed","question_id":"income_sources.businesses.form_1099_filed","section_id":"income_sources","sentence":"Answer whether you filed every Form 1099 you had to. Schedule C line J asks it once the business had to file them.","validator":"expatreturn_us.domain.business.SoleProprietorship._check_header","when":{"op":"truthy","ref":"income_sources.businesses.form_1099_required"}},{"binds":"businesses[].owner_share_percent","question_id":"income_sources.businesses.owner_share_percent","section_id":"income_sources","sentence":"Add your share of this business, in percent. You and your spouse each report your own part of it.","validator":"expatreturn_us.engine.computations.business_situations.joint_venture_refusals","when":{"op":"eq","ref":"income_sources.businesses.joint_venture_election","value":"joint_venture"}},{"binds":"businesses[].notary_fees_whole_profit","question_id":"income_sources.businesses.notary_fees_whole_profit","section_id":"income_sources","sentence":"Say whether all of this business's profit is from notary fees. That part is left out of self-employment tax.","validator":"expatreturn_us.engine.computations.business_situations.notary_net_profits","when":{"op":"truthy","ref":"income_sources.businesses.notary_fees"}},{"binds":"businesses[].notary_net_profit","question_id":"income_sources.businesses.notary_net_profit","section_id":"income_sources","sentence":"Add how much of this business's profit is from notary fees. That part is left out of self-employment tax.","validator":"expatreturn_us.engine.computations.business_situations.notary_net_profits","when":{"op":"eq","ref":"income_sources.businesses.notary_fees_whole_profit","value":false}},{"binds":"businesses[].terminated_on","question_id":"income_sources.businesses.terminated_on","section_id":"income_sources","sentence":"Add the day you closed the business, from your closing paperwork. You said you closed it, and the return needs the date.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.businesses.has_closed"}},{"binds":"businesses[].home_office.other_fixed_business_location","question_id":"income_sources.businesses.home_office.other_fixed_business_location","section_id":"income_sources","sentence":"Answer whether this business also earns money at a fixed place other than your home. The limit on what the home office can deduct depends on it.","validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","when":{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}},{"binds":"businesses[].home_office.other_home_used_for_business","question_id":"income_sources.businesses.home_office.other_home_used_for_business","section_id":"income_sources","sentence":"Answer whether you also used a different home for this business during the year. Each home is worked out on its own.","validator":"expatreturn_us.engine.computations.f8829.home_office_refusals","when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":true},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},{"binds":"businesses[].home_office.total_hours_available","question_id":"income_sources.businesses.home_office.total_hours_available","section_id":"income_sources","sentence":"Add the hours your space was open for the daycare during the year. You said you run a daycare from it, and the share of your home costs is worked out from those hours.","validator":"expatreturn_us.engine.computations.income_refusals.daycare_hours_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"ne","ref":"income_sources.businesses.home_office.daycare_exclusive","value":true}]}},{"binds":"businesses[].home_office.total_hours_business_used","question_id":"income_sources.businesses.home_office.total_hours_business_used","section_id":"income_sources","sentence":"Add the hours you used the space for the daycare. The share of your home you can claim is worked out from these hours and the hours the space was available.","validator":"expatreturn_us.engine.computations.income_refusals.daycare_hours_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"ne","ref":"income_sources.businesses.home_office.daycare_exclusive","value":true}]}},{"binds":"businesses[].home_office.home_owned","question_id":"income_sources.businesses.home_office.home_owned","section_id":"income_sources","sentence":"Answer whether you own the home or rent it. An owner and a tenant deduct different costs, so the home office cannot be worked out without it.","validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","when":{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}},{"binds":"businesses[].home_office.used_for_business_all_year","question_id":"income_sources.businesses.home_office.used_for_business_all_year","section_id":"income_sources","sentence":"Answer whether you used the space for this business on every day of the year. Only the part of the year you used it counts.","validator":"expatreturn_us.engine.computations.f8829.home_office_refusals","when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":true},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},{"binds":"businesses[].home_office.filed_form_8829_before","question_id":"income_sources.businesses.home_office.filed_form_8829_before","section_id":"income_sources","sentence":"Answer whether you have claimed this home office on a Form 8829 before. Costs you could not deduct then can carry forward to this year.","validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","when":{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}},{"binds":"businesses[].home_office.carryover_operating_expenses","question_id":"income_sources.businesses.home_office.carryover_operating_expenses","section_id":"income_sources","sentence":"Add the running costs your last Form 8829 carried forward, from its line 43, or enter zero if there were none. You have claimed this home office that way before, so this year's form starts from that figure.","validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","when":{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"}},{"binds":"businesses[].home_office.carryover_excess_casualty_depreciation","question_id":"income_sources.businesses.home_office.carryover_excess_casualty_depreciation","section_id":"income_sources","sentence":"Add the damage losses and write-off of the home your last Form 8829 carried forward, from its line 44, or enter zero if there were none. You have claimed this home office that way before, so this year's form starts from that figure.","validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","when":{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"}},{"binds":"businesses[].home_office.casualty_losses","question_id":"income_sources.businesses.home_office.casualty_losses","section_id":"income_sources","sentence":"Add how much of the loss your insurance did not pay for. You said your home was damaged or something was stolen from it, so the amount is needed.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.businesses.home_office.has_casualty_loss"}},{"binds":"businesses[].home_office.expenses[].label","question_id":"income_sources.businesses.home_office.expenses.label","section_id":"income_sources","sentence":"Add a few words saying what this cost was. A cost that is none of the kinds listed has to say what it was for.","validator":"expatreturn_us.domain.business.HomeExpense._check_row","when":{"op":"eq","ref":"income_sources.businesses.home_office.expenses.category","value":"other"}},{"binds":"businesses[].home_office.improvements_after_business_use","question_id":"income_sources.businesses.home_office.improvements_after_business_use","section_id":"income_sources","sentence":"Answer whether you have added to or improved your home since you began using it for the business. Improvements made since then are written off on their own.","validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_owned","when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}},{"binds":"businesses[].home_office.home_asset.land_value","question_id":"income_sources.businesses.home_office.home_asset.land_value","section_id":"income_sources","sentence":"Add how much of what you paid was for the land your home stands on. Land is never written off, so the home's own cost cannot be worked out without it. Enter zero only if the cost includes no land.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_land_value","when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}},{"binds":"businesses[].home_office.home_asset.fair_market_value_at_conversion","question_id":"income_sources.businesses.home_office.home_asset.fair_market_value_at_conversion","section_id":"income_sources","sentence":"Add what your home was worth, without the land, on the day you first used part of it for the business. The home is written off from the lower of that value and its cost.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}},{"binds":"businesses[].home_office.home_asset.prior_depreciation_allowed_or_allowable","question_id":"income_sources.businesses.home_office.home_asset.prior_depreciation_allowed_or_allowable","section_id":"income_sources","sentence":"Add how much of your home could have been written off for the business in the years before this one, whether or not you claimed it. You began using it before this year, so what is left to write off now depends on that figure.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":1}]}]}},{"binds":"businesses[].home_office.home_asset.disposal_proceeds","question_id":"income_sources.businesses.home_office.home_asset.disposal_proceeds","section_id":"income_sources","sentence":"Add what you received for the home, or zero if you stopped using the space for the business without selling it. The year cannot be worked out without it.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_asset.disposed_on"}},{"binds":"businesses[].depreciable_assets[].land_value","question_id":"income_sources.businesses.depreciable_assets.land_value","section_id":"income_sources","sentence":"Add how much of the cost was for the land the building stands on. Land is never written off, so what the building alone cost cannot be worked out without it. Enter zero only if the cost includes no land.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_land_value","when":{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}},{"binds":"businesses[].depreciable_assets[].fair_market_value_at_conversion","question_id":"income_sources.businesses.depreciable_assets.fair_market_value_at_conversion","section_id":"income_sources","sentence":"Add what this item was worth, without any land, on the day you started using it for the rental or the business. You used it privately first, so the lower of that value and its cost is what gets written off.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use"}},{"binds":"businesses[].depreciable_assets[].bonus_elected","question_id":"income_sources.businesses.depreciable_assets.bonus_elected","section_id":"income_sources","sentence":"Answer yes or no about the extra first-year allowance. You started using this item this year, and taking the allowance and turning it down are treated differently, so the return cannot be worked out while it is unanswered.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}},{"binds":"businesses[].depreciable_assets[].prior_special_allowance","question_id":"income_sources.businesses.depreciable_assets.prior_special_allowance","section_id":"income_sources","sentence":"Answer whether this item took the extra first-year allowance in the year you started using it. What is left to write off now depends on it.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]}},{"binds":"businesses[].depreciable_assets[].acquired_on","question_id":"income_sources.businesses.depreciable_assets.acquired_on","section_id":"income_sources","sentence":"Add the day you bought this item. The first-year allowance and the report of a sale both depend on that date, so neither can be worked out without it.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_elected"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","values":["took","neither"]}]}]}},{"binds":"businesses[].depreciable_assets[].prior_depreciation_allowed_or_allowable","question_id":"income_sources.businesses.depreciable_assets.prior_depreciation_allowed_or_allowable","section_id":"income_sources","sentence":"Add how much of this item's cost could be written off in the years before this one, whether or not you claimed it, or say that this is the first return to claim any. You started using it before this year, so what is left to write off now depends on that figure.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.prior_depreciation_never_claimed","value":true}]}},{"binds":"businesses[].depreciable_assets[].disposal_proceeds","question_id":"income_sources.businesses.depreciable_assets.disposal_proceeds","section_id":"income_sources","sentence":"Add what you received for this item, or zero if you stopped using it without selling it. An item you sold or stopped using during the year cannot be filed without it.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposal_expenses","question_id":"income_sources.businesses.depreciable_assets.disposal_expenses","section_id":"income_sources","sentence":"Add what the sale cost you, such as the agent's commission and the legal fees, or zero if there were none. The gain or loss on the sale cannot be worked out without it.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposal_land_proceeds","question_id":"income_sources.businesses.depreciable_assets.disposal_land_proceeds","section_id":"income_sources","sentence":"Add how much of the price was for the land. The building and its land are reported as two sales, so the sale cannot be reported without it.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"gt","ref":"income_sources.businesses.depreciable_assets.land_value","value":0}]}},{"binds":"businesses[].depreciable_assets[].form_1099s_gross_proceeds","question_id":"income_sources.businesses.depreciable_assets.form_1099s_gross_proceeds","section_id":"income_sources","sentence":"Add the gross proceeds the Form 1099-S for the sale showed in box 2, or zero if none came. The form for selling business property reports that figure.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}},{"binds":"businesses[].depreciable_assets[].disposal_to_related_party","question_id":"income_sources.businesses.depreciable_assets.disposal_to_related_party","section_id":"income_sources","sentence":"Answer whether the buyer was related to you. A sale to a relative is taxed under different rules, so the sale cannot be reported while it is unanswered.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposal_fully_taxable","question_id":"income_sources.businesses.depreciable_assets.disposal_fully_taxable","section_id":"income_sources","sentence":"Answer whether all of the gain or loss on the sale is taxed this year. A sale paid over more than one year is reported differently.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposed_part_only","question_id":"income_sources.businesses.depreciable_assets.disposed_part_only","section_id":"income_sources","sentence":"Answer whether you sold or gave up only part of it. A sale of part of an item is worked out differently.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].acquired_by","question_id":"income_sources.businesses.depreciable_assets.acquired_by","section_id":"income_sources","sentence":"Answer how you got this item. Something inherited, or given to you, is reported differently on the sale form from something you bought.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"investment_income[].foreign_fund","question_id":"income_sources.investment_income.foreign_fund","section_id":"income_sources","sentence":"Answer whether a fund or ETF set up outside the United States paid you this. Shares in one are taxed under rules of their own, worked out on Form 8621 from the fund's own row, so we ask before we go on.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"in","ref":"income_sources.investment_income.kind","values":["qualified_dividend","capital_gain_distribution"]}]}},{"binds":"investment_income[].us_broker_reported_box_1b","question_id":"income_sources.investment_income.us_broker_reported_box_1b","section_id":"income_sources","sentence":"Answer whether a United States form showed this dividend to you as qualified. It decides whether the lower tax rate applies to a dividend from a company abroad.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"}]}},{"binds":"investment_income[].qualified_foreign_company","question_id":"income_sources.investment_income.qualified_foreign_company","section_id":"income_sources","sentence":"Answer whether your payer meets one of the three tests for a qualified company. Without a test met, a dividend from a company abroad is taxed as an ordinary dividend.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"}]},{"op":"eq","ref":"income_sources.investment_income.foreign_fund","value":false},{"op":"eq","ref":"income_sources.investment_income.us_broker_reported_box_1b","value":false}]}},{"binds":"investment_income[].return_of_capital_statement","question_id":"income_sources.investment_income.return_of_capital_statement","section_id":"income_sources","sentence":"Answer whether the payer sent a statement saying this is a return of your capital. Without one, a payment from outside the United States is an ordinary dividend.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"nondividend_distribution"}]}},{"binds":"investment_income[].payments_exceed_cost","question_id":"income_sources.investment_income.payments_exceed_cost","section_id":"income_sources","sentence":"Answer whether these payments have added up to more than the shares cost you. The part above your cost is a gain, which is reported differently.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.investment_income.kind","value":"nondividend_distribution"},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.return_of_capital_statement","value":false}]}]}]}},{"binds":"capital_transactions[].home_sale.vacant_land_home_exclusion","question_id":"income_sources.capital_transactions.home_sale.vacant_land_home_exclusion","section_id":"income_sources","sentence":"Enter the gain you left out on the sale of the home itself, or 0 if none was left out. The land and the home share one limit.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.vacant_land_home_loss","question_id":"income_sources.capital_transactions.home_sale.vacant_land_home_loss","section_id":"income_sources","sentence":"Enter the loss on the sale of the home itself, or 0 if it sold at a gain or broke even. A loss on the home reduces the land gain that can be left out.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.earlier_home_days","question_id":"income_sources.capital_transactions.home_sale.earlier_home_days","section_id":"income_sources","sentence":"Enter how many days you owned and lived in the earlier home. They are added to the time you owned this home.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.sold_for_work_health_or_unforeseen","question_id":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen","section_id":"income_sources","sentence":"Answer whether the main reason for the sale was a new place of work, a health issue or an event you could not foresee. Part of the gain can still be left out if it was.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true}]}]}]}]}]}},{"binds":"capital_transactions[].home_sale.days_lived_in_five_years","question_id":"income_sources.capital_transactions.home_sale.days_lived_in_five_years","section_id":"income_sources","sentence":"Add how many days you lived in the home in the 5 years before the sale. The part of the gain that can be left out is worked out from it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.days_since_last_exclusion","question_id":"income_sources.capital_transactions.home_sale.days_since_last_exclusion","section_id":"income_sources","sentence":"Add how many days passed since you sold the other home whose gain you left out. The part of the gain that can be left out is worked out from it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.spouse_days_lived_in_five_years","question_id":"income_sources.capital_transactions.home_sale.spouse_days_lived_in_five_years","section_id":"income_sources","sentence":"Add how many days your spouse lived in the home in the 5 years before the sale. The part of the gain that can be left out is worked out from it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.spouse_days_owned","question_id":"income_sources.capital_transactions.home_sale.spouse_days_owned","section_id":"income_sources","sentence":"Add how many days your spouse owned the home before the sale. The part of the gain that can be left out is worked out from it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.spouse_days_since_last_exclusion","question_id":"income_sources.capital_transactions.home_sale.spouse_days_since_last_exclusion","section_id":"income_sources","sentence":"Add how many days passed since your spouse sold the other home whose gain they left out. The part of the gain that can be left out is worked out from it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.business_use_began_on","question_id":"income_sources.capital_transactions.home_sale.business_use_began_on","section_id":"income_sources","sentence":"Add the day the business or rental use began. It decides which part of the form for selling business property the sale goes on.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.business_part_percent","question_id":"income_sources.capital_transactions.home_sale.business_part_percent","section_id":"income_sources","sentence":"Add the percentage of the property the business or rental part was. The sale price and the selling costs are shared between the two parts by it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.business_part_adjusted_basis","question_id":"income_sources.capital_transactions.home_sale.business_part_adjusted_basis","section_id":"income_sources","sentence":"Add the adjusted basis of the business or rental part alone. The gain on that part is worked out from it.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.business_part_land_price","question_id":"income_sources.capital_transactions.home_sale.business_part_land_price","section_id":"income_sources","sentence":"Add how much of the sale price was for the land, or zero if there was no land. The land is reported on its own line apart from the building.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.business_part_land_basis","question_id":"income_sources.capital_transactions.home_sale.business_part_land_basis","section_id":"income_sources","sentence":"Add how much of your basis is the land's, or zero if there was no land. The land is reported on its own line apart from the building.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.depreciation_after_may_6_1997","question_id":"income_sources.capital_transactions.home_sale.depreciation_after_may_6_1997","section_id":"income_sources","sentence":"Add the depreciation you took or could have taken for the business or rental use of the home, or zero if there was none. That part of the gain cannot be left out.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].home_sale.nonqualified_use_days","question_id":"income_sources.capital_transactions.home_sale.nonqualified_use_days","section_id":"income_sources","sentence":"Add how many days after 2008 neither you nor your spouse used the whole home as your main home. The gain for that time cannot be left out.","validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"capital_transactions[].unrecaptured_section_1250_gain","question_id":"income_sources.capital_transactions.unrecaptured_section_1250_gain","section_id":"income_sources","sentence":"Enter the depreciation part of the gain on this home, or 0 only if neither home was ever used for business or rental, so no depreciation was allowable. None of its gain can be left out, so this part is taxed at its own rate.","validator":"expatreturn_us.engine.computations.sch_d.reported_capital_transactions","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":true}]}},{"binds":"capital_transactions[].foreign_fund","question_id":"income_sources.capital_transactions.foreign_fund","section_id":"income_sources","sentence":"Answer whether what you sold was a fund or ETF set up outside the United States. A gain on one is taxed under rules of its own, worked out on Form 8621 from the fund's own row.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"}]}},{"binds":"retirement_distributions[].payer_ein","question_id":"income_sources.retirement_distributions.payer_ein","section_id":"income_sources","sentence":"Add the payer's nine-digit number from your Form 1099-R. The IRS form for this withdrawal cannot be filed without it.","validator":"expatreturn_us.filing_refusals.identifier_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"retirement_distributions[].simplified_method.beneficiary_age_at_annuity_start","question_id":"income_sources.retirement_distributions.simplified_method.beneficiary_age_at_annuity_start","section_id":"income_sources","sentence":"Add the other person's age on the day your payments started. For a pension paid for two lives the worksheet uses your two ages together.","validator":"expatreturn_us.domain.income.SimplifiedMethodFacts._kind_needs_its_figure","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].simplified_method.fixed_period_payments","question_id":"income_sources.retirement_distributions.simplified_method.fixed_period_payments","section_id":"income_sources","sentence":"Add the number of monthly payments your contract provides for. For a fixed period the worksheet divides what you paid in by that number.","validator":"expatreturn_us.domain.income.SimplifiedMethodFacts._kind_needs_its_figure","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"fixed_period"}]}},{"binds":"retirement_distributions[].general_rule.months_to_first_payment","question_id":"income_sources.retirement_distributions.general_rule.months_to_first_payment","section_id":"income_sources","sentence":"Add the whole months from your starting date to your first payment. Payments that are not monthly change the IRS table figure by that number.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]}},{"binds":"retirement_distributions[].general_rule.annuitant_age","question_id":"income_sources.retirement_distributions.general_rule.annuitant_age","section_id":"income_sources","sentence":"Add the age at the birthday nearest your starting date. A pension for life uses the IRS table figure for that age.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"retirement_distributions[].general_rule.survivor_age","question_id":"income_sources.retirement_distributions.general_rule.survivor_age","section_id":"income_sources","sentence":"Add the other person's age at the birthday nearest your starting date. Payments for two lives use the IRS table for both ages.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.survivor_payment","question_id":"income_sources.retirement_distributions.general_rule.survivor_payment","section_id":"income_sources","sentence":"Add what your contract pays the other person after the first person dies. It is part of what the contract is expected to pay in all.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.paid_to_survivor","question_id":"income_sources.retirement_distributions.general_rule.paid_to_survivor","section_id":"income_sources","sentence":"Say whether your payments this year went to you as the survivor. The tax-free part is worked out from the payment the contract set for whoever was paid.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.fractional_first_payment","question_id":"income_sources.retirement_distributions.general_rule.fractional_first_payment","section_id":"income_sources","sentence":"Add any first payment for part of a period, or 0. In the first year that payment has a tax-free part too.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":1}]}},{"binds":"retirement_distributions[].general_rule.refund_feature","question_id":"income_sources.retirement_distributions.general_rule.refund_feature","section_id":"income_sources","sentence":"Say whether your contract pays someone else if a set amount is not paid. A refund feature can change what you paid for the contract.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"retirement_distributions[].general_rule.refund_guaranteed_amount","question_id":"income_sources.retirement_distributions.general_rule.refund_guaranteed_amount","section_id":"income_sources","sentence":"Add the least your contract guarantees to pay in all. It decides whether the refund feature changes what you paid for the contract.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.general_rule.refund_feature"}]}},{"binds":"retirement_distributions[].general_rule.stops_at_set_date","question_id":"income_sources.retirement_distributions.general_rule.stops_at_set_date","section_id":"income_sources","sentence":"Say whether your payments stop at a set date even if you are alive. Such payments use a different IRS table.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"single_life"}]}},{"binds":"retirement_distributions[].general_rule.stops_at_first_death","question_id":"income_sources.retirement_distributions.general_rule.stops_at_first_death","section_id":"income_sources","sentence":"Say whether your payments stop when the first of you dies. Such payments use a different IRS table.","validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].taxable_amount_figured_by_filer","question_id":"income_sources.retirement_distributions.taxable_amount_figured_by_filer","section_id":"income_sources","sentence":"Add the taxable amount you worked out. Without it the payment cannot be filed, because the payer did not work out the taxable part.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"not","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.figured_taxable_yourself"}]}},{"binds":"retirement_distributions[].exception_code","question_id":"income_sources.retirement_distributions.exception_code","section_id":"income_sources","sentence":"Choose the exception that applies to this payment. Without it the extra tax for taking money out early is charged on the whole taxable part.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]}},{"binds":"retirement_distributions[].exception_amount","question_id":"income_sources.retirement_distributions.exception_amount","section_id":"income_sources","sentence":"Add how much of the taxable part the exception covers. Without it the extra tax for taking money out early is charged on the whole taxable part.","validator":"expatreturn_us.domain.income.RetirementDistribution._check_box7_and_exception","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"},{"op":"ne","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]}},{"binds":"retirement_distributions[].exception_account_value","question_id":"income_sources.retirement_distributions.exception_account_value","section_id":"income_sources","sentence":"Add what the account was worth just before this payment. The exception you chose covers no more than a share of it, so without it the return cannot be finished.","validator":"expatreturn_us.engine.computations.f5329.capped_exception_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"in","ref":"income_sources.retirement_distributions.exception_code","values":["22","23"]}]}},{"binds":"retirement_distributions[].rolled_over_amount","question_id":"income_sources.retirement_distributions.rolled_over_amount","section_id":"income_sources","sentence":"Add how much of this payment you rolled over. The part rolled over is not taxed this year.","validator":"expatreturn_us.engine.computations.income_refusals.retirement_row_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.is_rollover"},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H"]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"gt","ref":"income_sources.retirement_distributions.taxable_amount","value":0}]}]}},{"binds":"retirement_distributions[].qcd_amount","question_id":"income_sources.retirement_distributions.qcd_amount","section_id":"income_sources","sentence":"Add how much the trustee sent straight to the charity, which their letter or your account statement shows. If none of it went to a charity, answer no to the question before.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"}},{"binds":"retirement_distributions[].distribution_date","question_id":"income_sources.retirement_distributions.distribution_date","section_id":"income_sources","sentence":"Add the day your trustee paid the money to the charity, which their letter or your account statement shows. The gift is left out of income only if the account owner was at least 70 and a half on that day, so without the date nothing can be left out of your income for the gift.","validator":"expatreturn_us.engine.compute.compute_qcd","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"and","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":72},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":70}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"and","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":72},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":70}]}]}]}]}]},{"op":"gt","ref":"income_sources.retirement_distributions.qcd_amount","value":0}]}},{"binds":"pensions_and_annuities[].taxable_amount","question_id":"income_sources.pensions_and_annuities.taxable_amount","section_id":"income_sources","sentence":"Add the taxable part of this pension from your pension statement. If the statement does not show it, it has to be worked out from what you paid in yourself before the return can be filed.","validator":"expatreturn_us.engine.computations.income_refusals.pension_taxable_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"pensions_and_annuities[].annuity.annuity_starting_date","question_id":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","section_id":"income_sources","sentence":"Add the day your payments started. The tax-free part of each payment is worked out from that day.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"pensions_and_annuities[].annuity.annuity_kind","question_id":"income_sources.pensions_and_annuities.annuity.annuity_kind","section_id":"income_sources","sentence":"Choose for how long your payments are made. It decides which IRS table works out the tax-free part.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"pensions_and_annuities[].annuity.fixed_period_payments","question_id":"income_sources.pensions_and_annuities.annuity.fixed_period_payments","section_id":"income_sources","sentence":"Add the number of monthly payments in the fixed period. The tax-free part is what went in spread over them.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"fixed_period"}]}},{"binds":"pensions_and_annuities[].annuity.cost","question_id":"income_sources.pensions_and_annuities.annuity.cost","section_id":"income_sources","sentence":"Add how much taxed money had gone in when your payments started, in US dollars. The tax-free part comes from it.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"pensions_and_annuities[].annuity.recovered_tax_free_before","question_id":"income_sources.pensions_and_annuities.annuity.recovered_tax_free_before","section_id":"income_sources","sentence":"Add what you already got back tax free in earlier years, or 0. No more than what went in comes back tax free.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","value":1}]}]}},{"binds":"pensions_and_annuities[].annuity.other_annuitants_paid_now","question_id":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","section_id":"income_sources","sentence":"Say whether anyone else is paid from the same contract at the same time. That case is worked out in a way we do not do.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.months_to_first_payment","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.months_to_first_payment","section_id":"income_sources","sentence":"Add the whole months from your starting date to your first payment. Payments that are not monthly change the IRS table figure by that number.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.annuitant_age","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.annuitant_age","section_id":"income_sources","sentence":"Add the age at the birthday nearest your starting date. A pension for life uses the IRS table figure for that age.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"single_life"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.general_rule.paid_to_survivor","value":false}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]},{"op":"answered","ref":"about_you.taxpayer.date_of_birth"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"},{"op":"answered","ref":"household.spouse.date_of_birth"}]}]}]}]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.survivor_age","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.survivor_age","section_id":"income_sources","sentence":"Add the other person's age at the birthday nearest your starting date. Payments for two lives use the IRS table for both ages.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.survivor_payment","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.survivor_payment","section_id":"income_sources","sentence":"Add what your contract pays the other person after the first person dies. It is part of what the contract is expected to pay in all.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.paid_to_survivor","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.paid_to_survivor","section_id":"income_sources","sentence":"Say whether your payments this year went to you as the survivor. The tax-free part is worked out from the payment the contract set for whoever was paid.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.fractional_first_payment","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.fractional_first_payment","section_id":"income_sources","sentence":"Add any first payment for part of a period, or 0. In the first year that payment has a tax-free part too.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"age_lt","ref":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","value":1}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.refund_feature","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.refund_feature","section_id":"income_sources","sentence":"Say whether your contract pays someone else if a set amount is not paid. A refund feature can change what you paid for the contract.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.refund_guaranteed_amount","question_id":"income_sources.pensions_and_annuities.annuity.general_rule.refund_guaranteed_amount","section_id":"income_sources","sentence":"Add the least your contract guarantees to pay in all. It decides whether the refund feature changes what you paid for the contract.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.annuity.general_rule.refund_feature"}]}},{"binds":"pensions_and_annuities[].treaty_claim.exempt_amount","question_id":"income_sources.pensions_and_annuities.treaty_claim.exempt_amount","section_id":"income_sources","sentence":"Add how much of this pension the other country would leave out of its tax if you lived there. The treaty claim cannot be applied without it, so give zero if none of it would be left out, or answer no to the treaty question.","validator":"expatreturn_us.engine.computations.income_refusals.treaty_catalog_findings","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.from_uk_pension_scheme"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada"}]}]}]}]}]}},{"binds":"pensions_and_annuities[].payer_address","question_id":"income_sources.pensions_and_annuities.payer_address","section_id":"income_sources","sentence":"Add the payer's address from your pension statement. A pension paid from outside the United States cannot be filed without it.","validator":"expatreturn_us.mef.mappers.fec._build_pension_record","when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}},{"binds":"social_security.received_form_rrb_1099_r","question_id":"income_sources.social_security.received_form_rrb_1099_r","section_id":"income_sources","sentence":"Say whether the Railroad Retirement Board also sent you a Form RRB-1099-R. That form is taxed like a pension, not like social security, and we do not prepare it.","validator":"expatreturn_us.engine.computations.benefit_refusals.railroad_form_rrb_1099_r_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"truthy","ref":"income_sources.social_security.is_railroad_retirement"}]}},{"binds":"social_security.lump_sum_for_earlier_year","question_id":"income_sources.social_security.lump_sum_for_earlier_year","section_id":"income_sources","sentence":"Say whether any of the benefits were paid to you for an earlier year. If they were, you may be able to lower the tax with a choice we do not work out, so the answer decides whether we can file the return.","validator":"expatreturn_us.engine.computations.benefit_refusals.lump_sum_election_refusals","when":{"op":"truthy","ref":"income_sources.has_social_security"}},{"binds":"social_security.treaty_residence","question_id":"income_sources.social_security.treaty_residence","section_id":"income_sources","sentence":"Choose the country you were a resident of for all of the year, or none of these. United States citizens who are residents of Canada, Egypt, Germany, Ireland, Israel, Italy, Romania or the United Kingdom are not taxed by the United States on United States social security benefits, so the answer decides your tax on them.","validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]}},{"binds":"social_security.italian_citizen","question_id":"income_sources.social_security.italian_citizen","section_id":"income_sources","sentence":"Say whether you are a citizen of Italy. A resident of Italy is exempt from United States tax on social security benefits only if also a citizen of Italy.","validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"}]}},{"binds":"social_security.spouse_us_citizen","question_id":"income_sources.social_security.spouse_us_citizen","section_id":"income_sources","sentence":"Say whether your spouse is a United States citizen. Only citizens living in the listed countries keep United States social security benefits out of United States tax.","validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"income_sources.social_security.treaty_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"},{"op":"ne","ref":"income_sources.social_security.italian_citizen","value":"yes"}]}]}]}},{"binds":"social_security.benefits_owner","question_id":"income_sources.social_security.benefits_owner","section_id":"income_sources","sentence":"Say whose benefits these are. One of you is not a United States citizen, and only a citizen's benefits stay out of United States tax here.","validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"income_sources.social_security.treaty_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"},{"op":"ne","ref":"income_sources.social_security.italian_citizen","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.social_security.spouse_us_citizen","value":false},{"op":"eq","ref":"fit.citizenship_or_residency","value":"resident_alien"},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}},{"binds":"foreign_social_security[].annuity.annuity_starting_date","question_id":"income_sources.foreign_social_security.annuity.annuity_starting_date","section_id":"income_sources","sentence":"Add the day your payments started. The tax-free part of each payment is worked out from that day.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"foreign_social_security[].annuity.annuity_kind","question_id":"income_sources.foreign_social_security.annuity.annuity_kind","section_id":"income_sources","sentence":"Choose for how long your payments are made. It decides which IRS table works out the tax-free part.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"foreign_social_security[].annuity.fixed_period_payments","question_id":"income_sources.foreign_social_security.annuity.fixed_period_payments","section_id":"income_sources","sentence":"Add the number of monthly payments in the fixed period. The tax-free part is what went in spread over them.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"fixed_period"}]}},{"binds":"foreign_social_security[].annuity.cost","question_id":"income_sources.foreign_social_security.annuity.cost","section_id":"income_sources","sentence":"Add how much taxed money had gone in when your payments started, in US dollars. The tax-free part comes from it.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"foreign_social_security[].annuity.recovered_tax_free_before","question_id":"income_sources.foreign_social_security.annuity.recovered_tax_free_before","section_id":"income_sources","sentence":"Add what you already got back tax free in earlier years, or 0. No more than what went in comes back tax free.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.foreign_social_security.annuity.annuity_starting_date","value":1}]}]}},{"binds":"foreign_social_security[].annuity.other_annuitants_paid_now","question_id":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","section_id":"income_sources","sentence":"Say whether anyone else is paid from the same contract at the same time. That case is worked out in a way we do not do.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"foreign_social_security[].annuity.general_rule.months_to_first_payment","question_id":"income_sources.foreign_social_security.annuity.general_rule.months_to_first_payment","section_id":"income_sources","sentence":"Add the whole months from your starting date to your first payment. Payments that are not monthly change the IRS table figure by that number.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]}},{"binds":"foreign_social_security[].annuity.general_rule.annuitant_age","question_id":"income_sources.foreign_social_security.annuity.general_rule.annuitant_age","section_id":"income_sources","sentence":"Add the age at the birthday nearest your starting date. A pension for life uses the IRS table figure for that age.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"single_life"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.general_rule.paid_to_survivor","value":false}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.owner","value":"spouse"}]},{"op":"answered","ref":"about_you.taxpayer.date_of_birth"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.owner","value":"spouse"},{"op":"answered","ref":"household.spouse.date_of_birth"}]}]}]}]}]}},{"binds":"foreign_social_security[].annuity.general_rule.survivor_age","question_id":"income_sources.foreign_social_security.annuity.general_rule.survivor_age","section_id":"income_sources","sentence":"Add the other person's age at the birthday nearest your starting date. Payments for two lives use the IRS table for both ages.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"foreign_social_security[].annuity.general_rule.survivor_payment","question_id":"income_sources.foreign_social_security.annuity.general_rule.survivor_payment","section_id":"income_sources","sentence":"Add what your contract pays the other person after the first person dies. It is part of what the contract is expected to pay in all.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"foreign_social_security[].annuity.general_rule.paid_to_survivor","question_id":"income_sources.foreign_social_security.annuity.general_rule.paid_to_survivor","section_id":"income_sources","sentence":"Say whether your payments this year went to you as the survivor. The tax-free part is worked out from the payment the contract set for whoever was paid.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"foreign_social_security[].annuity.general_rule.fractional_first_payment","question_id":"income_sources.foreign_social_security.annuity.general_rule.fractional_first_payment","section_id":"income_sources","sentence":"Add any first payment for part of a period, or 0. In the first year that payment has a tax-free part too.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"age_lt","ref":"income_sources.foreign_social_security.annuity.annuity_starting_date","value":1}]}},{"binds":"foreign_social_security[].annuity.general_rule.refund_feature","question_id":"income_sources.foreign_social_security.annuity.general_rule.refund_feature","section_id":"income_sources","sentence":"Say whether your contract pays someone else if a set amount is not paid. A refund feature can change what you paid for the contract.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"foreign_social_security[].annuity.general_rule.refund_guaranteed_amount","question_id":"income_sources.foreign_social_security.annuity.general_rule.refund_guaranteed_amount","section_id":"income_sources","sentence":"Add the least your contract guarantees to pay in all. It decides whether the refund feature changes what you paid for the contract.","validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.annuity.general_rule.refund_feature"}]}},{"binds":"foreign_social_security[].payer_address","question_id":"income_sources.foreign_social_security.payer_address","section_id":"income_sources","sentence":"Add the paying agency's address from your benefit statement. A benefit taxed like a pension from abroad cannot be filed without it.","validator":"expatreturn_us.mef.mappers.fec._build_pension_record","when":{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]}},{"binds":"schedule_k1s[].ein","question_id":"income_sources.schedule_k1s.ein","section_id":"income_sources","sentence":"Add the employer identification number from item A of your K-1. Form 7203 cannot be filed without it.","validator":"expatreturn_us.domain.schedule_k1.ScheduleK1._check_facts","when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}},{"binds":"schedule_k1s[].ordinary_business_income","question_id":"income_sources.schedule_k1s.ordinary_business_income","section_id":"income_sources","sentence":"Add the amount your K-1 shows for its business income or loss, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_business"}},{"binds":"schedule_k1s[].net_rental_real_estate_income","question_id":"income_sources.schedule_k1s.net_rental_real_estate_income","section_id":"income_sources","sentence":"Add the amount your K-1 shows for its rental real estate, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_rental"}},{"binds":"schedule_k1s[].other_net_rental_income","question_id":"income_sources.schedule_k1s.other_net_rental_income","section_id":"income_sources","sentence":"Add the amount your K-1 shows for its other rentals, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_other_rental"}},{"binds":"schedule_k1s[].royalties","question_id":"income_sources.schedule_k1s.royalties","section_id":"income_sources","sentence":"Add the royalties your K-1 shows, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_royalties"}},{"binds":"schedule_k1s[].interest_income","question_id":"income_sources.schedule_k1s.interest_income","section_id":"income_sources","sentence":"Add the interest your K-1 shows, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_interest"}},{"binds":"schedule_k1s[].net_section_1231_gain","question_id":"income_sources.schedule_k1s.net_section_1231_gain","section_id":"income_sources","sentence":"Add the gain or loss on business property sold that your K-1 shows, since you checked that box. It is box 10 of a partnership's K-1, box 9 of an S corporation's. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_section_1231"}},{"binds":"schedule_k1s[].self_employment_earnings","question_id":"income_sources.schedule_k1s.self_employment_earnings","section_id":"income_sources","sentence":"Add the self-employment earnings your K-1 shows, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_self_employment"}},{"binds":"schedule_k1s[].nondeductible_expenses","question_id":"income_sources.schedule_k1s.nondeductible_expenses","section_id":"income_sources","sentence":"Add the costs your K-1 says cannot be deducted, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_nondeductible"}},{"binds":"schedule_k1s[].distributions","question_id":"income_sources.schedule_k1s.distributions","section_id":"income_sources","sentence":"Add the payouts your K-1 shows, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_distributions"}},{"binds":"schedule_k1s[].foreign_taxes","question_id":"income_sources.schedule_k1s.foreign_taxes","section_id":"income_sources","sentence":"Add the foreign taxes your K-1 shows, since you checked that box. If it is empty on your K-1, uncheck it.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_foreign_tax"}},{"binds":"schedule_k1s[].prior_year_passive_loss_box","question_id":"income_sources.schedule_k1s.prior_year_passive_loss_box","section_id":"income_sources","sentence":"Choose which box of your K-1 the carried loss comes from. It decides where the loss goes on the form for passive losses.","validator":"expatreturn_us.domain.schedule_k1.ScheduleK1._check_facts","when":{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"}},{"binds":"schedule_k1s[].prior_year_work_amount","question_id":"income_sources.schedule_k1s.prior_year_work_amount","section_id":"income_sources","sentence":"Enter the part of this income that was for your qualifying work abroad the year before. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"}]}},{"binds":"schedule_k1s[].other_year_work_amount","question_id":"income_sources.schedule_k1s.other_year_work_amount","section_id":"income_sources","sentence":"Enter the part of this income that was for your other work not done this year. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"}]}},{"binds":"schedule_k1s[].qualifying_period_gross_income_share","question_id":"income_sources.schedule_k1s.qualifying_period_gross_income_share","section_id":"income_sources","sentence":"Add your share of the partnership's income for the work you did in the part of the year that counts toward the exclusion. Only that income can count toward the exclusion of pay earned abroad, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.partnership_line_20b","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"schedule_k1s[].presence_period_gross_income_share","question_id":"income_sources.schedule_k1s.presence_period_gross_income_share","section_id":"income_sources","sentence":"Add your share of the partnership's income for the work you did in the part of the year the day-count test covers. Each way of qualifying is worked out with the income for its own part, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.partnership_line_20b","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"real_estate_professional","question_id":"income_sources.real_estate_professional","section_id":"income_sources","sentence":"Answer whether real estate was your profession during the year. You rent out property, and whether a rental loss can come off your tax depends on it.","validator":"expatreturn_us.engine.computations.f8582.compute_form_8582","when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]}},{"binds":"rentals[].ownership_percent","question_id":"income_sources.rentals.ownership_percent","section_id":"income_sources","sentence":"Enter your share of the property in percent. You said you do not own all of it, and only your part of its rent and costs goes on your return.","validator":"expatreturn_us.domain.income.RentalIncome._check_shares_and_home_days","when":{"op":"truthy","ref":"income_sources.rentals.owns_only_part"}},{"binds":"rentals[].rented_part_percent","question_id":"income_sources.rentals.rented_part_percent","section_id":"income_sources","sentence":"Enter the part of the property you rent out in percent. You said you rent out only part of it, and only that part's share of its shared costs comes off the rent.","validator":"expatreturn_us.domain.income.RentalIncome._check_shares_and_home_days","when":{"op":"truthy","ref":"income_sources.rentals.rents_only_part"}},{"binds":"rentals[].disposition_to_related_party","question_id":"income_sources.rentals.disposition_to_related_party","section_id":"income_sources","sentence":"Answer whether the buyer was related to you. Losses held back from earlier years are only released by a sale to someone who is not.","validator":"expatreturn_us.domain.income.RentalIncome._check_disposition","when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"}},{"binds":"rentals[].disposition_fully_taxable","question_id":"income_sources.rentals.disposition_fully_taxable","section_id":"income_sources","sentence":"Answer whether all of the gain or loss on the sale is taxed this year. Losses held back from earlier years are only released in full by a sale that is.","validator":"expatreturn_us.domain.income.RentalIncome._check_disposition","when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"}},{"binds":"rentals[].assets[].land_value","question_id":"income_sources.rentals.assets.land_value","section_id":"income_sources","sentence":"Add how much of the cost was for the land the building stands on. Land is never written off, so what the building alone cost cannot be worked out without it. Enter zero only if the cost includes no land.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_land_value","when":{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}},{"binds":"rentals[].assets[].fair_market_value_at_conversion","question_id":"income_sources.rentals.assets.fair_market_value_at_conversion","section_id":"income_sources","sentence":"Add what this item was worth, without any land, on the day you started using it for the rental or the business. You used it privately first, so the lower of that value and its cost is what gets written off.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"}},{"binds":"rentals[].assets[].bonus_elected","question_id":"income_sources.rentals.assets.bonus_elected","section_id":"income_sources","sentence":"Answer yes or no about the extra first-year allowance. You started using this item this year, and taking the allowance and turning it down are treated differently, so the return cannot be worked out while it is unanswered.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}},{"binds":"rentals[].assets[].prior_special_allowance","question_id":"income_sources.rentals.assets.prior_special_allowance","section_id":"income_sources","sentence":"Answer whether this item took the extra first-year allowance in the year you started using it. What is left to write off now depends on it.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]}},{"binds":"rentals[].assets[].acquired_on","question_id":"income_sources.rentals.assets.acquired_on","section_id":"income_sources","sentence":"Add the day you bought this item. The first-year allowance and the report of a sale both depend on that date, so neither can be worked out without it.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.bonus_elected"},{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.rentals.assets.prior_special_allowance","values":["took","neither"]}]}]}},{"binds":"rentals[].assets[].prior_depreciation_allowed_or_allowable","question_id":"income_sources.rentals.assets.prior_depreciation_allowed_or_allowable","section_id":"income_sources","sentence":"Add how much of this item's cost could be written off in the years before this one, whether or not you claimed it, or say that this is the first return to claim any. You started using it before this year, so what is left to write off now depends on that figure.","validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"ne","ref":"income_sources.rentals.assets.prior_depreciation_never_claimed","value":true}]}},{"binds":"rentals[].assets[].disposal_proceeds","question_id":"income_sources.rentals.assets.disposal_proceeds","section_id":"income_sources","sentence":"Add what you received for this item, or zero if you stopped using it without selling it. An item you sold or stopped using during the year cannot be filed without it.","validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].assets[].disposal_expenses","question_id":"income_sources.rentals.assets.disposal_expenses","section_id":"income_sources","sentence":"Add what the sale cost you, such as the agent's commission and the legal fees, or zero if there were none. The gain or loss on the sale cannot be worked out without it.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].assets[].disposal_land_proceeds","question_id":"income_sources.rentals.assets.disposal_land_proceeds","section_id":"income_sources","sentence":"Add how much of the price was for the land. The building and its land are reported as two sales, so the sale cannot be reported without it.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"gt","ref":"income_sources.rentals.assets.land_value","value":0}]}},{"binds":"rentals[].assets[].form_1099s_gross_proceeds","question_id":"income_sources.rentals.assets.form_1099s_gross_proceeds","section_id":"income_sources","sentence":"Add the gross proceeds the Form 1099-S for the sale showed in box 2, or zero if none came. The form for selling business property reports that figure.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}},{"binds":"rentals[].assets[].disposal_to_related_party","question_id":"income_sources.rentals.assets.disposal_to_related_party","section_id":"income_sources","sentence":"Answer whether the buyer was related to you. A sale to a relative is taxed under different rules, so the sale cannot be reported while it is unanswered.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"ne","ref":"income_sources.rentals.disposed_in_year","value":true}]}},{"binds":"rentals[].assets[].disposal_fully_taxable","question_id":"income_sources.rentals.assets.disposal_fully_taxable","section_id":"income_sources","sentence":"Answer whether all of the gain or loss on the sale is taxed this year. A sale paid over more than one year is reported differently.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"ne","ref":"income_sources.rentals.disposed_in_year","value":true}]}},{"binds":"rentals[].assets[].disposed_part_only","question_id":"income_sources.rentals.assets.disposed_part_only","section_id":"income_sources","sentence":"Answer whether you sold or gave up only part of it. A sale of part of an item is worked out differently.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].assets[].acquired_by","question_id":"income_sources.rentals.assets.acquired_by","section_id":"income_sources","sentence":"Answer how you got this item. Something inherited, or given to you, is reported differently on the sale form from something you bought.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].personal_use_days_after_conversion","question_id":"income_sources.rentals.personal_use_days_after_conversion","section_id":"income_sources","sentence":"Add how many days you, family or friends used it from the day you first offered it for rent, or 0 if nobody did. Its write-off this year depends on those days.","validator":"expatreturn_us.engine.computations.depreciation.conversion_personal_days","when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":0},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2018-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2019-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2020-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2021-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2022-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2023-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2024-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2025-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2026-01-01"}]}]}]}]}]}},{"binds":"rentals[].property_used_in_trade_or_business","question_id":"income_sources.rentals.property_used_in_trade_or_business","section_id":"income_sources","sentence":"Answer whether renting out this property was a business for you, rather than an investment. It decides which form reports the sale.","validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]}},{"binds":"rentals[].vehicle_loan_interest","question_id":"income_sources.rentals.vehicle_loan_interest","section_id":"income_sources","sentence":"Enter how much of this other interest is on a loan for a vehicle you use in it, or zero if none of it is. For this tax year that part goes on a line of its own.","validator":"expatreturn_us.mef.vehicle_loan_interest.placement_problems","when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.rentals.expenses","rules":[{"op":"eq","ref":"income_sources.rentals.expenses.schedule_e_line","value":"other_interest"}]}]}},{"binds":"schedule_e_form_1099_filed","question_id":"income_sources.schedule_e_form_1099_filed","section_id":"income_sources","sentence":"Answer whether you filed every Form 1099 you had to for your rentals or royalties. Schedule E line B asks it once they had to be filed.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_schedule_e_1099","when":{"op":"truthy","ref":"income_sources.schedule_e_form_1099_required"}},{"binds":"nonrecaptured_section_1231_losses","question_id":"income_sources.nonrecaptured_section_1231_losses","section_id":"income_sources","sentence":"Add how much of those earlier losses has not yet been made up for. While part of them remains, that much of this year's gain is taxed as ordinary income.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_section_1231_losses","when":{"op":"truthy","ref":"income_sources.prior_section_1231_losses_not_recaptured"}},{"binds":"royalties[].source_country","question_id":"income_sources.royalties.source_country","section_id":"income_sources","sentence":"Pick the country your royalty was paid from. Income from abroad is reported country by country when you claim the credit for tax paid abroad.","validator":"expatreturn_us.domain.income.RoyaltyIncome._check_facts","when":{"op":"eq","ref":"income_sources.royalties.source","value":"foreign"}},{"binds":"royalties[].vehicle_loan_interest","question_id":"income_sources.royalties.vehicle_loan_interest","section_id":"income_sources","sentence":"Enter how much of this other interest is on a loan for a vehicle you use in it, or zero if none of it is. For this tax year that part goes on a line of its own.","validator":"expatreturn_us.mef.vehicle_loan_interest.placement_problems","when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"eq","ref":"income_sources.royalties.expenses.schedule_e_line","value":"other_interest"}]}]}},{"binds":"unemployment[].government_plan","question_id":"income_sources.unemployment.government_plan","section_id":"income_sources","sentence":"Answer whether a government program paid this unemployment pay. Without a Form 1099-G that is what decides whether it is unemployment pay on your return.","validator":"expatreturn_us.domain.income.UnemploymentCompensation._check_facts","when":{"op":"eq","ref":"income_sources.unemployment.has_form_1099g","value":false}},{"binds":"unemployment[].source_country","question_id":"income_sources.unemployment.source_country","section_id":"income_sources","sentence":"Pick the country that paid this unemployment pay. Income from abroad is reported country by country when you claim the credit for tax paid abroad.","validator":"expatreturn_us.domain.income.UnemploymentCompensation._check_facts","when":{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"}},{"binds":"unemployment_repaid_from_earlier_years","question_id":"income_sources.unemployment_repaid_from_earlier_years","section_id":"income_sources","sentence":"Add how much unemployment pay from an earlier year you paid back. A repayment of more than a set amount is reported under its own rules.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"income_sources.has_prior_year_unemployment_repayment"}},{"binds":"other_income[].description","question_id":"income_sources.other_income.description","section_id":"income_sources","sentence":"Write a few words that describe this income. Schedule 1 lists each item of other income by its type.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8z"}},{"binds":"other_income[].gambling_losses_to_deduct","question_id":"income_sources.other_income.gambling_losses_to_deduct","section_id":"income_sources","sentence":"Answer whether you have gambling losses to deduct. They come off separately from the winnings.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8b"}},{"binds":"other_income[].jury_pay_given_to_employer","question_id":"income_sources.other_income.jury_pay_given_to_employer","section_id":"income_sources","sentence":"Answer whether you handed the jury duty pay over to your employer. Pay you handed over comes off separately.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8h"}},{"binds":"other_income[].gambling_tax_withheld","question_id":"income_sources.other_income.gambling_tax_withheld","section_id":"income_sources","sentence":"Answer whether federal tax was withheld from your winnings on a Form W-2G. That tax counts toward what you have paid.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8b"}},{"binds":"other_income[].canceled_debt_partly_excluded","question_id":"income_sources.other_income.canceled_debt_partly_excluded","section_id":"income_sources","sentence":"Answer whether any part of your canceled debt is not taxed. Only the taxed part is reported.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8c"}},{"binds":"other_income[].degree_candidate_tuition_included","question_id":"income_sources.other_income.degree_candidate_tuition_included","section_id":"income_sources","sentence":"Answer whether your grant paid tuition or course costs while you studied for a degree. Only the rest of the grant is reported.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8r"}},{"binds":"other_income[].rental_expenses_to_deduct","question_id":"income_sources.other_income.rental_expenses_to_deduct","section_id":"income_sources","sentence":"Answer whether renting it out cost you anything you are deducting. Those costs come off separately.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8l"}},{"binds":"other_income[].option_work_done_abroad","question_id":"income_sources.other_income.option_work_done_abroad","section_id":"income_sources","sentence":"Answer whether any of the work this option rewards was done while you lived abroad. It decides whether part of the income counts as pay earned abroad.","validator":"expatreturn_us.engine.computations.f2555.pay_content_refusals","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.other_income.kind","value":"8k"}]}},{"binds":"other_income[].source_country","question_id":"income_sources.other_income.source_country","section_id":"income_sources","sentence":"Pick the country this income came from. Income from abroad is reported country by country when you claim the credit for tax paid abroad.","validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","when":{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"}},{"binds":"earning_year_facts.qualifying_days","question_id":"income_sources.earning_year_facts.qualifying_days","section_id":"income_sources","sentence":"Enter how many days of the year before you qualified for the exclusion. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"ne","ref":"review.feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}},{"binds":"earning_year_facts.limit_already_used","question_id":"income_sources.earning_year_facts.limit_already_used","section_id":"income_sources","sentence":"Enter how much of your exclusion limit for the year before is already used. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"ne","ref":"review.feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}},{"binds":"spouse_earning_year_facts.qualifying_days","question_id":"income_sources.spouse_earning_year_facts.qualifying_days","section_id":"income_sources","sentence":"Enter how many days of the year before your spouse qualified for the exclusion. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"ne","ref":"review.spouse_feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}},{"binds":"spouse_earning_year_facts.limit_already_used","question_id":"income_sources.spouse_earning_year_facts.limit_already_used","section_id":"income_sources","sentence":"Enter how much of your spouse's exclusion limit for the year before is already used. Enter 0 if none.","validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","when":{"op":"and","rules":[{"op":"ne","ref":"review.spouse_feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}},{"binds":"capital_loss_carryover.prior_year_joint_now_separate","question_id":"income_sources.capital_loss_carryover.prior_year_joint_now_separate","section_id":"income_sources","sentence":"Answer whether the loss came from a joint return. On a separate return only your own part of a joint loss can be used.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_m75_income_facts","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}},{"binds":"foreign_taxes[].conversion_rate_explanation","question_id":"foreign_tax.foreign_taxes.conversion_rate_explanation","section_id":"foreign_tax","sentence":"Add a sentence on how you worked out the exchange rate. The explanation attached to Form 1116 prints it when you used another rate.","validator":"expatreturn_us.domain.foreign.ForeignTaxPaid._check_conversion_explanation","when":{"op":"eq","ref":"foreign_tax.foreign_taxes.conversion_rate_basis","value":"other"}},{"binds":"feie_prior_claims.last_year_filed","question_id":"where_you_lived.feie_prior_claims.last_year_filed","section_id":"where_you_lived","sentence":"Add the last year you claimed it, which your earlier return shows.","validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"}},{"binds":"feie_prior_claims.first_credit_year","question_id":"where_you_lived.feie_prior_claims.first_credit_year","section_id":"where_you_lived","sentence":"Add the first year you took one of those credits after your last Form 2555. It decides whether your earlier choice to leave pay out of income still stands.","validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.credit_taken_since"}},{"binds":"feie_prior_claims.housing_ever_claimed","question_id":"where_you_lived.feie_prior_claims.housing_ever_claimed","section_id":"where_you_lived","sentence":"Answer whether an earlier Form 2555 of yours claimed the housing exclusion. It decides whether leaving it out later gave it up for five years.","validator":"expatreturn_us.filing_refusals.prior_housing_history_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"eq","ref":"where_you_lived.feie_prior_claims.housing_claimed_last_year","value":false}]}},{"binds":"foreign_gift_facts.abroad_condition","question_id":"where_you_lived.foreign_gift_facts.abroad_condition","section_id":"where_you_lived","sentence":"Say which of the two cases keeps you abroad on the April due date. Your Form 3520 statement names it.","validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.claims_automatic_2month_extension"},{"op":"truthy","ref":"income_sources.received_foreign_gift"}]}},{"binds":"spouse_feie_prior_claims.last_year_filed","question_id":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","section_id":"where_you_lived","sentence":"Add the last year your spouse claimed it, which their earlier return shows.","validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"}},{"binds":"spouse_feie_prior_claims.first_credit_year","question_id":"spouse_abroad.spouse_feie_prior_claims.first_credit_year","section_id":"where_you_lived","sentence":"Add the first year your spouse took one of those credits after their last Form 2555. It decides whether their earlier choice to leave pay out of income still stands.","validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.credit_taken_since"}},{"binds":"spouse_feie_prior_claims.housing_ever_claimed","question_id":"spouse_abroad.spouse_feie_prior_claims.housing_ever_claimed","section_id":"where_you_lived","sentence":"Answer whether an earlier Form 2555 of your spouse's claimed the housing exclusion. It decides whether leaving it out later gave it up for five years.","validator":"expatreturn_us.filing_refusals.prior_housing_history_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},{"op":"eq","ref":"spouse_abroad.spouse_feie_prior_claims.housing_claimed_last_year","value":false}]}},{"binds":"residency.tax_home.city","question_id":"where_you_lived.residency.tax_home.city","section_id":"where_you_lived","sentence":"Keep the city we filled in from your address abroad, or enter the city where your main place of work was. Form 2555 asks for it.","validator":"expatreturn_us.interview.authoring.conditional_requirements","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"},{"op":"derived","ref":"where_you_lived.tax_home_city"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.tax_home.country"}]},{"op":"derived","ref":"where_you_lived.one_country_city"}]}]}},{"binds":"residency.tax_home.abandoned_on","question_id":"where_you_lived.residency.tax_home.abandoned_on","section_id":"where_you_lived","sentence":"Add the day you gave up your main place of work abroad. You said you gave it up, and the day decides how much of the year counts.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"where_you_lived.tax_home_given_up"}},{"binds":"bona_fide_residence.residence_abroad_ended_on","question_id":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","section_id":"where_you_lived","sentence":"Add the day your settled residence abroad ended. You said it ended, and the day decides how much of the year counts.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"where_you_lived.bfr_residence_abroad_ended"}},{"binds":"bona_fide_residence.claimant_us_citizen","question_id":"where_you_lived.bona_fide_residence.claimant_us_citizen","section_id":"where_you_lived","sentence":"Answer whether you are a United States citizen. The route you are claiming is open only to a citizen, or to a resident who is a citizen of a treaty country, so the claim cannot be filed while it is unanswered.","validator":"expatreturn_us.filing_refusals.bona_fide_citizenship_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"bona_fide_residence.required_to_pay_host_income_tax","question_id":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","section_id":"where_you_lived","sentence":"Answer whether you are required to pay income tax to that country. Form 2555 line 13b needs a yes or a no before a settled-residence claim can be filed.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"bona_fide_residence.maintained_us_home","question_id":"where_you_lived.bona_fide_residence.maintained_us_home","section_id":"where_you_lived","sentence":"Answer whether you kept a home in the United States while you lived abroad. Form 2555 line 15d asks it on a settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"bona_fide_residence.us_home_address","question_id":"where_you_lived.bona_fide_residence.us_home_address","section_id":"where_you_lived","sentence":"Add the address of the home you kept in the United States. You said you kept one, and Form 2555 line 15e asks for it.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"}},{"binds":"bona_fide_residence.us_home_rented","question_id":"where_you_lived.bona_fide_residence.us_home_rented","section_id":"where_you_lived","sentence":"Answer whether that home was rented out. You said you kept a home in the United States, and Form 2555 line 15e asks it.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"}},{"binds":"bona_fide_residence.contractual_terms","question_id":"where_you_lived.bona_fide_residence.contractual_terms","section_id":"where_you_lived","sentence":"Add a few words about the terms of your work abroad. Form 2555 line 15a asks it on a settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"bona_fide_residence.visa_type","question_id":"where_you_lived.bona_fide_residence.visa_type","section_id":"where_you_lived","sentence":"Choose the kind of visa you entered that country on. Form 2555 line 15b asks it on a settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"bona_fide_residence.visa_limits_stay","question_id":"where_you_lived.bona_fide_residence.visa_limits_stay","section_id":"where_you_lived","sentence":"Answer whether your visa limited how long you could stay or work there. Form 2555 line 15c asks it on a settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"bona_fide_residence.visa_limitations","question_id":"where_you_lived.bona_fide_residence.visa_limitations","section_id":"where_you_lived","sentence":"Add a few words about the limits on your visa. You said it limited your stay, and Form 2555 asks for an explanation.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"truthy","ref":"where_you_lived.bona_fide_residence.visa_limits_stay"}},{"binds":"residency.tax_home.abroad_before","question_id":"where_you_lived.residency.tax_home.abroad_before","section_id":"where_you_lived","sentence":"Say whether your main place of work was in another country outside the United States before this one began. It decides how much of the year counts, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.tax_home_start_refusal","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"housing_facts.us_government_housing_allowance","question_id":"foreign_tax.housing_facts.us_government_housing_allowance","section_id":"where_you_lived","sentence":"Add the housing allowance the US government paid for this home, or 0 if it paid none. Your return has government pay, and such an allowance comes off your housing costs.","validator":"expatreturn_us.engine.computations.f2555.government_allowance_refusals","when":{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}]}},{"binds":"spouse_residency.tax_home.abandoned_on","question_id":"spouse_abroad.spouse_residency.tax_home.abandoned_on","section_id":"spouse_abroad","sentence":"Add the day your spouse gave up their main place of work abroad. You said they gave it up, and the day decides how much of the year counts.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"spouse_abroad.tax_home_given_up"}},{"binds":"spouse_citizenship_country","question_id":"spouse_abroad.spouse_citizenship_country","section_id":"spouse_abroad","sentence":"Choose the country that issued your spouse's passport. Their Form 2555 asks for it, and an exclusion claimed without it can be refused.","validator":"expatreturn_us.domain.tax_return.TaxReturn._check_a_form_2555_claim_names_a_citizenship","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"in","ref":"household.spouse.itin_application.citizenship_country","values":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GG","GH","GI","GL","GM","GN","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IRS:AT","IRS:AX","IRS:BQ","IRS:CR","IRS:DQ","IRS:DX","IRS:FQ","IRS:HQ","IRS:IP","IRS:JN","IRS:JQ","IRS:KQ","IRS:KV","IRS:LQ","IRS:MQ","IRS:OC","IRS:PF","IRS:PG","IRS:SV","IRS:WQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"]},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.itin_application.other_citizenship_country"}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_citizenship_country"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Andorra"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"United Arab Emirates"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Afghanistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Antigua and Barbuda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Anguilla"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Albania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Armenia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Angola"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Antarctica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Argentina"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"American Samoa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Austria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Australia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Aruba"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Azerbaijan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bosnia-Herzegovina"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Barbados"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bangladesh"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belgium"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burkina Faso"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bulgaria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bahrain"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burundi"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Benin"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saint Barthelemy"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bermuda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Brunei"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bolivia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Brazil"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bahamas"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bhutan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bouvet Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Botswana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belarus"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belize"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Canada"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cocos (Keeling) Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Congo (Kinshasa)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Central African Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Congo (Brazzaville)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Switzerland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cote D'Ivoire (Ivory Coast)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cook Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Chile"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cameroon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"China"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Colombia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Costa Rica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cuba"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cape Verde"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Curacao"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Christmas Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cyprus"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Czech Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Germany"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Djibouti"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Denmark"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dominica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dominican Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Algeria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ecuador"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Estonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Egypt"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Western Sahara"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ER"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Eritrea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ES"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Spain"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ET"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ethiopia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Finland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Fiji"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Falkland Islands (Islas Malvinas)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Federated States of Micronesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Faroe Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"France"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Gabon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"United Kingdom (England, Northern Ireland, Scotland, and Wales)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Grenada"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Georgia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guernsey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ghana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Gibraltar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Greenland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"The Gambia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Equatorial Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Greece"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Georgia and the South Sandwich Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guatemala"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guam"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guinea-Bissau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guyana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Hong Kong"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Heard Island and McDonald Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Honduras"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Croatia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Haiti"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Hungary"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ID"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Indonesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ireland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Israel"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Man, Isle of"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"India"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"British Indian Ocean Territory"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iraq"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iran"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:AT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ashmore and Cartier Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:AX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Akrotiri"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:BQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Navassa Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:CR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Coral Sea Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:DQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jarvis Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:DX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dhekelia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:FQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Baker Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:HQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Howland Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:IP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Clipperton Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:JN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jan Mayen"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:JQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Johnston Atoll"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:KQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kingman Reef"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:KV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kosovo"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:LQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Palmyra Atoll"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:MQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Midway Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:OC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Other Country"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:PF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Paracel Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:PG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Spratly Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:SV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Svalbard"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:WQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Wake Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iceland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Italy"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jersey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jamaica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jordan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Japan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kenya"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kyrgyzstan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cambodia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kiribati"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Comoros"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Kitts and Nevis"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Korea, Democratic People's Republic of (North)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Korea, Republic of (South)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kuwait"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cayman Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kazakhstan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Laos"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lebanon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Lucia Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Liechtenstein"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sri Lanka"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Liberia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lesotho"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lithuania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Luxembourg"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Latvia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Libya"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Morocco"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Monaco"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Moldova"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ME"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Montenegro"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saint Martin"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Madagascar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Marshall Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Macedonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ML"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mali"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burma"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mongolia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Macau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Northern Mariana Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mauritania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Montserrat"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malta"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mauritius"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Maldives"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malawi"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mexico"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malaysia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mozambique"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Namibia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"New Caledonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Niger"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Norfolk Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nigeria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nicaragua"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Netherlands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Norway"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nepal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nauru"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Niue"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"New Zealand"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"OM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Oman"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Panama"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Peru"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"French Polynesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Papua-New Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Philippines"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Pakistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Poland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Pierre and Miquelon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Pitcairn Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Puerto Rico"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Portugal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Palau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Paraguay"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"QA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Qatar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Romania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Serbia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Russia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Rwanda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saudi Arabia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Solomon Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Seychelles"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sudan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sweden"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Singapore"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Helena"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Slovenia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Slovakia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sierra Leone"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"San Marino"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Senegal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Somalia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Suriname"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Sudan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ST"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sao Tome and Principe"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"El Salvador"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sint Maarten"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Syria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Swaziland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turks and Caicos Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Chad"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"French Southern and Antarctic Lands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Togo"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Thailand"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tajikistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tokelau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"East Timor"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turkmenistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tunisia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tonga"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turkey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Trinidad and Tobago"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tuvalu"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Taiwan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tanzania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ukraine"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uganda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uruguay"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uzbekistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Holy See"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Vincent and the Grenadines"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Venezuela"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"British Virgin Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Virgin Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Vietnam"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Vanuatu"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"WF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Wallis and Futuna"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"WS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Samoa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"YE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Yemen (Aden)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Africa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Zambia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Zimbabwe"}]}]}]}]}]}]}},{"binds":"spouse_bona_fide_residence.residence_abroad_ended_on","question_id":"spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on","section_id":"spouse_abroad","sentence":"Add the day your spouse's settled residence abroad ended. You said it ended, and the day decides how much of the year counts.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"spouse_abroad.bfr_residence_abroad_ended"}},{"binds":"spouse_bona_fide_residence.claimant_us_citizen","question_id":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","section_id":"spouse_abroad","sentence":"Answer whether your spouse is a United States citizen. The route they are claiming is open only to a citizen, or to a resident who is a citizen of a treaty country, so the claim cannot be filed while it is unanswered.","validator":"expatreturn_us.filing_refusals.bona_fide_citizenship_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_bona_fide_residence.required_to_pay_host_income_tax","question_id":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","section_id":"spouse_abroad","sentence":"Answer whether your spouse is required to pay income tax to that country. Form 2555 line 13b needs a yes or a no before their settled-residence claim can be filed.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_bona_fide_residence.maintained_us_home","question_id":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home","section_id":"spouse_abroad","sentence":"Answer whether your spouse kept a home in the United States while they lived abroad. Form 2555 line 15d asks it on their settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_bona_fide_residence.us_home_address","question_id":"spouse_abroad.spouse_bona_fide_residence.us_home_address","section_id":"spouse_abroad","sentence":"Add the address of the home your spouse kept in the United States. You said they kept one, and Form 2555 line 15e asks for it.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"}},{"binds":"spouse_bona_fide_residence.us_home_rented","question_id":"spouse_abroad.spouse_bona_fide_residence.us_home_rented","section_id":"spouse_abroad","sentence":"Answer whether that home was rented out. You said your spouse kept a home in the United States, and Form 2555 line 15e asks it.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"}},{"binds":"spouse_bona_fide_residence.contractual_terms","question_id":"spouse_abroad.spouse_bona_fide_residence.contractual_terms","section_id":"spouse_abroad","sentence":"Add a few words about the terms of your spouse's work abroad. Form 2555 line 15a asks it on their settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_bona_fide_residence.visa_type","question_id":"spouse_abroad.spouse_bona_fide_residence.visa_type","section_id":"spouse_abroad","sentence":"Choose the kind of visa your spouse entered that country on. Form 2555 line 15b asks it on their settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_bona_fide_residence.visa_limits_stay","question_id":"spouse_abroad.spouse_bona_fide_residence.visa_limits_stay","section_id":"spouse_abroad","sentence":"Answer whether your spouse's visa limited how long they could stay or work there. Form 2555 line 15c asks it on their settled-residence claim.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_bona_fide_residence.visa_limitations","question_id":"spouse_abroad.spouse_bona_fide_residence.visa_limitations","section_id":"spouse_abroad","sentence":"Add a few words about the limits on your spouse's visa. You said it limited their stay, and Form 2555 asks for an explanation.","validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","when":{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.visa_limits_stay"}},{"binds":"spouse_residency.tax_home.abroad_before","question_id":"spouse_abroad.spouse_residency.tax_home.abroad_before","section_id":"spouse_abroad","sentence":"Say whether your spouse's main place of work was in another country outside the United States before this one began. It decides how much of the year counts, and we cannot file the return without it.","validator":"expatreturn_us.engine.computations.f2555.tax_home_start_refusal","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"spouse_housing_facts.us_government_housing_allowance","question_id":"foreign_tax.spouse_housing_facts.us_government_housing_allowance","section_id":"spouse_abroad","sentence":"Add the housing allowance the US government paid for this home, or 0 if it paid none. Your return has government pay, and such an allowance comes off your housing costs.","validator":"expatreturn_us.engine.computations.f2555.government_allowance_refusals","when":{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}]}},{"binds":"taxpayer.itin_application.foreign_address","question_id":"household.taxpayer.itin_application.foreign_address","section_id":"deductions_credits","sentence":"Add the address of your home outside the United States. The renewal of your ITIN asks for it.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.lives_abroad","value":true}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"taxpayer.itin_application.last_foreign_country","question_id":"household.taxpayer.itin_application.last_foreign_country","section_id":"deductions_credits","sentence":"Choose the country where you last lived before moving to the United States. The renewal of your ITIN asks for it when there is no home abroad any more.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.lives_abroad","value":false}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"spouse.itin_application.foreign_address","question_id":"household.spouse.itin_application.foreign_address","section_id":"deductions_credits","sentence":"Add the address of their home outside the United States. The ITIN application asks for it.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.lives_abroad","value":true}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"spouse.itin_application.last_foreign_country","question_id":"household.spouse.itin_application.last_foreign_country","section_id":"deductions_credits","sentence":"Choose the country where they last lived before moving to the United States. The ITIN application asks for it when there is no home abroad any more.","validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.lives_abroad","value":false}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"medical_expenses_paid","question_id":"deductions_credits.medical_expenses_paid","section_id":"deductions_credits","sentence":"Enter what you paid for medical and dental care that nobody paid back, or 0 if nothing. The exception for medical bills on your early retirement withdrawal is worked out from it.","validator":"expatreturn_us.engine.computations.f5329.compute_form_5329","when":{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}]}]}},{"binds":"itemized_deductions.medical_and_dental_expenses","question_id":"deductions_credits.itemized_deductions.medical_and_dental_expenses","section_id":"deductions_credits","sentence":"Enter what you paid for medical and dental care that nobody paid back, or 0 if nothing. The exception for medical bills on your early retirement withdrawal is worked out from it.","validator":"expatreturn_us.engine.computations.f5329.compute_form_5329","when":{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}]}},{"binds":"itemized_deductions.other_taxes_type","question_id":"deductions_credits.itemized_deductions.other_taxes_type","section_id":"deductions_credits","sentence":"Add a few words saying what kind of tax that was, from your assessment notice. The form lists the type beside the amount, so it cannot be filed without them.","validator":"expatreturn_us.domain.deductions.ItemizedDeductionFacts._typed_lines_carry_types","when":{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0},{"op":"ne","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"foreign_income_tax"},{"op":"ne","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"generation_skipping_transfer_tax"}]}},{"binds":"itemized_deductions.investment_interest","question_id":"deductions_credits.itemized_deductions.investment_interest","section_id":"deductions_credits","sentence":"Enter the interest you paid on money borrowed to invest, or 0 if none. Your royalty or K-1 has investment interest, and Form 4952 counts all of it together.","validator":"expatreturn_us.engine.computations.f4952.compute_form_4952","when":{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]}},{"binds":"itemized_deductions.investment_interest_carried_in","question_id":"deductions_credits.itemized_deductions.investment_interest_carried_in","section_id":"deductions_credits","sentence":"Enter line 7 of last year's Form 4952. You said it carried investment interest you could not deduct into this year.","validator":"expatreturn_us.engine.computations.f4952.compute_form_4952","when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"}},{"binds":"itemized_deductions.other_investment_expenses","question_id":"deductions_credits.itemized_deductions.other_investment_expenses","section_id":"deductions_credits","sentence":"Enter what those investment costs came to. You said you had other investment costs you can deduct, and they come off your investment income on Form 4952.","validator":"expatreturn_us.engine.computations.f4952.compute_form_4952","when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.other_deductible_investment_expenses"}},{"binds":"additional_deductions.employee_tips[].employer_ein","question_id":"deductions_credits.additional_deductions.employee_tips.employer_ein","section_id":"deductions_credits","sentence":"Add the employer's nine-digit number from box b of their Form W-2. For this tax year Schedule 1-A lists tips employer by employer, with each employer's number.","validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.overtime_w2_rows[].employer_ein","question_id":"deductions_credits.additional_deductions.overtime_w2_rows.employer_ein","section_id":"deductions_credits","sentence":"Add the employer's nine-digit number from box b of their Form W-2. For this tax year Schedule 1-A lists overtime employer by employer, with each employer's number.","validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.overtime_1099_rows[].business_name","question_id":"deductions_credits.additional_deductions.overtime_1099_rows.business_name","section_id":"deductions_credits","sentence":"Pick the business this overtime is reported in. For this tax year Schedule 1-A lists overtime from a Form 1099 by the business that received it.","validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.overtime_1099_rows[].payer_tin","question_id":"deductions_credits.additional_deductions.overtime_1099_rows.payer_tin","section_id":"deductions_credits","sentence":"Add the payer's nine-digit number from the Form 1099. For this tax year Schedule 1-A lists overtime from a Form 1099 with the payer's number.","validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"self_employed_health_insurance.long_term_care_several_people","question_id":"deductions_credits.self_employed_health_insurance.long_term_care_several_people","section_id":"deductions_credits","sentence":"Answer whether your long-term care policy covers more than one person. The limit is worked out for each person from their age.","validator":"expatreturn_us.engine.computations.f7206.compute_form_7206","when":{"op":"gt","ref":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","value":0}},{"binds":"self_employed_health_insurance.long_term_care_insured_age","question_id":"deductions_credits.self_employed_health_insurance.long_term_care_insured_age","section_id":"deductions_credits","sentence":"Add how old the person covered was at the end of the year. The long-term care premiums you can claim depend on that age.","validator":"expatreturn_us.engine.computations.f7206.compute_form_7206","when":{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","value":0},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.self_employed_health_insurance.long_term_care_several_people"}]}]}},{"binds":"self_employed_health_insurance.medicare_premiums_from_benefits","question_id":"deductions_credits.self_employed_health_insurance.medicare_premiums_from_benefits","section_id":"deductions_credits","sentence":"Add how much of the Medicare premiums taken off your benefits is in your health coverage amount, or 0 if none is. Premiums claimed there cannot also count with your medical costs.","validator":"expatreturn_us.engine.computations.f7206.medicare_overlap_finding","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"income_sources.social_security.medicare_premiums_deducted","value":0}]}},{"binds":"child_dependent_care.care_providers[].business_name","question_id":"deductions_credits.child_dependent_care.care_providers.business_name","section_id":"deductions_credits","sentence":"Add the name of the daycare or business that provided the care. You said the care provider is a business.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"deductions_credits.child_dependent_care.care_providers.is_a_business"}},{"binds":"child_dependent_care.care_providers[].tin_kind","question_id":"deductions_credits.child_dependent_care.care_providers.tin_kind","section_id":"deductions_credits","sentence":"Choose the kind of number your care provider gave you, or the reason they have none. The form for this credit needs one or the other.","validator":"expatreturn_us.filing_refusals.identifier_refusals","when":{"op":"gt","ref":"context.tax_year","value":0}},{"binds":"child_dependent_care.qualifying_persons[].lived_with_you_over_half_year","question_id":"deductions_credits.child_dependent_care.qualifying_persons.lived_with_you_over_half_year","section_id":"deductions_credits","sentence":"Say whether this person lived with you for more than half the year. Care for a person over 12 counts only if they did.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"eq","ref":"household.dependents.ssn_or_itin_or_atin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}]}},{"binds":"child_dependent_care.qualifying_persons[].claimable_but_for_income","question_id":"deductions_credits.child_dependent_care.qualifying_persons.claimable_but_for_income","section_id":"deductions_credits","sentence":"Say whether you could claim this person except for their income or a joint return. Care for a person over 12 you do not claim counts only if you could.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"eq","ref":"household.dependents.ssn_or_itin_or_atin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"household.spouse.ssn_or_itin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}},{"binds":"child_dependent_care.prior_year_line_3","question_id":"deductions_credits.child_dependent_care.prior_year_line_3","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]}},{"binds":"child_dependent_care.prior_year_two_or_more_persons","question_id":"deductions_credits.child_dependent_care.prior_year_two_or_more_persons","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}},{"binds":"child_dependent_care.prior_year_benefits_excluded","question_id":"deductions_credits.child_dependent_care.prior_year_benefits_excluded","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]}},{"binds":"child_dependent_care.prior_year_expenses_paid_last_year","question_id":"deductions_credits.child_dependent_care.prior_year_expenses_paid_last_year","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}},{"binds":"child_dependent_care.prior_year_benefits_line_25","question_id":"deductions_credits.child_dependent_care.prior_year_benefits_line_25","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}},{"binds":"child_dependent_care.prior_year_smaller_earned_income","question_id":"deductions_credits.child_dependent_care.prior_year_smaller_earned_income","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}},{"binds":"child_dependent_care.prior_year_line_6","question_id":"deductions_credits.child_dependent_care.prior_year_line_6","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}},{"binds":"child_dependent_care.prior_year_agi","question_id":"deductions_credits.child_dependent_care.prior_year_agi","section_id":"deductions_credits","sentence":"Answer this so we can work out the credit for last year's care. You said you paid for it this year.","validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}},{"binds":"education_credits.students[].ssn","question_id":"deductions_credits.education_credits.students.ssn","section_id":"deductions_credits","sentence":"Add your student's Social Security number, or say their ITIN is applied for with this return. The education credit needs one or the other.","validator":"expatreturn_us.domain.credits.EducationStudent._check","when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.education_credits.students.itin_applied_for","value":false},{"op":"not","rules":[{"op":"answered","ref":"deductions_credits.education_credits.students.itin_applied_for"}]}]}},{"binds":"education_credits.students[].has_valid_ssn","question_id":"deductions_credits.education_credits.students.has_valid_ssn","section_id":"deductions_credits","sentence":"Say whether your student's Social Security number is valid for employment and was issued before your return is due. For this tax year the education credits cannot be claimed for a student you claim as a dependent without the answer.","validator":"expatreturn_us.engine.computations.f8863.student_identification_findings","when":{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]}},{"binds":"education_credits.students[].enrolled_half_time_degree_program","question_id":"deductions_credits.education_credits.students.enrolled_half_time_degree_program","section_id":"deductions_credits","sentence":"Answer this one for your student, or claim the other credit instead: the credit for the first four years of a degree cannot be claimed while it is unanswered.","validator":"expatreturn_us.domain.credits.EducationStudent._check","when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"}},{"binds":"education_credits.students[].completed_first_four_years","question_id":"deductions_credits.education_credits.students.completed_first_four_years","section_id":"deductions_credits","sentence":"Answer this one for your student, or claim the other credit instead: the credit for the first four years of a degree cannot be claimed while it is unanswered.","validator":"expatreturn_us.domain.credits.EducationStudent._check","when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"}},{"binds":"education_credits.students[].felony_drug_conviction","question_id":"deductions_credits.education_credits.students.felony_drug_conviction","section_id":"deductions_credits","sentence":"Answer this one for your student, or claim the other credit instead: the credit for the first four years of a degree cannot be claimed while it is unanswered.","validator":"expatreturn_us.domain.credits.EducationStudent._check","when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"}},{"binds":"education_credits.students[].institutions[].ein","question_id":"deductions_credits.education_credits.students.institutions.ein","section_id":"deductions_credits","sentence":"Add the college's nine-digit number from the statement it sent you. The credit for the first four years of a degree cannot be claimed without it.","validator":"expatreturn_us.filing_refusals.identifier_refusals","when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"}},{"binds":"roth_ira_year_end_value","question_id":"deductions_credits.roth_ira_year_end_value","section_id":"deductions_credits","sentence":"Answer this so we can work out how much of the move into the health savings account can stay out of income.","validator":"expatreturn_us.engine.computations.traditional_ira.finish_forms_8606","when":{"op":"gt","ref":"deductions_credits.health_savings_account.funding_distribution_roth_part","value":0}},{"binds":"spouse_roth_ira_year_end_value","question_id":"deductions_credits.spouse_roth_ira_year_end_value","section_id":"deductions_credits","sentence":"Answer this so we can work out how much of the move into the health savings account can stay out of income.","validator":"expatreturn_us.engine.computations.traditional_ira.finish_forms_8606","when":{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_roth_part","value":0}},{"binds":"health_savings_account_holders","question_id":"deductions_credits.health_savings_account_holders","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}},{"binds":"hsa_spouse_has_own_account","question_id":"deductions_credits.hsa_spouse_has_own_account","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}]}},{"binds":"health_savings_account.coverage","question_id":"deductions_credits.health_savings_account.coverage","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.months_self_only","question_id":"deductions_credits.health_savings_account.months_self_only","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]}},{"binds":"health_savings_account.months_family","question_id":"deductions_credits.health_savings_account.months_family","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]}},{"binds":"health_savings_account.december_coverage","question_id":"deductions_credits.health_savings_account.december_coverage","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]}},{"binds":"health_savings_account.contributions","question_id":"deductions_credits.health_savings_account.contributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.employer_other_year","question_id":"deductions_credits.health_savings_account.employer_other_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.lost_eligibility_after_last_month_rule","question_id":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.funding_distribution_from_ira","question_id":"deductions_credits.health_savings_account.funding_distribution_from_ira","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.lost_eligibility_after_funding_distribution","question_id":"deductions_credits.health_savings_account.lost_eligibility_after_funding_distribution","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.inherited_from_non_spouse","question_id":"deductions_credits.health_savings_account.inherited_from_non_spouse","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.deemed_distribution","question_id":"deductions_credits.health_savings_account.deemed_distribution","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.excess_contributions","question_id":"deductions_credits.health_savings_account.excess_contributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.employer_prior_year_part","question_id":"deductions_credits.health_savings_account.employer_prior_year_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.employer_other_year"}]}},{"binds":"health_savings_account.employer_paid_after_year","question_id":"deductions_credits.health_savings_account.employer_paid_after_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.employer_other_year"}]}},{"binds":"health_savings_account.distributions","question_id":"deductions_credits.health_savings_account.distributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.rolled_over_or_excess_withdrawn","question_id":"deductions_credits.health_savings_account.rolled_over_or_excess_withdrawn","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0}]}},{"binds":"health_savings_account.qualified_medical_expenses","question_id":"deductions_credits.health_savings_account.qualified_medical_expenses","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0}]}},{"binds":"health_savings_account.taxed_part_after_disability_or_65","question_id":"deductions_credits.health_savings_account.taxed_part_after_disability_or_65","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0},{"op":"not","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":66}]}]}]}]}]}},{"binds":"health_savings_account.funding_distribution_amount","question_id":"deductions_credits.health_savings_account.funding_distribution_amount","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]}},{"binds":"health_savings_account.funding_distribution_earlier_move","question_id":"deductions_credits.health_savings_account.funding_distribution_earlier_move","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]}},{"binds":"health_savings_account.funding_distribution_from_ongoing_plan","question_id":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. A move from a SEP or SIMPLE IRA an employer still pays into cannot stay out of income.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]}},{"binds":"health_savings_account.funding_distribution_early_part","question_id":"deductions_credits.health_savings_account.funding_distribution_early_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]}]}]}]}]}},{"binds":"health_savings_account.funding_distribution_roth_part","question_id":"deductions_credits.health_savings_account.funding_distribution_roth_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"T"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"T"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}},{"binds":"health_savings_account.failed_funding_distribution_amount","question_id":"deductions_credits.health_savings_account.failed_funding_distribution_amount","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_funding_distribution"}]}},{"binds":"health_savings_account.inherited_value_at_death","question_id":"deductions_credits.health_savings_account.inherited_value_at_death","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]}},{"binds":"health_savings_account.inherited_decedent_expenses_paid","question_id":"deductions_credits.health_savings_account.inherited_decedent_expenses_paid","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]}},{"binds":"health_savings_account.inherited_earnings_after_death","question_id":"deductions_credits.health_savings_account.inherited_earnings_after_death","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]}},{"binds":"health_savings_account.prior_year_excess","question_id":"deductions_credits.health_savings_account.prior_year_excess","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.excess_withdrawn_by_due_date","question_id":"deductions_credits.health_savings_account.excess_withdrawn_by_due_date","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.year_end_value","question_id":"deductions_credits.health_savings_account.year_end_value","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.excess_employer_in_wages","question_id":"deductions_credits.health_savings_account.excess_employer_in_wages","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.excess_withdrawn_employer_part","question_id":"deductions_credits.health_savings_account.excess_withdrawn_employer_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.health_savings_account.excess_withdrawn_by_due_date","value":0},{"op":"answered","ref":"deductions_credits.health_savings_account.excess_employer_in_wages"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_employer_in_wages"}]}]}]}},{"binds":"health_savings_account.withdrawn_excess_earnings","question_id":"deductions_credits.health_savings_account.withdrawn_excess_earnings","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.prior_year_contributions","question_id":"deductions_credits.health_savings_account.prior_year_contributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"health_savings_account.prior_year_months_self_only","question_id":"deductions_credits.health_savings_account.prior_year_months_self_only","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"health_savings_account.prior_year_months_family","question_id":"deductions_credits.health_savings_account.prior_year_months_family","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"spouse_health_savings_account.coverage","question_id":"deductions_credits.spouse_health_savings_account.coverage","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.months_self_only","question_id":"deductions_credits.spouse_health_savings_account.months_self_only","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]}},{"binds":"spouse_health_savings_account.months_family","question_id":"deductions_credits.spouse_health_savings_account.months_family","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]}},{"binds":"spouse_health_savings_account.december_coverage","question_id":"deductions_credits.spouse_health_savings_account.december_coverage","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]}},{"binds":"spouse_health_savings_account.contributions","question_id":"deductions_credits.spouse_health_savings_account.contributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.employer_other_year","question_id":"deductions_credits.spouse_health_savings_account.employer_other_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.lost_eligibility_after_last_month_rule","question_id":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.funding_distribution_from_ira","question_id":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.lost_eligibility_after_funding_distribution","question_id":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_funding_distribution","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.inherited_from_non_spouse","question_id":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.deemed_distribution","question_id":"deductions_credits.spouse_health_savings_account.deemed_distribution","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.excess_contributions","question_id":"deductions_credits.spouse_health_savings_account.excess_contributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.employer_prior_year_part","question_id":"deductions_credits.spouse_health_savings_account.employer_prior_year_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.employer_other_year"}]}},{"binds":"spouse_health_savings_account.employer_paid_after_year","question_id":"deductions_credits.spouse_health_savings_account.employer_paid_after_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.employer_other_year"}]}},{"binds":"spouse_health_savings_account.distributions","question_id":"deductions_credits.spouse_health_savings_account.distributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.rolled_over_or_excess_withdrawn","question_id":"deductions_credits.spouse_health_savings_account.rolled_over_or_excess_withdrawn","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0}]}},{"binds":"spouse_health_savings_account.qualified_medical_expenses","question_id":"deductions_credits.spouse_health_savings_account.qualified_medical_expenses","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0}]}},{"binds":"spouse_health_savings_account.taxed_part_after_disability_or_65","question_id":"deductions_credits.spouse_health_savings_account.taxed_part_after_disability_or_65","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0},{"op":"not","rules":[{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":66}]}]}]}]}]}},{"binds":"spouse_health_savings_account.funding_distribution_amount","question_id":"deductions_credits.spouse_health_savings_account.funding_distribution_amount","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]}},{"binds":"spouse_health_savings_account.funding_distribution_earlier_move","question_id":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]}},{"binds":"spouse_health_savings_account.funding_distribution_from_ongoing_plan","question_id":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. A move from a SEP or SIMPLE IRA an employer still pays into cannot stay out of income.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]}},{"binds":"spouse_health_savings_account.funding_distribution_early_part","question_id":"deductions_credits.spouse_health_savings_account.funding_distribution_early_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]}]}]}]}]}},{"binds":"spouse_health_savings_account.funding_distribution_roth_part","question_id":"deductions_credits.spouse_health_savings_account.funding_distribution_roth_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"T"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"T"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}},{"binds":"spouse_health_savings_account.failed_funding_distribution_amount","question_id":"deductions_credits.spouse_health_savings_account.failed_funding_distribution_amount","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_funding_distribution"}]}},{"binds":"spouse_health_savings_account.inherited_value_at_death","question_id":"deductions_credits.spouse_health_savings_account.inherited_value_at_death","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]}},{"binds":"spouse_health_savings_account.inherited_decedent_expenses_paid","question_id":"deductions_credits.spouse_health_savings_account.inherited_decedent_expenses_paid","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]}},{"binds":"spouse_health_savings_account.inherited_earnings_after_death","question_id":"deductions_credits.spouse_health_savings_account.inherited_earnings_after_death","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]}},{"binds":"spouse_health_savings_account.prior_year_excess","question_id":"deductions_credits.spouse_health_savings_account.prior_year_excess","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.excess_withdrawn_by_due_date","question_id":"deductions_credits.spouse_health_savings_account.excess_withdrawn_by_due_date","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.year_end_value","question_id":"deductions_credits.spouse_health_savings_account.year_end_value","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.excess_employer_in_wages","question_id":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.excess_withdrawn_employer_part","question_id":"deductions_credits.spouse_health_savings_account.excess_withdrawn_employer_part","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.excess_withdrawn_by_due_date","value":0},{"op":"answered","ref":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages"}]}]}]}},{"binds":"spouse_health_savings_account.withdrawn_excess_earnings","question_id":"deductions_credits.spouse_health_savings_account.withdrawn_excess_earnings","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.prior_year_contributions","question_id":"deductions_credits.spouse_health_savings_account.prior_year_contributions","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"spouse_health_savings_account.prior_year_months_self_only","question_id":"deductions_credits.spouse_health_savings_account.prior_year_months_self_only","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"spouse_health_savings_account.prior_year_months_family","question_id":"deductions_credits.spouse_health_savings_account.prior_year_months_family","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"hsa_family_limit_split_agreed","question_id":"deductions_credits.hsa_family_limit_split_agreed","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"deductions_credits.health_savings_account_holders","value":"both"},{"op":"or","rules":[{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]},{"op":"in","ref":"deductions_credits.spouse_health_savings_account.coverage","values":["family","changed"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.hsa_spouse_has_own_account"},{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]}]}]}]}]}},{"binds":"hsa_family_limit_taxpayer_percent","question_id":"deductions_credits.hsa_family_limit_taxpayer_percent","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 8889. You said money went into or came out of a health savings account.","validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"deductions_credits.health_savings_account_holders","value":"both"},{"op":"or","rules":[{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]},{"op":"in","ref":"deductions_credits.spouse_health_savings_account.coverage","values":["family","changed"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.hsa_spouse_has_own_account"},{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]}]}]}]},{"op":"truthy","ref":"deductions_credits.hsa_family_limit_split_agreed"}]}]}},{"binds":"prior_year_minimum_tax.ftc_without_form_1116","question_id":"deductions_credits.prior_year_minimum_tax.ftc_without_form_1116","section_id":"deductions_credits","sentence":"Say whether last year's credit for tax paid abroad was claimed without Form 1116. You said last year's return took that credit, and the answer decides a line of Form 8801.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.prior_year_minimum_tax.form_6251_line_8","value":0},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.foreign_tax_credit_claimed"}]}]}},{"binds":"prior_year_minimum_tax.schedule_3_line_1","question_id":"deductions_credits.prior_year_minimum_tax.schedule_3_line_1","section_id":"deductions_credits","sentence":"Add the credit on line 1 of last year's Schedule 3. With no Form 1116 last year, it is the credit this form subtracts.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.ftc_without_form_1116"}},{"binds":"prior_year_minimum_tax.k1_exclusion_items","question_id":"deductions_credits.prior_year_minimum_tax.k1_exclusion_items","section_id":"deductions_credits","sentence":"Add the amount from your records, or 0 if none. You said last year's return carried one of the less usual items, and this credit needs each of them.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.line_3_exclusion_adjustments","question_id":"deductions_credits.prior_year_minimum_tax.line_3_exclusion_adjustments","section_id":"deductions_credits","sentence":"Add the amount from your records, or 0 if none. You said last year's return carried one of the less usual items, and this credit needs each of them.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.exclusion_items_elsewhere","question_id":"deductions_credits.prior_year_minimum_tax.exclusion_items_elsewhere","section_id":"deductions_credits","sentence":"Add the amount from your records, or 0 if none. You said last year's return carried one of the less usual items, and this credit needs each of them.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.mtcnold","question_id":"deductions_credits.prior_year_minimum_tax.mtcnold","section_id":"deductions_credits","sentence":"Add the amount from your records, or 0 if none. You said last year's return carried one of the less usual items, and this credit needs each of them.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.unallowed_ev_credit","question_id":"deductions_credits.prior_year_minimum_tax.unallowed_ev_credit","section_id":"deductions_credits","sentence":"Add the amount from your records, or 0 if none. You said last year's return carried one of the less usual items, and this credit needs each of them.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.preferential_items","question_id":"deductions_credits.prior_year_minimum_tax.preferential_items","section_id":"deductions_credits","sentence":"Say whether last year's return had qualified dividends or a capital gain. It decides whether the credit is worked out at the lower rates for those gains.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"}},{"binds":"prior_year_minimum_tax.completed_worksheet","question_id":"deductions_credits.prior_year_minimum_tax.completed_worksheet","section_id":"deductions_credits","sentence":"Choose the worksheet last year's instructions send you to. Its first lines give the gains this credit is worked out on.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]}},{"binds":"prior_year_minimum_tax.taxable_income","question_id":"deductions_credits.prior_year_minimum_tax.taxable_income","section_id":"deductions_credits","sentence":"Add line 15 of last year's Form 1040, or 0 if it was zero or less. With no worksheet last year, it fills two lines of this credit.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]}},{"binds":"prior_year_minimum_tax.feitw_line_3","question_id":"deductions_credits.prior_year_minimum_tax.feitw_line_3","section_id":"deductions_credits","sentence":"Add line 3 of last year's Foreign Earned Income Tax Worksheet. With Form 2555 and no worksheet last year, it fills two lines of this credit.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.qdcgt_line_4","question_id":"deductions_credits.prior_year_minimum_tax.qdcgt_line_4","section_id":"deductions_credits","sentence":"Add line 4 of last year's Qualified Dividends and Capital Gain Tax Worksheet. It is the gain this credit is worked out on.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"qualified_dividends"}]}]}},{"binds":"prior_year_minimum_tax.qdcgt_line_5","question_id":"deductions_credits.prior_year_minimum_tax.qdcgt_line_5","section_id":"deductions_credits","sentence":"Add line 5 of last year's Qualified Dividends and Capital Gain Tax Worksheet. This credit uses it twice.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"}},{"binds":"prior_year_minimum_tax.sdtw_line_10","question_id":"deductions_credits.prior_year_minimum_tax.sdtw_line_10","section_id":"deductions_credits","sentence":"Add line 10 of last year's Schedule D Tax Worksheet. This credit needs that figure.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}},{"binds":"prior_year_minimum_tax.sdtw_line_13","question_id":"deductions_credits.prior_year_minimum_tax.sdtw_line_13","section_id":"deductions_credits","sentence":"Add line 13 of last year's Schedule D Tax Worksheet. It is the gain this credit is worked out on.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}},{"binds":"prior_year_minimum_tax.schedule_d_line_19","question_id":"deductions_credits.prior_year_minimum_tax.schedule_d_line_19","section_id":"deductions_credits","sentence":"Add line 19 of last year's Schedule D, or 0 if it was blank. Real estate gain on that line is taxed at its own rate in this credit.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}},{"binds":"prior_year_minimum_tax.sdtw_line_14","question_id":"deductions_credits.prior_year_minimum_tax.sdtw_line_14","section_id":"deductions_credits","sentence":"Add line 14 of last year's Schedule D Tax Worksheet. This credit needs that figure.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"}},{"binds":"prior_year_minimum_tax.sdtw_line_21","question_id":"deductions_credits.prior_year_minimum_tax.sdtw_line_21","section_id":"deductions_credits","sentence":"Add line 21 of last year's Schedule D Tax Worksheet. This credit needs that figure.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"}},{"binds":"prior_year_minimum_tax.sdtw_line_6","question_id":"deductions_credits.prior_year_minimum_tax.sdtw_line_6","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.sdtw_line_9","question_id":"deductions_credits.prior_year_minimum_tax.sdtw_line_9","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.schedule_d_line_18","question_id":"deductions_credits.prior_year_minimum_tax.schedule_d_line_18","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_13","question_id":"deductions_credits.prior_year_minimum_tax.s1250_line_13","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_14","question_id":"deductions_credits.prior_year_minimum_tax.s1250_line_14","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_15","question_id":"deductions_credits.prior_year_minimum_tax.s1250_line_15","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_16","question_id":"deductions_credits.prior_year_minimum_tax.s1250_line_16","section_id":"deductions_credits","sentence":"Add this line from your records. With Form 2555 and this worksheet last year, this credit may need to work it out again.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.amt_worksheet_differs","question_id":"deductions_credits.prior_year_minimum_tax.amt_worksheet_differs","section_id":"deductions_credits","sentence":"Say whether last year's gains were different for the alternative minimum tax. The credit uses the worksheet as figured for that tax.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"qualified_dividends"}]}]},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}]}},{"binds":"prior_year_minimum_tax.amt_worksheet_line","question_id":"deductions_credits.prior_year_minimum_tax.amt_worksheet_line","section_id":"deductions_credits","sentence":"Add that worksheet line as your records figure it for the alternative minimum tax. The credit is worked out on it.","validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.amt_worksheet_differs"}},{"binds":"educator_expenses.taxpayer_expenses","question_id":"deductions_credits.educator_expenses.taxpayer_expenses","section_id":"deductions_credits","sentence":"Answer this so we can work out your educator expense deduction. You said you paid for classroom costs as an educator.","validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_educator_expenses","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"educator_expenses.spouse_expenses","question_id":"deductions_credits.educator_expenses.spouse_expenses","section_id":"deductions_credits","sentence":"Answer this so we can work out your educator expense deduction. You said you paid for classroom costs as an educator.","validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_educator_expenses","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"educator_expenses.schools_in_united_states","question_id":"deductions_credits.educator_expenses.schools_in_united_states","section_id":"deductions_credits","sentence":"Answer this so we can work out your educator expense deduction. You said you paid for classroom costs as an educator.","validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_educator_expenses","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"early_withdrawal_penalty","question_id":"deductions_credits.early_withdrawal_penalty","section_id":"deductions_credits","sentence":"Add the penalty from box 2 of your Form 1099-INT. You said a bank charged you one for taking savings out early.","validator":"expatreturn_us.engine.computations.sch1_adjustments.early_withdrawal_penalty_line","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.early_withdrawal_penalty"},{"op":"truthy","ref":"deductions_credits.screened_inputs.early_withdrawal_penalty"}]}},{"binds":"student_loan_interest_paid","question_id":"deductions_credits.student_loan_interest_paid","section_id":"deductions_credits","sentence":"Add the interest you paid, from box 1 of your Form 1098-E. You said you paid interest on a student loan.","validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_student_loan_interest","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.student_loan_interest"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.student_loan_interest"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}]}]}},{"binds":"residential_energy.joint_occupancy","question_id":"deductions_credits.residential_energy.joint_occupancy","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.solar_electric_costs","question_id":"deductions_credits.residential_energy.solar_electric_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.solar_water_heating_costs","question_id":"deductions_credits.residential_energy.solar_water_heating_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.small_wind_costs","question_id":"deductions_credits.residential_energy.small_wind_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.geothermal_heat_pump_costs","question_id":"deductions_credits.residential_energy.geothermal_heat_pump_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.battery_storage_costs","question_id":"deductions_credits.residential_energy.battery_storage_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.battery_at_least_3_kwh","question_id":"deductions_credits.residential_energy.battery_at_least_3_kwh","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0}]}]}},{"binds":"residential_energy.biomass_fuel_costs","question_id":"deductions_credits.residential_energy.biomass_fuel_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2020},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.fuel_cell_costs","question_id":"deductions_credits.residential_energy.fuel_cell_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.fuel_cell_main_home_in_us","question_id":"deductions_credits.residential_energy.fuel_cell_main_home_in_us","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}},{"binds":"residential_energy.fuel_cell_home","question_id":"deductions_credits.residential_energy.fuel_cell_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_main_home_in_us"}]}]}},{"binds":"residential_energy.fuel_cell_capacity_watts","question_id":"deductions_credits.residential_energy.fuel_cell_capacity_watts","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}},{"binds":"residential_energy.fuel_cell_total_paid_by_all","question_id":"deductions_credits.residential_energy.fuel_cell_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]}},{"binds":"residential_energy.fuel_cell_spouse_different_home","question_id":"deductions_credits.residential_energy.fuel_cell_spouse_different_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]}},{"binds":"residential_energy.fuel_cell_spouse_costs","question_id":"deductions_credits.residential_energy.fuel_cell_spouse_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"binds":"residential_energy.fuel_cell_spouse_home","question_id":"deductions_credits.residential_energy.fuel_cell_spouse_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"binds":"residential_energy.fuel_cell_spouse_capacity_watts","question_id":"deductions_credits.residential_energy.fuel_cell_spouse_capacity_watts","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"binds":"residential_energy.fuel_cell_spouse_total_paid_by_all","question_id":"deductions_credits.residential_energy.fuel_cell_spouse_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"binds":"residential_energy.clean_energy_home","question_id":"deductions_credits.residential_energy.clean_energy_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]}]}},{"binds":"residential_energy.clean_energy_more_than_one_home","question_id":"deductions_credits.residential_energy.clean_energy_more_than_one_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]}]}},{"binds":"residential_energy.clean_energy_home_cost","question_id":"deductions_credits.residential_energy.clean_energy_home_cost","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"truthy","ref":"deductions_credits.residential_energy.clean_energy_more_than_one_home"}]}]}},{"binds":"residential_energy.clean_energy_business_use","question_id":"deductions_credits.residential_energy.clean_energy_business_use","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]}},{"binds":"residential_energy.clean_energy_personal_use_percent","question_id":"deductions_credits.residential_energy.clean_energy_personal_use_percent","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]},{"op":"eq","ref":"deductions_credits.residential_energy.clean_energy_business_use","value":"same_share"}]}]}},{"binds":"residential_energy.carryforward_from_prior_year","question_id":"deductions_credits.residential_energy.carryforward_from_prior_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_clean_energy_carryforward"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_clean_energy_carryforward"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}]}},{"binds":"residential_energy.insulation_costs","question_id":"deductions_credits.residential_energy.insulation_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.insulation_total_paid_by_all","question_id":"deductions_credits.residential_energy.insulation_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0}]}]}]}},{"binds":"residential_energy.items[].qmid","question_id":"deductions_credits.residential_energy.items.qmid","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"eq","ref":"context.tax_year","value":2025}},{"binds":"residential_energy.items[].total_paid_by_all","question_id":"deductions_credits.residential_energy.items.total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"}},{"binds":"residential_energy.enabling_property_costs","question_id":"deductions_credits.residential_energy.enabling_property_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.enabling_property_enables","question_id":"deductions_credits.residential_energy.enabling_property_enables","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.enabling_installed_with_enabled_this_year","question_id":"deductions_credits.residential_energy.enabling_installed_with_enabled_this_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.enabling_consecutive_year","question_id":"deductions_credits.residential_energy.enabling_consecutive_year","section_id":"deductions_credits","sentence":"Say whether the panel and the item it serves went in a year apart. You said they did not both go in this year, and the answer decides whether the panel gets the credit.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"eq","ref":"deductions_credits.residential_energy.enabling_installed_with_enabled_this_year","value":false}]}]}]}},{"binds":"residential_energy.enabling_property_qmid","question_id":"deductions_credits.residential_energy.enabling_property_qmid","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.enabling_total_paid_by_all","question_id":"deductions_credits.residential_energy.enabling_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}]}},{"binds":"residential_energy.home_energy_audit_costs","question_id":"deductions_credits.residential_energy.home_energy_audit_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.home_energy_audit_qualified","question_id":"deductions_credits.residential_energy.home_energy_audit_qualified","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0}]}]}},{"binds":"residential_energy.audit_total_paid_by_all","question_id":"deductions_credits.residential_energy.audit_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0}]}]}]}},{"binds":"residential_energy.exterior_door_costs","question_id":"deductions_credits.residential_energy.exterior_door_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.roof_costs","question_id":"deductions_credits.residential_energy.roof_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.window_costs","question_id":"deductions_credits.residential_energy.window_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.window_total_paid_by_all","question_id":"deductions_credits.residential_energy.window_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}]}},{"binds":"residential_energy.prior_window_expenses","question_id":"deductions_credits.residential_energy.prior_window_expenses","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}},{"binds":"residential_energy.building_property_costs","question_id":"deductions_credits.residential_energy.building_property_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.building_total_paid_by_all","question_id":"deductions_credits.residential_energy.building_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0}]}]}]}},{"binds":"residential_energy.furnace_costs","question_id":"deductions_credits.residential_energy.furnace_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.furnace_total_paid_by_all","question_id":"deductions_credits.residential_energy.furnace_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0}]}]}]}},{"binds":"residential_energy.circulating_fan_costs","question_id":"deductions_credits.residential_energy.circulating_fan_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.fan_total_paid_by_all","question_id":"deductions_credits.residential_energy.fan_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.improvement_home","question_id":"deductions_credits.residential_energy.improvement_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.improvement_home_is_main_home","question_id":"deductions_credits.residential_energy.improvement_home_is_main_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.original_user","question_id":"deductions_credits.residential_energy.original_user","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.expected_five_years","question_id":"deductions_credits.residential_energy.expected_five_years","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.construction_related","question_id":"deductions_credits.residential_energy.construction_related","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.condo_or_cooperative_share","question_id":"deductions_credits.residential_energy.condo_or_cooperative_share","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.improvement_home_owned","question_id":"deductions_credits.residential_energy.improvement_home_owned","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}},{"binds":"residential_energy.improvement_business_use","question_id":"deductions_credits.residential_energy.improvement_business_use","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.improvement_home_owned","value":false}]}]}]}},{"binds":"residential_energy.improvement_personal_use_percent","question_id":"deductions_credits.residential_energy.improvement_personal_use_percent","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.improvement_home_owned","value":false}]}]},{"op":"eq","ref":"deductions_credits.residential_energy.improvement_business_use","value":"same_share"}]}]}},{"binds":"residential_energy.line_24_all_owners","question_id":"deductions_credits.residential_energy.line_24_all_owners","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouses_separate_main_homes","question_id":"deductions_credits.residential_energy.spouses_separate_main_homes","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"residential_energy.prior_lifetime_credit","question_id":"deductions_credits.residential_energy.prior_lifetime_credit","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}]}]}]}},{"binds":"residential_energy.spouse_home.joint_occupancy","question_id":"deductions_credits.residential_energy.spouse_home.joint_occupancy","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}},{"binds":"residential_energy.spouse_home.insulation_costs","question_id":"deductions_credits.residential_energy.spouse_home.insulation_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}},{"binds":"residential_energy.spouse_home.insulation_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.insulation_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.items[].qmid","question_id":"deductions_credits.residential_energy.spouse_home.items.qmid","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"eq","ref":"context.tax_year","value":2025}},{"binds":"residential_energy.spouse_home.items[].total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.items.total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"}},{"binds":"residential_energy.spouse_home.enabling_property_costs","question_id":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.spouse_home.enabling_property_enables","question_id":"deductions_credits.residential_energy.spouse_home.enabling_property_enables","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.enabling_installed_with_enabled_this_year","question_id":"deductions_credits.residential_energy.spouse_home.enabling_installed_with_enabled_this_year","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.enabling_consecutive_year","question_id":"deductions_credits.residential_energy.spouse_home.enabling_consecutive_year","section_id":"deductions_credits","sentence":"Say whether the panel and the item it serves went in a year apart. You said they did not both go in this year, and the answer decides whether the panel gets the credit.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"eq","ref":"deductions_credits.residential_energy.spouse_home.enabling_installed_with_enabled_this_year","value":false}]}]}]}},{"binds":"residential_energy.spouse_home.enabling_property_qmid","question_id":"deductions_credits.residential_energy.spouse_home.enabling_property_qmid","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.enabling_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.enabling_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.home_energy_audit_costs","question_id":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.spouse_home.home_energy_audit_qualified","question_id":"deductions_credits.residential_energy.spouse_home.home_energy_audit_qualified","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.audit_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.audit_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.exterior_door_costs","question_id":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.spouse_home.roof_costs","question_id":"deductions_credits.residential_energy.spouse_home.roof_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.spouse_home.window_costs","question_id":"deductions_credits.residential_energy.spouse_home.window_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.spouse_home.window_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.window_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.prior_window_expenses","question_id":"deductions_credits.residential_energy.spouse_home.prior_window_expenses","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.building_property_costs","question_id":"deductions_credits.residential_energy.spouse_home.building_property_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.spouse_home.building_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.building_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.furnace_costs","question_id":"deductions_credits.residential_energy.spouse_home.furnace_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.spouse_home.furnace_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.furnace_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.circulating_fan_costs","question_id":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.spouse_home.fan_total_paid_by_all","question_id":"deductions_credits.residential_energy.spouse_home.fan_total_paid_by_all","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_home","question_id":"deductions_credits.residential_energy.spouse_home.improvement_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.improvement_home_is_main_home","question_id":"deductions_credits.residential_energy.spouse_home.improvement_home_is_main_home","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.original_user","question_id":"deductions_credits.residential_energy.spouse_home.original_user","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.expected_five_years","question_id":"deductions_credits.residential_energy.spouse_home.expected_five_years","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.construction_related","question_id":"deductions_credits.residential_energy.spouse_home.construction_related","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.condo_or_cooperative_share","question_id":"deductions_credits.residential_energy.spouse_home.condo_or_cooperative_share","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_home_owned","question_id":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}},{"binds":"residential_energy.spouse_home.improvement_business_use","question_id":"deductions_credits.residential_energy.spouse_home.improvement_business_use","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","value":false}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_personal_use_percent","question_id":"deductions_credits.residential_energy.spouse_home.improvement_personal_use_percent","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","value":false}]}]},{"op":"eq","ref":"deductions_credits.residential_energy.spouse_home.improvement_business_use","value":"same_share"}]}]}},{"binds":"residential_energy.spouse_home.prior_lifetime_credit","question_id":"deductions_credits.residential_energy.spouse_home.prior_lifetime_credit","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.line_24_all_owners","question_id":"deductions_credits.residential_energy.spouse_home.line_24_all_owners","section_id":"deductions_credits","sentence":"Answer this so we can fill in Form 5695. You said you paid for solar, a battery or energy-saving changes to your home.","validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}]}},{"binds":"taxpayer.has_valid_ssn","question_id":"deductions_credits.taxpayer.has_valid_ssn","section_id":"deductions_credits","sentence":"Say whether your Social Security number is valid for employment and was issued before your return is due. A deduction or credit on your return cannot be claimed without the answer.","validator":"expatreturn_us.engine.computations.valid_ssn.person_has_valid_ssn","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2024},{"op":"ne","ref":"about_you.filing_status","value":"mfs"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"any_row","ref":"deductions_credits.additional_deductions.employee_tips","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.employee_tips.owner","value":"spouse"}]}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_w2_rows","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.overtime_w2_rows.owner","value":"spouse"}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_1099_rows","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.overtime_1099_rows.owner","value":"spouse"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"count_gt","ref":"deductions_credits.additional_deductions.business_tips","value":0}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":65}]}]}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]}]}},{"binds":"spouse.has_valid_ssn","question_id":"deductions_credits.spouse.has_valid_ssn","section_id":"deductions_credits","sentence":"Say whether your spouse's Social Security number is valid for employment and was issued before your return is due. A deduction or credit on your return cannot be claimed without the answer.","validator":"expatreturn_us.engine.computations.valid_ssn.person_has_valid_ssn","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2024},{"op":"ne","ref":"about_you.filing_status","value":"mfs"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"any_row","ref":"deductions_credits.additional_deductions.employee_tips","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.employee_tips.owner","value":"spouse"}]}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_w2_rows","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.overtime_w2_rows.owner","value":"spouse"}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_1099_rows","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.overtime_1099_rows.owner","value":"spouse"}]}]},{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":65}]}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.taxpayer.has_valid_ssn"}]}]}]}]}},{"binds":"foreign_accounts[].pooled_fund","question_id":"foreign_accounts.foreign_accounts.pooled_fund","section_id":"foreign_accounts","sentence":"Answer whether your shares are in a mutual fund or similar pooled fund. A fund counts as an account for the foreign account report, and one set up abroad is worked out on Form 8621.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"stock_or_security"}},{"binds":"foreign_accounts[].pooled_fund_outside_us","question_id":"foreign_accounts.foreign_accounts.pooled_fund_outside_us","section_id":"foreign_accounts","sentence":"Answer whether your fund is set up outside the United States. Shares in one are taxed under rules of their own, worked out on Form 8621.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.pooled_fund"}},{"binds":"foreign_accounts[].joint_owner.first_name","question_id":"foreign_accounts.foreign_accounts.joint_owner.first_name","section_id":"foreign_accounts","sentence":"Add the first name of the person you hold this account with. Your FBAR reports the other holder's full name.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":false}},{"binds":"foreign_accounts[].joint_owner.last_name","question_id":"foreign_accounts.foreign_accounts.joint_owner.last_name","section_id":"foreign_accounts","sentence":"Add the last name of the person you hold this account with. Your FBAR reports the other holder's full name.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":false}},{"binds":"foreign_accounts[].joint_owner.organization_name","question_id":"foreign_accounts.foreign_accounts.joint_owner.organization_name","section_id":"foreign_accounts","sentence":"Add the full legal name of the company you hold this account with. Your FBAR reports it.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":true}},{"binds":"foreign_accounts[].joint_owner.id_number","question_id":"foreign_accounts.foreign_accounts.joint_owner.id_number","section_id":"foreign_accounts","sentence":"Add the tax number you chose for the other holder, or choose that you do not know it.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"in","ref":"foreign_accounts.foreign_accounts.joint_owner.id_kind","values":["ssn_itin","ein","foreign"]}},{"binds":"foreign_accounts[].joint_owner_count","question_id":"foreign_accounts.foreign_accounts.joint_owner_count","section_id":"foreign_accounts","sentence":"Add how many people hold this account with you. Your FBAR reports the number for an account you share, and your best estimate is accepted.","validator":"expatreturn_us.fbar.adapter.to_fbar_data","when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"}]}},{"binds":"foreign_accounts[].principal_owner.first_name","question_id":"foreign_accounts.foreign_accounts.principal_owner.first_name","section_id":"foreign_accounts","sentence":"Add the first name of the owner of this account. Your FBAR reports the owner's full name.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":false}},{"binds":"foreign_accounts[].principal_owner.last_name","question_id":"foreign_accounts.foreign_accounts.principal_owner.last_name","section_id":"foreign_accounts","sentence":"Add the last name of the owner of this account. Your FBAR reports the owner's full name.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":false}},{"binds":"foreign_accounts[].principal_owner.organization_name","question_id":"foreign_accounts.foreign_accounts.principal_owner.organization_name","section_id":"foreign_accounts","sentence":"Add the full legal name of the company that owns this account. Your FBAR reports it.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":true}},{"binds":"foreign_accounts[].principal_owner.address","question_id":"foreign_accounts.foreign_accounts.principal_owner.address","section_id":"foreign_accounts","sentence":"Add the address of the owner of this account. Your FBAR reports it for an account you only sign on.","validator":"expatreturn_us.fbar.adapter.to_fbar_data","when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"}},{"binds":"foreign_accounts[].principal_owner.id_number","question_id":"foreign_accounts.foreign_accounts.principal_owner.id_number","section_id":"foreign_accounts","sentence":"Add the tax number you chose for the owner, or choose that you do not know it.","validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","when":{"op":"in","ref":"foreign_accounts.foreign_accounts.principal_owner.id_kind","values":["ssn_itin","ein","foreign"]}},{"binds":"foreign_accounts[].filer_title","question_id":"foreign_accounts.foreign_accounts.filer_title","section_id":"foreign_accounts","sentence":"Add your title with the owner of this account. Your FBAR reports it for an account you only sign on.","validator":"expatreturn_us.fbar.adapter.to_fbar_data","when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"}},{"binds":"foreign_accounts[].exchange_rate","question_id":"foreign_accounts.foreign_accounts.exchange_rate","section_id":"foreign_accounts","sentence":"Add the exchange rate you used, as units of the currency for one dollar. Form 8938 shows it, because the United States Treasury publishes no rate for this currency.","validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_account","value":0}]}]}},{"binds":"foreign_accounts[].exchange_rate_source","question_id":"foreign_accounts.foreign_accounts.exchange_rate_source","section_id":"foreign_accounts","sentence":"Add where the exchange rate you used is published. Form 8938 names it, because the United States Treasury publishes no rate for this currency.","validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_account","value":0}]}]}},{"binds":"foreign_accounts[].reported_income_items","question_id":"foreign_accounts.foreign_accounts.reported_income_items","section_id":"foreign_accounts","sentence":"Select each income this account produced, or the last box if it produced none. Form 8938 lists the income your accounts abroad produced.","validator":"expatreturn_us.engine.computations.f8938.tax_item_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":true}]}},{"binds":"fbar_facts.late_filing_explanation","question_id":"foreign_accounts.fbar_facts.late_filing_explanation","section_id":"foreign_accounts","sentence":"Add a sentence on why your FBAR is late. FinCEN asks for it when the reason is something else, and a FinCEN notice number is enough.","validator":"expatreturn_us.domain.fbar.FbarFacts._check_amendment","when":{"op":"eq","ref":"foreign_accounts.fbar_facts.late_filing_reason","value":"Other"}},{"binds":"foreign_assets[].pooled_fund","question_id":"foreign_accounts.foreign_assets.pooled_fund","section_id":"foreign_accounts","sentence":"Answer whether your shares are in a mutual fund or similar pooled fund. One set up outside the United States is taxed under rules of its own, worked out on Form 8621.","validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"stock_or_security"}},{"binds":"foreign_assets[].disposed_on","question_id":"foreign_accounts.foreign_assets.disposed_on","section_id":"foreign_accounts","sentence":"Add the day you sold or gave up the asset. You said you did, and the form asks for the date.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"foreign_accounts.foreign_assets.disposed"}},{"binds":"foreign_assets[].exchange_rate","question_id":"foreign_accounts.foreign_assets.exchange_rate","section_id":"foreign_accounts","sentence":"Add the exchange rate you used, as units of the currency for one dollar. Form 8938 shows it, because the United States Treasury publishes no rate for this currency.","validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_assets.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_asset","value":0}]}]}},{"binds":"foreign_assets[].exchange_rate_source","question_id":"foreign_accounts.foreign_assets.exchange_rate_source","section_id":"foreign_accounts","sentence":"Add where the exchange rate you used is published. Form 8938 names it, because the United States Treasury publishes no rate for this currency.","validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_assets.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_asset","value":0}]}]}},{"binds":"foreign_assets[].reported_income_items","question_id":"foreign_accounts.foreign_assets.reported_income_items","section_id":"foreign_accounts","sentence":"Select each income this investment produced, or the last box if it produced none. Form 8938 lists the income your investments abroad produced.","validator":"expatreturn_us.engine.computations.f8938.tax_item_refusals","when":{"op":"truthy","ref":"foreign_accounts.has_foreign_assets"}},{"binds":"excepted_forms.form_3520","question_id":"foreign_accounts.excepted_forms.form_3520","section_id":"foreign_accounts","sentence":"Enter how many of at least one of these forms you filed, or answer no to whether you filed any of them. Form 8938 Part IV counts each form you filed.","validator":"expatreturn_us.domain.assets.ExceptedForms._names_a_form","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.filed_excepted_forms"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.excepted_forms.form_3520a"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.excepted_forms.form_5471"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.excepted_forms.form_8865"}]}]}]}},{"binds":"payments.former_spouse_ssn","question_id":"payments_refund.payments.former_spouse_ssn","section_id":"payments_refund","sentence":"Add your former spouse's nine-digit number. You said this year's installments were paid jointly with the spouse you divorced, and the Form 1040 instructions ask for that number on your return.","validator":"expatreturn_us.interview.authoring.presence_gates","when":{"op":"truthy","ref":"payments_refund.joint_estimated_with_former_spouse"}},{"binds":"payments.economic_impact_payment_1","question_id":"payments_refund.payments.economic_impact_payment_1","section_id":"payments_refund","sentence":"Add the amount on IRS Notice 1444, or 0 if none was sent. The recovery rebate credit on line 30 of your 2020 return is worked out from it.","validator":"expatreturn_us.engine.computations.recovery_rebate.compute_recovery_rebate","when":{"op":"eq","ref":"context.tax_year","value":2020}},{"binds":"payments.economic_impact_payment_2","question_id":"payments_refund.payments.economic_impact_payment_2","section_id":"payments_refund","sentence":"Add the amount on IRS Notice 1444-B, or 0 if none was sent. The recovery rebate credit on line 30 of your 2020 return is worked out from it.","validator":"expatreturn_us.engine.computations.recovery_rebate.compute_recovery_rebate","when":{"op":"eq","ref":"context.tax_year","value":2020}},{"binds":"payments.economic_impact_payment_3","question_id":"payments_refund.payments.economic_impact_payment_3","section_id":"payments_refund","sentence":"Add the amount on IRS Notice 1444-C, or 0 if none was sent. The recovery rebate credit on line 30 of your 2021 return is worked out from it.","validator":"expatreturn_us.engine.computations.recovery_rebate.compute_recovery_rebate","when":{"op":"eq","ref":"context.tax_year","value":2021}},{"binds":"payments.advance_child_tax_credit_received","question_id":"payments_refund.payments.advance_child_tax_credit_received","section_id":"payments_refund","sentence":"Say whether the IRS sent you advance child tax credit payments during 2021. Letter 6419 lists them, and a 2021 return has to account for them.","validator":"expatreturn_us.engine.computations.prior_year_law.prior_year_law_refusals","when":{"op":"eq","ref":"context.tax_year","value":2021}},{"binds":"child_tax_credit_2021.letter_6419_amount","question_id":"payments_refund.child_tax_credit_2021.letter_6419_amount","section_id":"payments_refund","sentence":"Add the amount in box 1 of your Letter 6419, or 0 if the IRS sent you none. Your 2021 Schedule 8812 needs it.","validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}},{"binds":"child_tax_credit_2021.letter_6419_children","question_id":"payments_refund.child_tax_credit_2021.letter_6419_children","section_id":"payments_refund","sentence":"Add the number of children in box 2 of your Letter 6419, or 0 if the IRS sent you none. It decides how much of any excess advance payment is paid back.","validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}},{"binds":"child_tax_credit_2021.spouse_letter_6419_amount","question_id":"payments_refund.child_tax_credit_2021.spouse_letter_6419_amount","section_id":"payments_refund","sentence":"Add the amount in box 1 of your spouse's Letter 6419, or 0 if the IRS sent them none. Your 2021 Schedule 8812 adds it to yours.","validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"child_tax_credit_2021.spouse_letter_6419_children","question_id":"payments_refund.child_tax_credit_2021.spouse_letter_6419_children","section_id":"payments_refund","sentence":"Add the number of children in box 2 of your spouse's Letter 6419, or 0 if the IRS sent them none. It decides how much of any excess advance payment is paid back.","validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"child_tax_credit_2021.us_main_home","question_id":"payments_refund.child_tax_credit_2021.us_main_home","section_id":"payments_refund","sentence":"Say whether your main home was in the United States for over half of 2021. It decides how your 2021 credits are worked out.","validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]}]}},{"binds":"child_tax_credit_2021.spouse_us_main_home","question_id":"payments_refund.child_tax_credit_2021.spouse_us_main_home","section_id":"payments_refund","sentence":"Say whether your spouse's main home was in the United States for over half of 2021. It decides how your 2021 credits are worked out.","validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"truthy","ref":"payments_refund.child_tax_credit_2021.us_main_home"}]}]}}],"context":{"2018":{"canada_plan_additions_limit":{"display":"$55,000","value":"55000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2019","value":"2019"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$16,624","value":"16624"},"housing_base_daily_rate":{"display":"$45.55","value":"45.55"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$4,150","value":"4150"},"regular_filing_due_date":{"display":"15 April 2019","value":"737164"},"return_year":{"display":"2018","value":"2018"},"return_year_less_1":{"display":"2017","value":"2017"},"return_year_less_2":{"display":"2016","value":"2016"},"return_year_less_3":{"display":"2015","value":"2015"},"return_year_less_4":{"display":"2014","value":"2014"},"return_year_less_5":{"display":"2013","value":"2013"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$18,000","value":"18000"},"mfj":{"display":"$24,000","value":"24000"},"mfs":{"display":"$12,000","value":"12000"},"qss":{"display":"$24,000","value":"24000"},"single":{"display":"$12,000","value":"12000"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"74.576","value":"74.576"},"ALL":{"display":"107.05","value":"107.05"},"AMD":{"display":"485","value":"485.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"310","value":"310.0"},"ARS":{"display":"37.642","value":"37.642"},"AUD":{"display":"1.416","value":"1.416"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.706","value":"1.706"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"84","value":"84.0"},"BGN":{"display":"1.707","value":"1.707"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1790","value":"1790.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.361","value":"1.361"},"BOB":{"display":"6.85","value":"6.85"},"BRL":{"display":"3.88","value":"3.88"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"10.661","value":"10.661"},"BYN":{"display":"2.16","value":"2.16"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.362","value":"1.362"},"CDF":{"display":"1630","value":"1630.0"},"CHF":{"display":"0.984","value":"0.984"},"CLP":{"display":"693.08","value":"693.08"},"CNY":{"display":"6.876","value":"6.876"},"COP":{"display":"3245","value":"3245.0"},"CRC":{"display":"603.5","value":"603.5"},"CUP":{"display":"1","value":"1.0"},"CVE":{"display":"94.88","value":"94.88"},"CZK":{"display":"21.941","value":"21.941"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.517","value":"6.517"},"DOP":{"display":"49.94","value":"49.94"},"DZD":{"display":"117.898","value":"117.898"},"EGP":{"display":"17.89","value":"17.89"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"28.04","value":"28.04"},"EUR":{"display":"0.872","value":"0.872"},"FJD":{"display":"2.108","value":"2.108"},"GBP":{"display":"0.781","value":"0.781"},"GEL":{"display":"2.67","value":"2.67"},"GHS":{"display":"4.825","value":"4.825"},"GMD":{"display":"50","value":"50.0"},"GNF":{"display":"9076","value":"9076.0"},"GTQ":{"display":"7.715","value":"7.715"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.832","value":"7.832"},"HNL":{"display":"25","value":"25.0"},"HRK":{"display":"6.31","value":"6.31"},"HTG":{"display":"77.118","value":"77.118"},"HUF":{"display":"280.17","value":"280.17"},"IDR":{"display":"14440","value":"14440.0"},"ILS":{"display":"3.749","value":"3.749"},"INR":{"display":"69.8","value":"69.8"},"IQD":{"display":"1138","value":"1138.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"116.11","value":"116.11"},"JMD":{"display":"126","value":"126.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"109.85","value":"109.85"},"KES":{"display":"101.8","value":"101.8"},"KGS":{"display":"69.8","value":"69.8"},"KHR":{"display":"4103","value":"4103.0"},"KMF":{"display":"428.14","value":"428.14"},"KRW":{"display":"1114.49","value":"1114.49"},"KWD":{"display":"0.303","value":"0.303"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"375.15","value":"375.15"},"LAK":{"display":"8535","value":"8535.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"182.6","value":"182.6"},"LRD":{"display":"156.71","value":"156.71"},"LYD":{"display":"1.386","value":"1.386"},"MAD":{"display":"9.53","value":"9.53"},"MDL":{"display":"16.993","value":"16.993"},"MGA":{"display":"3470.2","value":"3470.2"},"MKD":{"display":"53.5","value":"53.5"},"MMK":{"display":"1535","value":"1535.0"},"MNT":{"display":"2642.92","value":"2642.92"},"MRU":{"display":"36","value":"36.0"},"MUR":{"display":"34.15","value":"34.15"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"733","value":"733.0"},"MXN":{"display":"19.654","value":"19.654"},"MYR":{"display":"4.13","value":"4.13"},"MZN":{"display":"61.53","value":"61.53"},"NAD":{"display":"14.35","value":"14.35"},"NGN":{"display":"361","value":"361.0"},"NIO":{"display":"32.3","value":"32.3"},"NOK":{"display":"8.68","value":"8.68"},"NPR":{"display":"111.6","value":"111.6"},"NZD":{"display":"1.49","value":"1.49"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.375","value":"3.375"},"PGK":{"display":"3.284","value":"3.284"},"PHP":{"display":"52.49","value":"52.49"},"PKR":{"display":"138.6","value":"138.6"},"PLN":{"display":"3.753","value":"3.753"},"PYG":{"display":"5956","value":"5956.0"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.069","value":"4.069"},"RSD":{"display":"103.39","value":"103.39"},"RUB":{"display":"69.68","value":"69.68"},"RWF":{"display":"890","value":"890.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.752","value":"7.752"},"SCR":{"display":"13.55","value":"13.55"},"SDG":{"display":"47","value":"47.0"},"SEK":{"display":"8.938","value":"8.938"},"SGD":{"display":"1.361","value":"1.361"},"SLL":{"display":"8620","value":"8620.0"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"7.52","value":"7.52"},"SSP":{"display":"153.7","value":"153.7"},"STN":{"display":"21.535","value":"21.535"},"SYP":{"display":"515","value":"515.0"},"SZL":{"display":"14.35","value":"14.35"},"THB":{"display":"32.35","value":"32.35"},"TJS":{"display":"9.35","value":"9.35"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.009","value":"3.009"},"TOP":{"display":"2.173","value":"2.173"},"TRY":{"display":"5.283","value":"5.283"},"TTD":{"display":"6.77","value":"6.77"},"TWD":{"display":"30.588","value":"30.588"},"TZS":{"display":"2295","value":"2295.0"},"UAH":{"display":"27.7","value":"27.7"},"UGX":{"display":"3705","value":"3705.0"},"UYU":{"display":"32.32","value":"32.32"},"UZS":{"display":"8310","value":"8310.0"},"VES":{"display":"563.98","value":"563.98"},"VND":{"display":"23190","value":"23190.0"},"VUV":{"display":"111.69","value":"111.69"},"WST":{"display":"2.535","value":"2.535"},"XAF":{"display":"603.87","value":"603.87"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"568.65","value":"568.65"},"YER":{"display":"480","value":"480.0"},"ZAR":{"display":"14.35","value":"14.35"},"ZMW":{"display":"11.9","value":"11.9"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"74.576","value":"74.576"},"ALL":{"display":"107.05","value":"107.05"},"AMD":{"display":"485","value":"485.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"310","value":"310.0"},"ARS":{"display":"37.642","value":"37.642"},"AUD":{"display":"1.416","value":"1.416"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.706","value":"1.706"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"84","value":"84.0"},"BGN":{"display":"1.707","value":"1.707"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1790","value":"1790.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.361","value":"1.361"},"BOB":{"display":"6.85","value":"6.85"},"BRL":{"display":"3.88","value":"3.88"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"10.661","value":"10.661"},"BYN":{"display":"2.16","value":"2.16"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.362","value":"1.362"},"CDF":{"display":"1630","value":"1630.0"},"CHF":{"display":"0.984","value":"0.984"},"CLP":{"display":"693.08","value":"693.08"},"CNY":{"display":"6.876","value":"6.876"},"COP":{"display":"3245","value":"3245.0"},"CRC":{"display":"603.5","value":"603.5"},"CUP":{"display":"1","value":"1.0"},"CVE":{"display":"94.88","value":"94.88"},"CZK":{"display":"21.941","value":"21.941"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.517","value":"6.517"},"DOP":{"display":"49.94","value":"49.94"},"DZD":{"display":"117.898","value":"117.898"},"EGP":{"display":"17.89","value":"17.89"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"28.04","value":"28.04"},"EUR":{"display":"0.872","value":"0.872"},"FJD":{"display":"2.108","value":"2.108"},"GBP":{"display":"0.781","value":"0.781"},"GEL":{"display":"2.67","value":"2.67"},"GHS":{"display":"4.825","value":"4.825"},"GMD":{"display":"50","value":"50.0"},"GNF":{"display":"9076","value":"9076.0"},"GTQ":{"display":"7.715","value":"7.715"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.832","value":"7.832"},"HNL":{"display":"25","value":"25.0"},"HRK":{"display":"6.31","value":"6.31"},"HTG":{"display":"77.118","value":"77.118"},"HUF":{"display":"280.17","value":"280.17"},"IDR":{"display":"14440","value":"14440.0"},"ILS":{"display":"3.749","value":"3.749"},"INR":{"display":"69.8","value":"69.8"},"IQD":{"display":"1138","value":"1138.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"116.11","value":"116.11"},"JMD":{"display":"126","value":"126.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"109.85","value":"109.85"},"KES":{"display":"101.8","value":"101.8"},"KGS":{"display":"69.8","value":"69.8"},"KHR":{"display":"4103","value":"4103.0"},"KMF":{"display":"428.14","value":"428.14"},"KRW":{"display":"1114.49","value":"1114.49"},"KWD":{"display":"0.303","value":"0.303"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"375.15","value":"375.15"},"LAK":{"display":"8535","value":"8535.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"182.6","value":"182.6"},"LRD":{"display":"156.71","value":"156.71"},"LYD":{"display":"1.386","value":"1.386"},"MAD":{"display":"9.53","value":"9.53"},"MDL":{"display":"16.993","value":"16.993"},"MGA":{"display":"3470.2","value":"3470.2"},"MKD":{"display":"53.5","value":"53.5"},"MMK":{"display":"1535","value":"1535.0"},"MNT":{"display":"2642.92","value":"2642.92"},"MRU":{"display":"36","value":"36.0"},"MUR":{"display":"34.15","value":"34.15"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"733","value":"733.0"},"MXN":{"display":"19.654","value":"19.654"},"MYR":{"display":"4.13","value":"4.13"},"MZN":{"display":"61.53","value":"61.53"},"NAD":{"display":"14.35","value":"14.35"},"NGN":{"display":"361","value":"361.0"},"NIO":{"display":"32.3","value":"32.3"},"NOK":{"display":"8.68","value":"8.68"},"NPR":{"display":"111.6","value":"111.6"},"NZD":{"display":"1.49","value":"1.49"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.375","value":"3.375"},"PGK":{"display":"3.284","value":"3.284"},"PHP":{"display":"52.49","value":"52.49"},"PKR":{"display":"138.6","value":"138.6"},"PLN":{"display":"3.753","value":"3.753"},"PYG":{"display":"5956","value":"5956.0"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.069","value":"4.069"},"RSD":{"display":"103.39","value":"103.39"},"RUB":{"display":"69.68","value":"69.68"},"RWF":{"display":"890","value":"890.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.752","value":"7.752"},"SCR":{"display":"13.55","value":"13.55"},"SDG":{"display":"47","value":"47.0"},"SEK":{"display":"8.938","value":"8.938"},"SGD":{"display":"1.361","value":"1.361"},"SLL":{"display":"8620","value":"8620.0"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"7.52","value":"7.52"},"SSP":{"display":"153.7","value":"153.7"},"STN":{"display":"21.535","value":"21.535"},"SYP":{"display":"515","value":"515.0"},"SZL":{"display":"14.35","value":"14.35"},"THB":{"display":"32.35","value":"32.35"},"TJS":{"display":"9.35","value":"9.35"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.009","value":"3.009"},"TOP":{"display":"2.173","value":"2.173"},"TRY":{"display":"5.283","value":"5.283"},"TTD":{"display":"6.77","value":"6.77"},"TWD":{"display":"30.588","value":"30.588"},"TZS":{"display":"2295","value":"2295.0"},"UAH":{"display":"27.7","value":"27.7"},"UGX":{"display":"3705","value":"3705.0"},"UYU":{"display":"32.32","value":"32.32"},"UZS":{"display":"8310","value":"8310.0"},"VES":{"display":"563.98","value":"563.98"},"VND":{"display":"23190","value":"23190.0"},"VUV":{"display":"111.69","value":"111.69"},"WST":{"display":"2.535","value":"2.535"},"XAF":{"display":"603.87","value":"603.87"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"568.65","value":"568.65"},"YER":{"display":"480","value":"480.0"},"ZAR":{"display":"14.35","value":"14.35"},"ZMW":{"display":"11.9","value":"11.9"}}}},"2019":{"canada_plan_additions_limit":{"display":"$56,000","value":"56000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2020","value":"2020"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$16,944","value":"16944"},"housing_base_daily_rate":{"display":"$46.42","value":"46.42"},"ltc_premium_limits":{"display":"$420 if 40 or younger, $790 if 41 to 50, $1,580 if 51 to 60, $4,220 if 61 to 70, $5,270 if 71 or older","value":"5270"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$4,200","value":"4200"},"regular_filing_due_date":{"display":"15 April 2020","value":"737530"},"return_year":{"display":"2019","value":"2019"},"return_year_less_1":{"display":"2018","value":"2018"},"return_year_less_2":{"display":"2017","value":"2017"},"return_year_less_3":{"display":"2016","value":"2016"},"return_year_less_4":{"display":"2015","value":"2015"},"return_year_less_5":{"display":"2014","value":"2014"},"roth_income_limit_joint":{"display":"$193,000","value":"193000"},"roth_income_limit_others":{"display":"$122,000","value":"122000"},"roth_ira_limit":{"display":"$6,000 ($7,000 at age 50 or older at the end of 2019)","value":"6000"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$18,350","value":"18350"},"mfj":{"display":"$24,400","value":"24400"},"mfs":{"display":"$12,200","value":"12200"},"qss":{"display":"$24,400","value":"24400"},"single":{"display":"$12,200","value":"12200"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"77.625","value":"77.625"},"ALL":{"display":"108.21","value":"108.21"},"AMD":{"display":"475","value":"475.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"475","value":"475.0"},"ARS":{"display":"59.87","value":"59.87"},"AUD":{"display":"1.425","value":"1.425"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.741","value":"1.741"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"85","value":"85.0"},"BGN":{"display":"1.741","value":"1.741"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1850","value":"1850.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.345","value":"1.345"},"BOB":{"display":"6.83","value":"6.83"},"BRL":{"display":"4.475","value":"4.475"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"10.549","value":"10.549"},"BYN":{"display":"2.34","value":"2.34"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.3","value":"1.3"},"CDF":{"display":"1650","value":"1650.0"},"CHF":{"display":"0.966","value":"0.966"},"CLP":{"display":"851.71","value":"851.71"},"CNY":{"display":"6.961","value":"6.961"},"COP":{"display":"4021","value":"4021.0"},"CRC":{"display":"569.65","value":"569.65"},"CUC":{"display":"1","value":"1.0"},"CVE":{"display":"99.291","value":"99.291"},"CZK":{"display":"22.165","value":"22.165"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.652","value":"6.652"},"DOP":{"display":"52.66","value":"52.66"},"DZD":{"display":"118.78","value":"118.78"},"EGP":{"display":"16","value":"16.0"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"31.8","value":"31.8"},"EUR":{"display":"0.89","value":"0.89"},"FJD":{"display":"2.142","value":"2.142"},"GBP":{"display":"0.758","value":"0.758"},"GEL":{"display":"2.87","value":"2.87"},"GHS":{"display":"5.66","value":"5.66"},"GMD":{"display":"51","value":"51.0"},"GNF":{"display":"9380","value":"9380.0"},"GTQ":{"display":"7.69","value":"7.69"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.786","value":"7.786"},"HNL":{"display":"25","value":"25.0"},"HRK":{"display":"6.49","value":"6.49"},"HTG":{"display":"87.655","value":"87.655"},"HUF":{"display":"294.29","value":"294.29"},"IDR":{"display":"13895","value":"13895.0"},"ILS":{"display":"3.454","value":"3.454"},"INR":{"display":"71","value":"71.0"},"IQD":{"display":"1138","value":"1138.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"135.13","value":"135.13"},"JMD":{"display":"136","value":"136.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"108.53","value":"108.53"},"KES":{"display":"101.25","value":"101.25"},"KGS":{"display":"69.6","value":"69.6"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"439.06","value":"439.06"},"KRW":{"display":"1153.7","value":"1153.7"},"KWD":{"display":"0.303","value":"0.303"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"381.18","value":"381.18"},"LAK":{"display":"8865","value":"8865.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"181.3","value":"181.3"},"LRD":{"display":"186.99","value":"186.99"},"LSL":{"display":"15.574","value":"15.574"},"LYD":{"display":"1.396","value":"1.396"},"MAD":{"display":"9.597","value":"9.597"},"MDL":{"display":"17.1","value":"17.1"},"MGA":{"display":"3627.2","value":"3627.2"},"MKD":{"display":"54.76","value":"54.76"},"MMK":{"display":"1475","value":"1475.0"},"MNT":{"display":"2733.52","value":"2733.52"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"36.2","value":"36.2"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"760","value":"760.0"},"MXN":{"display":"22.491","value":"22.491"},"MYR":{"display":"4.089","value":"4.089"},"MZN":{"display":"60.85","value":"60.85"},"NAD":{"display":"15.574","value":"15.574"},"NGN":{"display":"361","value":"361.0"},"NIO":{"display":"33.8","value":"33.8"},"NOK":{"display":"10.243","value":"10.243"},"NPR":{"display":"113.75","value":"113.75"},"NZD":{"display":"1.65","value":"1.65"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.314","value":"3.314"},"PGK":{"display":"3.311","value":"3.311"},"PHP":{"display":"50.64","value":"50.64"},"PKR":{"display":"154.85","value":"154.85"},"PLN":{"display":"3.789","value":"3.789"},"PYG":{"display":"6442.3301","value":"6442.3301"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.256","value":"4.256"},"RSD":{"display":"104.92","value":"104.92"},"RUB":{"display":"74.938","value":"74.938"},"RWF":{"display":"925","value":"925.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"8.065","value":"8.065"},"SCR":{"display":"13.62","value":"13.62"},"SDG":{"display":"51.5","value":"51.5"},"SEK":{"display":"9.301","value":"9.301"},"SGD":{"display":"1.345","value":"1.345"},"SLL":{"display":"9639.5898","value":"9639.5898"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"7.52","value":"7.52"},"SSP":{"display":"160","value":"160.0"},"STN":{"display":"22.122","value":"22.122"},"SYP":{"display":"435","value":"435.0"},"SZL":{"display":"15.574","value":"15.574"},"THB":{"display":"29.77","value":"29.77"},"TJS":{"display":"9.65","value":"9.65"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.772","value":"2.772"},"TOP":{"display":"2.209","value":"2.209"},"TRY":{"display":"5.942","value":"5.942"},"TTD":{"display":"6.697","value":"6.697"},"TWD":{"display":"29.942","value":"29.942"},"TZS":{"display":"2293","value":"2293.0"},"UAH":{"display":"26.6","value":"26.6"},"UGX":{"display":"3660","value":"3660.0"},"UYU":{"display":"43.41","value":"43.41"},"UZS":{"display":"9500","value":"9500.0"},"VES":{"display":"70675.74","value":"70675.74"},"VND":{"display":"23171","value":"23171.0"},"VUV":{"display":"112.8","value":"112.8"},"WST":{"display":"2.537","value":"2.537"},"XAF":{"display":"578.12","value":"578.12"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"582","value":"582.0"},"YER":{"display":"480","value":"480.0"},"ZAR":{"display":"15.574","value":"15.574"},"ZMW":{"display":"16.09","value":"16.09"},"ZWL":{"display":"16.28","value":"16.28"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"77.625","value":"77.625"},"ALL":{"display":"108.21","value":"108.21"},"AMD":{"display":"475","value":"475.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"475","value":"475.0"},"ARS":{"display":"59.87","value":"59.87"},"AUD":{"display":"1.425","value":"1.425"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.741","value":"1.741"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"85","value":"85.0"},"BGN":{"display":"1.741","value":"1.741"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1850","value":"1850.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.345","value":"1.345"},"BOB":{"display":"6.83","value":"6.83"},"BRL":{"display":"4.475","value":"4.475"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"10.549","value":"10.549"},"BYN":{"display":"2.34","value":"2.34"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.3","value":"1.3"},"CDF":{"display":"1650","value":"1650.0"},"CHF":{"display":"0.966","value":"0.966"},"CLP":{"display":"851.71","value":"851.71"},"CNY":{"display":"6.961","value":"6.961"},"COP":{"display":"4021","value":"4021.0"},"CRC":{"display":"569.65","value":"569.65"},"CUC":{"display":"1","value":"1.0"},"CVE":{"display":"99.291","value":"99.291"},"CZK":{"display":"22.165","value":"22.165"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.652","value":"6.652"},"DOP":{"display":"52.66","value":"52.66"},"DZD":{"display":"118.78","value":"118.78"},"EGP":{"display":"16","value":"16.0"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"31.8","value":"31.8"},"EUR":{"display":"0.89","value":"0.89"},"FJD":{"display":"2.142","value":"2.142"},"GBP":{"display":"0.758","value":"0.758"},"GEL":{"display":"2.87","value":"2.87"},"GHS":{"display":"5.66","value":"5.66"},"GMD":{"display":"51","value":"51.0"},"GNF":{"display":"9380","value":"9380.0"},"GTQ":{"display":"7.69","value":"7.69"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.786","value":"7.786"},"HNL":{"display":"25","value":"25.0"},"HRK":{"display":"6.49","value":"6.49"},"HTG":{"display":"87.655","value":"87.655"},"HUF":{"display":"294.29","value":"294.29"},"IDR":{"display":"13895","value":"13895.0"},"ILS":{"display":"3.454","value":"3.454"},"INR":{"display":"71","value":"71.0"},"IQD":{"display":"1138","value":"1138.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"135.13","value":"135.13"},"JMD":{"display":"136","value":"136.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"108.53","value":"108.53"},"KES":{"display":"101.25","value":"101.25"},"KGS":{"display":"69.6","value":"69.6"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"439.06","value":"439.06"},"KRW":{"display":"1153.7","value":"1153.7"},"KWD":{"display":"0.303","value":"0.303"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"381.18","value":"381.18"},"LAK":{"display":"8865","value":"8865.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"181.3","value":"181.3"},"LRD":{"display":"186.99","value":"186.99"},"LSL":{"display":"15.574","value":"15.574"},"LYD":{"display":"1.396","value":"1.396"},"MAD":{"display":"9.597","value":"9.597"},"MDL":{"display":"17.1","value":"17.1"},"MGA":{"display":"3627.2","value":"3627.2"},"MKD":{"display":"54.76","value":"54.76"},"MMK":{"display":"1475","value":"1475.0"},"MNT":{"display":"2733.52","value":"2733.52"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"36.2","value":"36.2"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"760","value":"760.0"},"MXN":{"display":"22.491","value":"22.491"},"MYR":{"display":"4.089","value":"4.089"},"MZN":{"display":"60.85","value":"60.85"},"NAD":{"display":"15.574","value":"15.574"},"NGN":{"display":"361","value":"361.0"},"NIO":{"display":"33.8","value":"33.8"},"NOK":{"display":"10.243","value":"10.243"},"NPR":{"display":"113.75","value":"113.75"},"NZD":{"display":"1.65","value":"1.65"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.314","value":"3.314"},"PGK":{"display":"3.311","value":"3.311"},"PHP":{"display":"50.64","value":"50.64"},"PKR":{"display":"154.85","value":"154.85"},"PLN":{"display":"3.789","value":"3.789"},"PYG":{"display":"6442.3301","value":"6442.3301"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.256","value":"4.256"},"RSD":{"display":"104.92","value":"104.92"},"RUB":{"display":"74.938","value":"74.938"},"RWF":{"display":"925","value":"925.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"8.065","value":"8.065"},"SCR":{"display":"13.62","value":"13.62"},"SDG":{"display":"51.5","value":"51.5"},"SEK":{"display":"9.301","value":"9.301"},"SGD":{"display":"1.345","value":"1.345"},"SLL":{"display":"9639.5898","value":"9639.5898"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"7.52","value":"7.52"},"SSP":{"display":"160","value":"160.0"},"STN":{"display":"22.122","value":"22.122"},"SYP":{"display":"435","value":"435.0"},"SZL":{"display":"15.574","value":"15.574"},"THB":{"display":"29.77","value":"29.77"},"TJS":{"display":"9.65","value":"9.65"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.772","value":"2.772"},"TOP":{"display":"2.209","value":"2.209"},"TRY":{"display":"5.942","value":"5.942"},"TTD":{"display":"6.697","value":"6.697"},"TWD":{"display":"29.942","value":"29.942"},"TZS":{"display":"2293","value":"2293.0"},"UAH":{"display":"26.6","value":"26.6"},"UGX":{"display":"3660","value":"3660.0"},"UYU":{"display":"43.41","value":"43.41"},"UZS":{"display":"9500","value":"9500.0"},"VES":{"display":"70675.74","value":"70675.74"},"VND":{"display":"23171","value":"23171.0"},"VUV":{"display":"112.8","value":"112.8"},"WST":{"display":"2.537","value":"2.537"},"XAF":{"display":"578.12","value":"578.12"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"582","value":"582.0"},"YER":{"display":"480","value":"480.0"},"ZAR":{"display":"15.574","value":"15.574"},"ZMW":{"display":"16.09","value":"16.09"},"ZWL":{"display":"16.28","value":"16.28"}}}},"2020":{"canada_plan_additions_limit":{"display":"$57,000","value":"57000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2021","value":"2021"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$17,216","value":"17216"},"housing_base_daily_rate":{"display":"$47.04","value":"47.04"},"ltc_premium_limits":{"display":"$430 if 40 or younger, $810 if 41 to 50, $1,630 if 51 to 60, $4,350 if 61 to 70, $5,430 if 71 or older","value":"5430"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$4,300","value":"4300"},"regular_filing_due_date":{"display":"15 April 2021","value":"737895"},"return_year":{"display":"2020","value":"2020"},"return_year_less_1":{"display":"2019","value":"2019"},"return_year_less_2":{"display":"2018","value":"2018"},"return_year_less_3":{"display":"2017","value":"2017"},"return_year_less_4":{"display":"2016","value":"2016"},"return_year_less_5":{"display":"2015","value":"2015"},"roth_income_limit_joint":{"display":"$196,000","value":"196000"},"roth_income_limit_others":{"display":"$124,000","value":"124000"},"roth_ira_limit":{"display":"$6,000 ($7,000 at age 50 or older at the end of 2020)","value":"6000"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$18,650","value":"18650"},"mfj":{"display":"$24,800","value":"24800"},"mfs":{"display":"$12,400","value":"12400"},"qss":{"display":"$24,800","value":"24800"},"single":{"display":"$12,400","value":"12400"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"77.09","value":"77.09"},"ALL":{"display":"100.35","value":"100.35"},"AMD":{"display":"515","value":"515.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"649.6","value":"649.6"},"ARS":{"display":"89.25","value":"89.25"},"AUD":{"display":"1.294","value":"1.294"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.594","value":"1.594"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"85","value":"85.0"},"BGN":{"display":"1.594","value":"1.594"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1930.61","value":"1930.61"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.322","value":"1.322"},"BOB":{"display":"6.81","value":"6.81"},"BRL":{"display":"5.194","value":"5.194"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"10.799","value":"10.799"},"BYN":{"display":"2.598","value":"2.598"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.275","value":"1.275"},"CDF":{"display":"1966.48","value":"1966.48"},"CHF":{"display":"0.881","value":"0.881"},"CLP":{"display":"709.75","value":"709.75"},"CNY":{"display":"6.54","value":"6.54"},"COP":{"display":"3414.5","value":"3414.5"},"CRC":{"display":"609.1","value":"609.1"},"CUC":{"display":"1","value":"1.0"},"CVE":{"display":"89.83","value":"89.83"},"CZK":{"display":"20.754","value":"20.754"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.065","value":"6.065"},"DOP":{"display":"58.14","value":"58.14"},"DZD":{"display":"132.212","value":"132.212"},"EGP":{"display":"15.69","value":"15.69"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"39.181","value":"39.181"},"EUR":{"display":"0.815","value":"0.815"},"FJD":{"display":"2.004","value":"2.004"},"GBP":{"display":"0.732","value":"0.732"},"GEL":{"display":"3.27","value":"3.27"},"GHS":{"display":"5.81","value":"5.81"},"GMD":{"display":"52","value":"52.0"},"GNF":{"display":"9990","value":"9990.0"},"GTQ":{"display":"7.78","value":"7.78"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.753","value":"7.753"},"HNL":{"display":"25","value":"25.0"},"HRK":{"display":"5.95","value":"5.95"},"HTG":{"display":"71.606","value":"71.606"},"HUF":{"display":"296.76","value":"296.76"},"IDR":{"display":"14028","value":"14028.0"},"ILS":{"display":"3.213","value":"3.213"},"INR":{"display":"73.034","value":"73.034"},"IQD":{"display":"1458","value":"1458.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"127.11","value":"127.11"},"JMD":{"display":"150","value":"150.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"103.08","value":"103.08"},"KES":{"display":"109.1","value":"109.1"},"KGS":{"display":"82.65","value":"82.65"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"400.62","value":"400.62"},"KRW":{"display":"1087.66","value":"1087.66"},"KWD":{"display":"0.304","value":"0.304"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"421.27","value":"421.27"},"LAK":{"display":"9280","value":"9280.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"185","value":"185.0"},"LRD":{"display":"4.451","value":"4.451"},"LSL":{"display":"14.673","value":"14.673"},"LYD":{"display":"1.333","value":"1.333"},"MAD":{"display":"8.917","value":"8.917"},"MDL":{"display":"17.08","value":"17.08"},"MGA":{"display":"3824.8","value":"3824.8"},"MKD":{"display":"50.13","value":"50.13"},"MMK":{"display":"1326","value":"1326.0"},"MNT":{"display":"2849.77","value":"2849.77"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"39.55","value":"39.55"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"820","value":"820.0"},"MXN":{"display":"19.913","value":"19.913"},"MYR":{"display":"4.02","value":"4.02"},"MZN":{"display":"74.2","value":"74.2"},"NAD":{"display":"14.673","value":"14.673"},"NGN":{"display":"385","value":"385.0"},"NIO":{"display":"34.9","value":"34.9"},"NOK":{"display":"8.53","value":"8.53"},"NPR":{"display":"117","value":"117.0"},"NZD":{"display":"1.383","value":"1.383"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.619","value":"3.619"},"PGK":{"display":"3.509","value":"3.509"},"PHP":{"display":"48.173","value":"48.173"},"PKR":{"display":"159.75","value":"159.75"},"PLN":{"display":"3.713","value":"3.713"},"PYG":{"display":"6891.96","value":"6891.96"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"3.966","value":"3.966"},"RSD":{"display":"95.8","value":"95.8"},"RUB":{"display":"74.46","value":"74.46"},"RWF":{"display":"950","value":"950.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.734","value":"7.734"},"SCR":{"display":"20.91","value":"20.91"},"SDG":{"display":"378","value":"378.0"},"SEK":{"display":"8.172","value":"8.172"},"SGD":{"display":"1.322","value":"1.322"},"SLL":{"display":"9997","value":"9997.0"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"14.29","value":"14.29"},"SSP":{"display":"177","value":"177.0"},"STN":{"display":"20.051","value":"20.051"},"SYP":{"display":"1256","value":"1256.0"},"SZL":{"display":"14.673","value":"14.673"},"THB":{"display":"29.92","value":"29.92"},"TJS":{"display":"11.325","value":"11.325"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.683","value":"2.683"},"TOP":{"display":"2.198","value":"2.198"},"TRY":{"display":"7.424","value":"7.424"},"TTD":{"display":"6.698","value":"6.698"},"TWD":{"display":"28.074","value":"28.074"},"TZS":{"display":"2314","value":"2314.0"},"UAH":{"display":"28.3","value":"28.3"},"UGX":{"display":"3649","value":"3649.0"},"UYU":{"display":"42.14","value":"42.14"},"UZS":{"display":"10471.92","value":"10471.92"},"VES":{"display":"1496565.185","value":"1496565.185"},"VND":{"display":"23070","value":"23070.0"},"VUV":{"display":"106.23","value":"106.23"},"WST":{"display":"2.444","value":"2.444"},"XAF":{"display":"529.26","value":"529.26"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"529","value":"529.0"},"YER":{"display":"480","value":"480.0"},"ZAR":{"display":"14.673","value":"14.673"},"ZMW":{"display":"21.14","value":"21.14"},"ZWL":{"display":"79.742","value":"79.742"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"77.09","value":"77.09"},"ALL":{"display":"100.35","value":"100.35"},"AMD":{"display":"515","value":"515.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"649.6","value":"649.6"},"ARS":{"display":"89.25","value":"89.25"},"AUD":{"display":"1.294","value":"1.294"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.594","value":"1.594"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"85","value":"85.0"},"BGN":{"display":"1.594","value":"1.594"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1930.61","value":"1930.61"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.322","value":"1.322"},"BOB":{"display":"6.81","value":"6.81"},"BRL":{"display":"5.194","value":"5.194"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"10.799","value":"10.799"},"BYN":{"display":"2.598","value":"2.598"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.275","value":"1.275"},"CDF":{"display":"1966.48","value":"1966.48"},"CHF":{"display":"0.881","value":"0.881"},"CLP":{"display":"709.75","value":"709.75"},"CNY":{"display":"6.54","value":"6.54"},"COP":{"display":"3414.5","value":"3414.5"},"CRC":{"display":"609.1","value":"609.1"},"CUC":{"display":"1","value":"1.0"},"CVE":{"display":"89.83","value":"89.83"},"CZK":{"display":"20.754","value":"20.754"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.065","value":"6.065"},"DOP":{"display":"58.14","value":"58.14"},"DZD":{"display":"132.212","value":"132.212"},"EGP":{"display":"15.69","value":"15.69"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"39.181","value":"39.181"},"EUR":{"display":"0.815","value":"0.815"},"FJD":{"display":"2.004","value":"2.004"},"GBP":{"display":"0.732","value":"0.732"},"GEL":{"display":"3.27","value":"3.27"},"GHS":{"display":"5.81","value":"5.81"},"GMD":{"display":"52","value":"52.0"},"GNF":{"display":"9990","value":"9990.0"},"GTQ":{"display":"7.78","value":"7.78"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.753","value":"7.753"},"HNL":{"display":"25","value":"25.0"},"HRK":{"display":"5.95","value":"5.95"},"HTG":{"display":"71.606","value":"71.606"},"HUF":{"display":"296.76","value":"296.76"},"IDR":{"display":"14028","value":"14028.0"},"ILS":{"display":"3.213","value":"3.213"},"INR":{"display":"73.034","value":"73.034"},"IQD":{"display":"1458","value":"1458.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"127.11","value":"127.11"},"JMD":{"display":"150","value":"150.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"103.08","value":"103.08"},"KES":{"display":"109.1","value":"109.1"},"KGS":{"display":"82.65","value":"82.65"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"400.62","value":"400.62"},"KRW":{"display":"1087.66","value":"1087.66"},"KWD":{"display":"0.304","value":"0.304"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"421.27","value":"421.27"},"LAK":{"display":"9280","value":"9280.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"185","value":"185.0"},"LRD":{"display":"4.451","value":"4.451"},"LSL":{"display":"14.673","value":"14.673"},"LYD":{"display":"1.333","value":"1.333"},"MAD":{"display":"8.917","value":"8.917"},"MDL":{"display":"17.08","value":"17.08"},"MGA":{"display":"3824.8","value":"3824.8"},"MKD":{"display":"50.13","value":"50.13"},"MMK":{"display":"1326","value":"1326.0"},"MNT":{"display":"2849.77","value":"2849.77"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"39.55","value":"39.55"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"820","value":"820.0"},"MXN":{"display":"19.913","value":"19.913"},"MYR":{"display":"4.02","value":"4.02"},"MZN":{"display":"74.2","value":"74.2"},"NAD":{"display":"14.673","value":"14.673"},"NGN":{"display":"385","value":"385.0"},"NIO":{"display":"34.9","value":"34.9"},"NOK":{"display":"8.53","value":"8.53"},"NPR":{"display":"117","value":"117.0"},"NZD":{"display":"1.383","value":"1.383"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.619","value":"3.619"},"PGK":{"display":"3.509","value":"3.509"},"PHP":{"display":"48.173","value":"48.173"},"PKR":{"display":"159.75","value":"159.75"},"PLN":{"display":"3.713","value":"3.713"},"PYG":{"display":"6891.96","value":"6891.96"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"3.966","value":"3.966"},"RSD":{"display":"95.8","value":"95.8"},"RUB":{"display":"74.46","value":"74.46"},"RWF":{"display":"950","value":"950.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.734","value":"7.734"},"SCR":{"display":"20.91","value":"20.91"},"SDG":{"display":"378","value":"378.0"},"SEK":{"display":"8.172","value":"8.172"},"SGD":{"display":"1.322","value":"1.322"},"SLL":{"display":"9997","value":"9997.0"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"14.29","value":"14.29"},"SSP":{"display":"177","value":"177.0"},"STN":{"display":"20.051","value":"20.051"},"SYP":{"display":"1256","value":"1256.0"},"SZL":{"display":"14.673","value":"14.673"},"THB":{"display":"29.92","value":"29.92"},"TJS":{"display":"11.325","value":"11.325"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.683","value":"2.683"},"TOP":{"display":"2.198","value":"2.198"},"TRY":{"display":"7.424","value":"7.424"},"TTD":{"display":"6.698","value":"6.698"},"TWD":{"display":"28.074","value":"28.074"},"TZS":{"display":"2314","value":"2314.0"},"UAH":{"display":"28.3","value":"28.3"},"UGX":{"display":"3649","value":"3649.0"},"UYU":{"display":"42.14","value":"42.14"},"UZS":{"display":"10471.92","value":"10471.92"},"VES":{"display":"1496565.185","value":"1496565.185"},"VND":{"display":"23070","value":"23070.0"},"VUV":{"display":"106.23","value":"106.23"},"WST":{"display":"2.444","value":"2.444"},"XAF":{"display":"529.26","value":"529.26"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"529","value":"529.0"},"YER":{"display":"480","value":"480.0"},"ZAR":{"display":"14.673","value":"14.673"},"ZMW":{"display":"21.14","value":"21.14"},"ZWL":{"display":"79.742","value":"79.742"}}}},"2021":{"canada_plan_additions_limit":{"display":"$58,000","value":"58000"},"child_tax_credit_age":{"display":"18","value":"18"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2022","value":"2022"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$17,392","value":"17392"},"housing_base_daily_rate":{"display":"$47.65","value":"47.65"},"ltc_premium_limits":{"display":"$450 if 40 or younger, $850 if 41 to 50, $1,690 if 51 to 60, $4,520 if 61 to 70, $5,640 if 71 or older","value":"5640"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$4,300","value":"4300"},"regular_filing_due_date":{"display":"18 April 2022","value":"738263"},"return_year":{"display":"2021","value":"2021"},"return_year_less_1":{"display":"2020","value":"2020"},"return_year_less_2":{"display":"2019","value":"2019"},"return_year_less_3":{"display":"2018","value":"2018"},"return_year_less_4":{"display":"2017","value":"2017"},"return_year_less_5":{"display":"2016","value":"2016"},"roth_income_limit_joint":{"display":"$198,000","value":"198000"},"roth_income_limit_others":{"display":"$125,000","value":"125000"},"roth_ira_limit":{"display":"$6,000 ($7,000 at age 50 or older at the end of 2021)","value":"6000"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$18,800","value":"18800"},"mfj":{"display":"$25,100","value":"25100"},"mfs":{"display":"$12,550","value":"12550"},"qss":{"display":"$25,100","value":"25100"},"single":{"display":"$12,550","value":"12550"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"103.4","value":"103.4"},"ALL":{"display":"105.95","value":"105.95"},"AMD":{"display":"485","value":"485.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"562.44","value":"562.44"},"ARS":{"display":"107.75","value":"107.75"},"AUD":{"display":"1.375","value":"1.375"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.724","value":"1.724"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"86","value":"86.0"},"BGN":{"display":"1.724","value":"1.724"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1989.1","value":"1989.1"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.352","value":"1.352"},"BOB":{"display":"6.82","value":"6.82"},"BRL":{"display":"5.668","value":"5.668"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"11.71","value":"11.71"},"BYN":{"display":"2.544","value":"2.544"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.277","value":"1.277"},"CDF":{"display":"1987.8","value":"1987.8"},"CHF":{"display":"0.914","value":"0.914"},"CLP":{"display":"842.5","value":"842.5"},"CNY":{"display":"6.373","value":"6.373"},"COP":{"display":"4030.43","value":"4030.43"},"CRC":{"display":"638.27","value":"638.27"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"97.22","value":"97.22"},"CZK":{"display":"21.417","value":"21.417"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.556","value":"6.556"},"DOP":{"display":"56.79","value":"56.79"},"DZD":{"display":"138.284","value":"138.284"},"EGP":{"display":"15.68","value":"15.68"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"49.132","value":"49.132"},"EUR":{"display":"0.882","value":"0.882"},"FJD":{"display":"2.103","value":"2.103"},"GBP":{"display":"0.74","value":"0.74"},"GEL":{"display":"3.075","value":"3.075"},"GHS":{"display":"6.05","value":"6.05"},"GMD":{"display":"52","value":"52.0"},"GNF":{"display":"9234.2","value":"9234.2"},"GTQ":{"display":"7.7","value":"7.7"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.799","value":"7.799"},"HNL":{"display":"24.254","value":"24.254"},"HRK":{"display":"6.45","value":"6.45"},"HTG":{"display":"99.771","value":"99.771"},"HUF":{"display":"326.32","value":"326.32"},"IDR":{"display":"14195.28","value":"14195.28"},"ILS":{"display":"3.099","value":"3.099"},"INR":{"display":"74.343","value":"74.343"},"IQD":{"display":"1458.54","value":"1458.54"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"129.98","value":"129.98"},"JMD":{"display":"155","value":"155.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"115.04","value":"115.04"},"KES":{"display":"113.05","value":"113.05"},"KGS":{"display":"84.791","value":"84.791"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"434.73","value":"434.73"},"KRW":{"display":"1188.92","value":"1188.92"},"KWD":{"display":"0.302","value":"0.302"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"436.88","value":"436.88"},"LAK":{"display":"11148.8","value":"11148.8"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"202.75","value":"202.75"},"LRD":{"display":"143.7","value":"143.7"},"LSL":{"display":"15.882","value":"15.882"},"LYD":{"display":"4.587","value":"4.587"},"MAD":{"display":"9.271","value":"9.271"},"MDL":{"display":"17.637","value":"17.637"},"MGA":{"display":"3902","value":"3902.0"},"MKD":{"display":"54.23","value":"54.23"},"MMK":{"display":"1769.5","value":"1769.5"},"MNT":{"display":"2848.63","value":"2848.63"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"43.75","value":"43.75"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"920","value":"920.0"},"MXN":{"display":"20.531","value":"20.531"},"MYR":{"display":"4.175","value":"4.175"},"MZN":{"display":"63.2","value":"63.2"},"NAD":{"display":"15.882","value":"15.882"},"NGN":{"display":"405","value":"405.0"},"NIO":{"display":"35.5","value":"35.5"},"NOK":{"display":"8.778","value":"8.778"},"NPR":{"display":"119.35","value":"119.35"},"NZD":{"display":"1.46","value":"1.46"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.969","value":"3.969"},"PGK":{"display":"3.509","value":"3.509"},"PHP":{"display":"51.03","value":"51.03"},"PKR":{"display":"177.97","value":"177.97"},"PLN":{"display":"4.053","value":"4.053"},"PYG":{"display":"6854","value":"6854.0"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.361","value":"4.361"},"RSD":{"display":"103.58","value":"103.58"},"RUB":{"display":"74.999","value":"74.999"},"RWF":{"display":"1000","value":"1000.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.886","value":"7.886"},"SCR":{"display":"13.33","value":"13.33"},"SDG":{"display":"449","value":"449.0"},"SEK":{"display":"9.025","value":"9.025"},"SGD":{"display":"1.352","value":"1.352"},"SLL":{"display":"11221.7","value":"11221.7"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"19.531","value":"19.531"},"SSP":{"display":"421","value":"421.0"},"STN":{"display":"21.623","value":"21.623"},"SYP":{"display":"2511","value":"2511.0"},"SZL":{"display":"15.882","value":"15.882"},"THB":{"display":"33.4","value":"33.4"},"TJS":{"display":"11.28","value":"11.28"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.876","value":"2.876"},"TOP":{"display":"2.229","value":"2.229"},"TRY":{"display":"12.956","value":"12.956"},"TTD":{"display":"6.759","value":"6.759"},"TWD":{"display":"27.707","value":"27.707"},"TZS":{"display":"2302","value":"2302.0"},"UAH":{"display":"27.322","value":"27.322"},"UGX":{"display":"3537","value":"3537.0"},"UYU":{"display":"44.45","value":"44.45"},"UZS":{"display":"10805.7","value":"10805.7"},"VES":{"display":"4.578","value":"4.578"},"VND":{"display":"22765","value":"22765.0"},"VUV":{"display":"111.22","value":"111.22"},"WST":{"display":"2.565","value":"2.565"},"XAF":{"display":"578.24","value":"578.24"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"581.84","value":"581.84"},"YER":{"display":"580","value":"580.0"},"ZAR":{"display":"15.882","value":"15.882"},"ZMW":{"display":"16.632","value":"16.632"},"ZWL":{"display":"105.949","value":"105.949"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"103.4","value":"103.4"},"ALL":{"display":"105.95","value":"105.95"},"AMD":{"display":"485","value":"485.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"562.44","value":"562.44"},"ARS":{"display":"107.75","value":"107.75"},"AUD":{"display":"1.375","value":"1.375"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.724","value":"1.724"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"86","value":"86.0"},"BGN":{"display":"1.724","value":"1.724"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"1989.1","value":"1989.1"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.352","value":"1.352"},"BOB":{"display":"6.82","value":"6.82"},"BRL":{"display":"5.668","value":"5.668"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"11.71","value":"11.71"},"BYN":{"display":"2.544","value":"2.544"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.277","value":"1.277"},"CDF":{"display":"1987.8","value":"1987.8"},"CHF":{"display":"0.914","value":"0.914"},"CLP":{"display":"842.5","value":"842.5"},"CNY":{"display":"6.373","value":"6.373"},"COP":{"display":"4030.43","value":"4030.43"},"CRC":{"display":"638.27","value":"638.27"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"97.22","value":"97.22"},"CZK":{"display":"21.417","value":"21.417"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.556","value":"6.556"},"DOP":{"display":"56.79","value":"56.79"},"DZD":{"display":"138.284","value":"138.284"},"EGP":{"display":"15.68","value":"15.68"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"49.132","value":"49.132"},"EUR":{"display":"0.882","value":"0.882"},"FJD":{"display":"2.103","value":"2.103"},"GBP":{"display":"0.74","value":"0.74"},"GEL":{"display":"3.075","value":"3.075"},"GHS":{"display":"6.05","value":"6.05"},"GMD":{"display":"52","value":"52.0"},"GNF":{"display":"9234.2","value":"9234.2"},"GTQ":{"display":"7.7","value":"7.7"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.799","value":"7.799"},"HNL":{"display":"24.254","value":"24.254"},"HRK":{"display":"6.45","value":"6.45"},"HTG":{"display":"99.771","value":"99.771"},"HUF":{"display":"326.32","value":"326.32"},"IDR":{"display":"14195.28","value":"14195.28"},"ILS":{"display":"3.099","value":"3.099"},"INR":{"display":"74.343","value":"74.343"},"IQD":{"display":"1458.54","value":"1458.54"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"129.98","value":"129.98"},"JMD":{"display":"155","value":"155.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"115.04","value":"115.04"},"KES":{"display":"113.05","value":"113.05"},"KGS":{"display":"84.791","value":"84.791"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"434.73","value":"434.73"},"KRW":{"display":"1188.92","value":"1188.92"},"KWD":{"display":"0.302","value":"0.302"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"436.88","value":"436.88"},"LAK":{"display":"11148.8","value":"11148.8"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"202.75","value":"202.75"},"LRD":{"display":"143.7","value":"143.7"},"LSL":{"display":"15.882","value":"15.882"},"LYD":{"display":"4.587","value":"4.587"},"MAD":{"display":"9.271","value":"9.271"},"MDL":{"display":"17.637","value":"17.637"},"MGA":{"display":"3902","value":"3902.0"},"MKD":{"display":"54.23","value":"54.23"},"MMK":{"display":"1769.5","value":"1769.5"},"MNT":{"display":"2848.63","value":"2848.63"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"43.75","value":"43.75"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"920","value":"920.0"},"MXN":{"display":"20.531","value":"20.531"},"MYR":{"display":"4.175","value":"4.175"},"MZN":{"display":"63.2","value":"63.2"},"NAD":{"display":"15.882","value":"15.882"},"NGN":{"display":"405","value":"405.0"},"NIO":{"display":"35.5","value":"35.5"},"NOK":{"display":"8.778","value":"8.778"},"NPR":{"display":"119.35","value":"119.35"},"NZD":{"display":"1.46","value":"1.46"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.969","value":"3.969"},"PGK":{"display":"3.509","value":"3.509"},"PHP":{"display":"51.03","value":"51.03"},"PKR":{"display":"177.97","value":"177.97"},"PLN":{"display":"4.053","value":"4.053"},"PYG":{"display":"6854","value":"6854.0"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.361","value":"4.361"},"RSD":{"display":"103.58","value":"103.58"},"RUB":{"display":"74.999","value":"74.999"},"RWF":{"display":"1000","value":"1000.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.886","value":"7.886"},"SCR":{"display":"13.33","value":"13.33"},"SDG":{"display":"449","value":"449.0"},"SEK":{"display":"9.025","value":"9.025"},"SGD":{"display":"1.352","value":"1.352"},"SLL":{"display":"11221.7","value":"11221.7"},"SOS":{"display":"575","value":"575.0"},"SRD":{"display":"19.531","value":"19.531"},"SSP":{"display":"421","value":"421.0"},"STN":{"display":"21.623","value":"21.623"},"SYP":{"display":"2511","value":"2511.0"},"SZL":{"display":"15.882","value":"15.882"},"THB":{"display":"33.4","value":"33.4"},"TJS":{"display":"11.28","value":"11.28"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.876","value":"2.876"},"TOP":{"display":"2.229","value":"2.229"},"TRY":{"display":"12.956","value":"12.956"},"TTD":{"display":"6.759","value":"6.759"},"TWD":{"display":"27.707","value":"27.707"},"TZS":{"display":"2302","value":"2302.0"},"UAH":{"display":"27.322","value":"27.322"},"UGX":{"display":"3537","value":"3537.0"},"UYU":{"display":"44.45","value":"44.45"},"UZS":{"display":"10805.7","value":"10805.7"},"VES":{"display":"4.578","value":"4.578"},"VND":{"display":"22765","value":"22765.0"},"VUV":{"display":"111.22","value":"111.22"},"WST":{"display":"2.565","value":"2.565"},"XAF":{"display":"578.24","value":"578.24"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"581.84","value":"581.84"},"YER":{"display":"580","value":"580.0"},"ZAR":{"display":"15.882","value":"15.882"},"ZMW":{"display":"16.632","value":"16.632"},"ZWL":{"display":"105.949","value":"105.949"}}}},"2022":{"canada_plan_additions_limit":{"display":"$61,000","value":"61000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2023","value":"2023"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$17,920","value":"17920"},"ltc_premium_limits":{"display":"$450 if 40 or younger, $850 if 41 to 50, $1,690 if 51 to 60, $4,510 if 61 to 70, $5,640 if 71 or older","value":"5640"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$4,400","value":"4400"},"regular_filing_due_date":{"display":"18 April 2023","value":"738628"},"return_year":{"display":"2022","value":"2022"},"return_year_less_1":{"display":"2021","value":"2021"},"return_year_less_2":{"display":"2020","value":"2020"},"return_year_less_3":{"display":"2019","value":"2019"},"return_year_less_4":{"display":"2018","value":"2018"},"return_year_less_5":{"display":"2017","value":"2017"},"roth_income_limit_joint":{"display":"$204,000","value":"204000"},"roth_income_limit_others":{"display":"$129,000","value":"129000"},"roth_ira_limit":{"display":"$6,000 ($7,000 at age 50 or older at the end of 2022)","value":"6000"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$19,400","value":"19400"},"mfj":{"display":"$25,900","value":"25900"},"mfs":{"display":"$12,950","value":"12950"},"qss":{"display":"$25,900","value":"25900"},"single":{"display":"$12,950","value":"12950"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"89.11","value":"89.11"},"ALL":{"display":"106.5","value":"106.5"},"AMD":{"display":"400","value":"400.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"503.65","value":"503.65"},"ARS":{"display":"183","value":"183.0"},"AUD":{"display":"1.471","value":"1.471"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.83","value":"1.83"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"105","value":"105.0"},"BGN":{"display":"1.83","value":"1.83"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"2045.3","value":"2045.3"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.34","value":"1.34"},"BOB":{"display":"6.86","value":"6.86"},"BRL":{"display":"5.286","value":"5.286"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"12.739","value":"12.739"},"BYN":{"display":"2.518","value":"2.518"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.354","value":"1.354"},"CDF":{"display":"2012","value":"2012.0"},"CHF":{"display":"0.923","value":"0.923"},"CLP":{"display":"851.5","value":"851.5"},"CNY":{"display":"6.897","value":"6.897"},"COP":{"display":"4845.83","value":"4845.83"},"CRC":{"display":"591.36","value":"591.36"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"103.16","value":"103.16"},"CZK":{"display":"22.102","value":"22.102"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.959","value":"6.959"},"DOP":{"display":"55.72","value":"55.72"},"DZD":{"display":"136.467","value":"136.467"},"EGP":{"display":"24.74","value":"24.74"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"53.339","value":"53.339"},"EUR":{"display":"0.936","value":"0.936"},"FJD":{"display":"2.176","value":"2.176"},"GBP":{"display":"0.83","value":"0.83"},"GEL":{"display":"2.665","value":"2.665"},"GHS":{"display":"9.8","value":"9.8"},"GMD":{"display":"61","value":"61.0"},"GNF":{"display":"8554","value":"8554.0"},"GTQ":{"display":"7.84","value":"7.84"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.797","value":"7.797"},"HNL":{"display":"24.552","value":"24.552"},"HRK":{"display":"6.87","value":"6.87"},"HTG":{"display":"145","value":"145.0"},"HUF":{"display":"374.63","value":"374.63"},"IDR":{"display":"15528.42","value":"15528.42"},"ILS":{"display":"3.518","value":"3.518"},"INR":{"display":"82.599","value":"82.599"},"IQD":{"display":"1458.53","value":"1458.53"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"141.61","value":"141.61"},"JMD":{"display":"150","value":"150.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"131.83","value":"131.83"},"KES":{"display":"123.25","value":"123.25"},"KGS":{"display":"85.68","value":"85.68"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"461.6","value":"461.6"},"KRW":{"display":"1252.61","value":"1252.61"},"KWD":{"display":"0.306","value":"0.306"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"462.54","value":"462.54"},"LAK":{"display":"17217","value":"17217.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"363","value":"363.0"},"LRD":{"display":"153.5","value":"153.5"},"LSL":{"display":"16.948","value":"16.948"},"LYD":{"display":"4.817","value":"4.817"},"MAD":{"display":"10.48","value":"10.48"},"MDL":{"display":"19.08","value":"19.08"},"MGA":{"display":"4360","value":"4360.0"},"MKD":{"display":"57.56","value":"57.56"},"MMK":{"display":"2100","value":"2100.0"},"MNT":{"display":"3443.37","value":"3443.37"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"43.85","value":"43.85"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1035.49","value":"1035.49"},"MXN":{"display":"19.546","value":"19.546"},"MYR":{"display":"4.4","value":"4.4"},"MZN":{"display":"63.24","value":"63.24"},"NAD":{"display":"16.948","value":"16.948"},"NGN":{"display":"440","value":"440.0"},"NIO":{"display":"36.15","value":"36.15"},"NOK":{"display":"9.831","value":"9.831"},"NPR":{"display":"132.25","value":"132.25"},"NZD":{"display":"1.575","value":"1.575"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.786","value":"3.786"},"PGK":{"display":"3.431","value":"3.431"},"PHP":{"display":"55.606","value":"55.606"},"PKR":{"display":"226.4","value":"226.4"},"PLN":{"display":"4.38","value":"4.38"},"PYG":{"display":"7309.61","value":"7309.61"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.627","value":"4.627"},"RSD":{"display":"109.69","value":"109.69"},"RUB":{"display":"71.481","value":"71.481"},"RWF":{"display":"1060","value":"1060.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.949","value":"7.949"},"SCR":{"display":"12.87","value":"12.87"},"SDG":{"display":"576","value":"576.0"},"SEK":{"display":"10.386","value":"10.386"},"SGD":{"display":"1.34","value":"1.34"},"SLE":{"display":"18.8","value":"18.8"},"SOS":{"display":"565","value":"565.0"},"SRD":{"display":"31.714","value":"31.714"},"SSP":{"display":"669","value":"669.0"},"STN":{"display":"23.062","value":"23.062"},"SYP":{"display":"2510","value":"2510.0"},"SZL":{"display":"16.948","value":"16.948"},"THB":{"display":"34.52","value":"34.52"},"TJS":{"display":"10.16","value":"10.16"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.094","value":"3.094"},"TOP":{"display":"2.261","value":"2.261"},"TRY":{"display":"18.711","value":"18.711"},"TTD":{"display":"6.765","value":"6.765"},"TWD":{"display":"30.648","value":"30.648"},"TZS":{"display":"2329","value":"2329.0"},"UAH":{"display":"36.569","value":"36.569"},"UGX":{"display":"3715","value":"3715.0"},"UYU":{"display":"39.95","value":"39.95"},"UZS":{"display":"11224.32","value":"11224.32"},"VES":{"display":"17.236","value":"17.236"},"VND":{"display":"23610","value":"23610.0"},"VUV":{"display":"119.9","value":"119.9"},"WST":{"display":"2.607","value":"2.607"},"XAF":{"display":"613.79","value":"613.79"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"614.84","value":"614.84"},"YER":{"display":"580","value":"580.0"},"ZAR":{"display":"16.948","value":"16.948"},"ZMW":{"display":"18.1","value":"18.1"},"ZWL":{"display":"654.66","value":"654.66"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"89.11","value":"89.11"},"ALL":{"display":"106.5","value":"106.5"},"AMD":{"display":"400","value":"400.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"503.65","value":"503.65"},"ARS":{"display":"183","value":"183.0"},"AUD":{"display":"1.471","value":"1.471"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.83","value":"1.83"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"105","value":"105.0"},"BGN":{"display":"1.83","value":"1.83"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"2045.3","value":"2045.3"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.34","value":"1.34"},"BOB":{"display":"6.86","value":"6.86"},"BRL":{"display":"5.286","value":"5.286"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"12.739","value":"12.739"},"BYN":{"display":"2.518","value":"2.518"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.354","value":"1.354"},"CDF":{"display":"2012","value":"2012.0"},"CHF":{"display":"0.923","value":"0.923"},"CLP":{"display":"851.5","value":"851.5"},"CNY":{"display":"6.897","value":"6.897"},"COP":{"display":"4845.83","value":"4845.83"},"CRC":{"display":"591.36","value":"591.36"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"103.16","value":"103.16"},"CZK":{"display":"22.102","value":"22.102"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.959","value":"6.959"},"DOP":{"display":"55.72","value":"55.72"},"DZD":{"display":"136.467","value":"136.467"},"EGP":{"display":"24.74","value":"24.74"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"53.339","value":"53.339"},"EUR":{"display":"0.936","value":"0.936"},"FJD":{"display":"2.176","value":"2.176"},"GBP":{"display":"0.83","value":"0.83"},"GEL":{"display":"2.665","value":"2.665"},"GHS":{"display":"9.8","value":"9.8"},"GMD":{"display":"61","value":"61.0"},"GNF":{"display":"8554","value":"8554.0"},"GTQ":{"display":"7.84","value":"7.84"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.797","value":"7.797"},"HNL":{"display":"24.552","value":"24.552"},"HRK":{"display":"6.87","value":"6.87"},"HTG":{"display":"145","value":"145.0"},"HUF":{"display":"374.63","value":"374.63"},"IDR":{"display":"15528.42","value":"15528.42"},"ILS":{"display":"3.518","value":"3.518"},"INR":{"display":"82.599","value":"82.599"},"IQD":{"display":"1458.53","value":"1458.53"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"141.61","value":"141.61"},"JMD":{"display":"150","value":"150.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"131.83","value":"131.83"},"KES":{"display":"123.25","value":"123.25"},"KGS":{"display":"85.68","value":"85.68"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"461.6","value":"461.6"},"KRW":{"display":"1252.61","value":"1252.61"},"KWD":{"display":"0.306","value":"0.306"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"462.54","value":"462.54"},"LAK":{"display":"17217","value":"17217.0"},"LBP":{"display":"1500","value":"1500.0"},"LKR":{"display":"363","value":"363.0"},"LRD":{"display":"153.5","value":"153.5"},"LSL":{"display":"16.948","value":"16.948"},"LYD":{"display":"4.817","value":"4.817"},"MAD":{"display":"10.48","value":"10.48"},"MDL":{"display":"19.08","value":"19.08"},"MGA":{"display":"4360","value":"4360.0"},"MKD":{"display":"57.56","value":"57.56"},"MMK":{"display":"2100","value":"2100.0"},"MNT":{"display":"3443.37","value":"3443.37"},"MRU":{"display":"37","value":"37.0"},"MUR":{"display":"43.85","value":"43.85"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1035.49","value":"1035.49"},"MXN":{"display":"19.546","value":"19.546"},"MYR":{"display":"4.4","value":"4.4"},"MZN":{"display":"63.24","value":"63.24"},"NAD":{"display":"16.948","value":"16.948"},"NGN":{"display":"440","value":"440.0"},"NIO":{"display":"36.15","value":"36.15"},"NOK":{"display":"9.831","value":"9.831"},"NPR":{"display":"132.25","value":"132.25"},"NZD":{"display":"1.575","value":"1.575"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.786","value":"3.786"},"PGK":{"display":"3.431","value":"3.431"},"PHP":{"display":"55.606","value":"55.606"},"PKR":{"display":"226.4","value":"226.4"},"PLN":{"display":"4.38","value":"4.38"},"PYG":{"display":"7309.61","value":"7309.61"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.627","value":"4.627"},"RSD":{"display":"109.69","value":"109.69"},"RUB":{"display":"71.481","value":"71.481"},"RWF":{"display":"1060","value":"1060.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.949","value":"7.949"},"SCR":{"display":"12.87","value":"12.87"},"SDG":{"display":"576","value":"576.0"},"SEK":{"display":"10.386","value":"10.386"},"SGD":{"display":"1.34","value":"1.34"},"SLE":{"display":"18.8","value":"18.8"},"SOS":{"display":"565","value":"565.0"},"SRD":{"display":"31.714","value":"31.714"},"SSP":{"display":"669","value":"669.0"},"STN":{"display":"23.062","value":"23.062"},"SYP":{"display":"2510","value":"2510.0"},"SZL":{"display":"16.948","value":"16.948"},"THB":{"display":"34.52","value":"34.52"},"TJS":{"display":"10.16","value":"10.16"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.094","value":"3.094"},"TOP":{"display":"2.261","value":"2.261"},"TRY":{"display":"18.711","value":"18.711"},"TTD":{"display":"6.765","value":"6.765"},"TWD":{"display":"30.648","value":"30.648"},"TZS":{"display":"2329","value":"2329.0"},"UAH":{"display":"36.569","value":"36.569"},"UGX":{"display":"3715","value":"3715.0"},"UYU":{"display":"39.95","value":"39.95"},"UZS":{"display":"11224.32","value":"11224.32"},"VES":{"display":"17.236","value":"17.236"},"VND":{"display":"23610","value":"23610.0"},"VUV":{"display":"119.9","value":"119.9"},"WST":{"display":"2.607","value":"2.607"},"XAF":{"display":"613.79","value":"613.79"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"614.84","value":"614.84"},"YER":{"display":"580","value":"580.0"},"ZAR":{"display":"16.948","value":"16.948"},"ZMW":{"display":"18.1","value":"18.1"},"ZWL":{"display":"654.66","value":"654.66"}}}},"2023":{"canada_plan_additions_limit":{"display":"$66,000","value":"66000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2024","value":"2024"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$19,200","value":"19200"},"ltc_premium_limits":{"display":"$480 if 40 or younger, $890 if 41 to 50, $1,790 if 51 to 60, $4,770 if 61 to 70, $5,960 if 71 or older","value":"5960"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$4,700","value":"4700"},"regular_filing_due_date":{"display":"15 April 2024","value":"738991"},"return_year":{"display":"2023","value":"2023"},"return_year_less_1":{"display":"2022","value":"2022"},"return_year_less_2":{"display":"2021","value":"2021"},"return_year_less_3":{"display":"2020","value":"2020"},"return_year_less_4":{"display":"2019","value":"2019"},"return_year_less_5":{"display":"2018","value":"2018"},"roth_income_limit_joint":{"display":"$218,000","value":"218000"},"roth_income_limit_others":{"display":"$138,000","value":"138000"},"roth_ira_limit":{"display":"$6,500 ($7,500 at age 50 or older at the end of 2023)","value":"6500"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$20,800","value":"20800"},"mfj":{"display":"$27,700","value":"27700"},"mfs":{"display":"$13,850","value":"13850"},"qss":{"display":"$27,700","value":"27700"},"single":{"display":"$13,850","value":"13850"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"70.54","value":"70.54"},"ALL":{"display":"93.23","value":"93.23"},"AMD":{"display":"400","value":"400.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"842.5","value":"842.5"},"ARS":{"display":"827.75","value":"827.75"},"AUD":{"display":"1.472","value":"1.472"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.769","value":"1.769"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"113","value":"113.0"},"BGN":{"display":"1.769","value":"1.769"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"2850","value":"2850.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.32","value":"1.32"},"BOB":{"display":"6.86","value":"6.86"},"BRL":{"display":"4.852","value":"4.852"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"13.387","value":"13.387"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.326","value":"1.326"},"CDF":{"display":"2660","value":"2660.0"},"CHF":{"display":"0.838","value":"0.838"},"CLP":{"display":"880","value":"880.0"},"CNY":{"display":"7.104","value":"7.104"},"COP":{"display":"3873","value":"3873.0"},"CRC":{"display":"519.22","value":"519.22"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"99.75","value":"99.75"},"CZK":{"display":"21.731","value":"21.731"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.744","value":"6.744"},"DOP":{"display":"57.9","value":"57.9"},"DZD":{"display":"134.051","value":"134.051"},"EGP":{"display":"30.9","value":"30.9"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"55.997","value":"55.997"},"EUR":{"display":"0.905","value":"0.905"},"FJD":{"display":"2.165","value":"2.165"},"GBP":{"display":"0.786","value":"0.786"},"GEL":{"display":"2.665","value":"2.665"},"GHS":{"display":"11.9","value":"11.9"},"GMD":{"display":"64","value":"64.0"},"GNF":{"display":"8511","value":"8511.0"},"GTQ":{"display":"7.815","value":"7.815"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.811","value":"7.811"},"HNL":{"display":"24.624","value":"24.624"},"HTG":{"display":"131.23","value":"131.23"},"HUF":{"display":"345.78","value":"345.78"},"IDR":{"display":"15372.69","value":"15372.69"},"ILS":{"display":"3.619","value":"3.619"},"INR":{"display":"83.162","value":"83.162"},"IQD":{"display":"1308","value":"1308.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"136.04","value":"136.04"},"JMD":{"display":"154","value":"154.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"141.47","value":"141.47"},"KES":{"display":"156.5","value":"156.5"},"KGS":{"display":"89.062","value":"89.062"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"443.49","value":"443.49"},"KRW":{"display":"1299.22","value":"1299.22"},"KWD":{"display":"0.307","value":"0.307"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"456.29","value":"456.29"},"LAK":{"display":"20476","value":"20476.0"},"LBP":{"display":"15000","value":"15000.0"},"LKR":{"display":"323.8","value":"323.8"},"LRD":{"display":"189","value":"189.0"},"LSL":{"display":"18.427","value":"18.427"},"LYD":{"display":"4.754","value":"4.754"},"MAD":{"display":"9.855","value":"9.855"},"MDL":{"display":"17.25","value":"17.25"},"MGA":{"display":"4564","value":"4564.0"},"MKD":{"display":"55.45","value":"55.45"},"MMK":{"display":"3380","value":"3380.0"},"MNT":{"display":"3410.69","value":"3410.69"},"MRU":{"display":"39.16","value":"39.16"},"MUR":{"display":"43.87","value":"43.87"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1700","value":"1700.0"},"MXN":{"display":"16.949","value":"16.949"},"MYR":{"display":"4.59","value":"4.59"},"MZN":{"display":"63.25","value":"63.25"},"NAD":{"display":"18.427","value":"18.427"},"NGN":{"display":"910","value":"910.0"},"NIO":{"display":"36.6","value":"36.6"},"NOK":{"display":"10.166","value":"10.166"},"NPR":{"display":"133.05","value":"133.05"},"NZD":{"display":"1.585","value":"1.585"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.675","value":"3.675"},"PGK":{"display":"3.727","value":"3.727"},"PHP":{"display":"55.451","value":"55.451"},"PKR":{"display":"276.2","value":"276.2"},"PLN":{"display":"3.924","value":"3.924"},"PYG":{"display":"7249.99","value":"7249.99"},"QAR":{"display":"3.645","value":"3.645"},"RON":{"display":"4.499","value":"4.499"},"RSD":{"display":"105.92","value":"105.92"},"RUB":{"display":"89.067","value":"89.067"},"RWF":{"display":"1250","value":"1250.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"8.065","value":"8.065"},"SCR":{"display":"13.473","value":"13.473"},"SDG":{"display":"830","value":"830.0"},"SEK":{"display":"10.031","value":"10.031"},"SGD":{"display":"1.32","value":"1.32"},"SLE":{"display":"22.7","value":"22.7"},"SOS":{"display":"568","value":"568.0"},"SRD":{"display":"36.723","value":"36.723"},"SSP":{"display":"1070","value":"1070.0"},"STN":{"display":"22.142","value":"22.142"},"SYP":{"display":"8585","value":"8585.0"},"SZL":{"display":"18.427","value":"18.427"},"THB":{"display":"34.33","value":"34.33"},"TJS":{"display":"10.93","value":"10.93"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.064","value":"3.064"},"TOP":{"display":"2.26","value":"2.26"},"TRY":{"display":"29.547","value":"29.547"},"TTD":{"display":"6.749","value":"6.749"},"TWD":{"display":"30.641","value":"30.641"},"TZS":{"display":"2505","value":"2505.0"},"UAH":{"display":"38.089","value":"38.089"},"UGX":{"display":"3775","value":"3775.0"},"UYU":{"display":"39.02","value":"39.02"},"UZS":{"display":"12333.77","value":"12333.77"},"VES":{"display":"35.841","value":"35.841"},"VND":{"display":"24260","value":"24260.0"},"VUV":{"display":"116","value":"116.0"},"WST":{"display":"2.653","value":"2.653"},"XAF":{"display":"593.41","value":"593.41"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"589","value":"589.0"},"YER":{"display":"528","value":"528.0"},"ZAR":{"display":"18.427","value":"18.427"},"ZMW":{"display":"25.71","value":"25.71"},"ZWL":{"display":"5801.47","value":"5801.47"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"70.54","value":"70.54"},"ALL":{"display":"93.23","value":"93.23"},"AMD":{"display":"400","value":"400.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"842.5","value":"842.5"},"ARS":{"display":"827.75","value":"827.75"},"AUD":{"display":"1.472","value":"1.472"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.769","value":"1.769"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"113","value":"113.0"},"BGN":{"display":"1.769","value":"1.769"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"2850","value":"2850.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.32","value":"1.32"},"BOB":{"display":"6.86","value":"6.86"},"BRL":{"display":"4.852","value":"4.852"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"13.387","value":"13.387"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.326","value":"1.326"},"CDF":{"display":"2660","value":"2660.0"},"CHF":{"display":"0.838","value":"0.838"},"CLP":{"display":"880","value":"880.0"},"CNY":{"display":"7.104","value":"7.104"},"COP":{"display":"3873","value":"3873.0"},"CRC":{"display":"519.22","value":"519.22"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"99.75","value":"99.75"},"CZK":{"display":"21.731","value":"21.731"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.744","value":"6.744"},"DOP":{"display":"57.9","value":"57.9"},"DZD":{"display":"134.051","value":"134.051"},"EGP":{"display":"30.9","value":"30.9"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"55.997","value":"55.997"},"EUR":{"display":"0.905","value":"0.905"},"FJD":{"display":"2.165","value":"2.165"},"GBP":{"display":"0.786","value":"0.786"},"GEL":{"display":"2.665","value":"2.665"},"GHS":{"display":"11.9","value":"11.9"},"GMD":{"display":"64","value":"64.0"},"GNF":{"display":"8511","value":"8511.0"},"GTQ":{"display":"7.815","value":"7.815"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.811","value":"7.811"},"HNL":{"display":"24.624","value":"24.624"},"HTG":{"display":"131.23","value":"131.23"},"HUF":{"display":"345.78","value":"345.78"},"IDR":{"display":"15372.69","value":"15372.69"},"ILS":{"display":"3.619","value":"3.619"},"INR":{"display":"83.162","value":"83.162"},"IQD":{"display":"1308","value":"1308.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"136.04","value":"136.04"},"JMD":{"display":"154","value":"154.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"141.47","value":"141.47"},"KES":{"display":"156.5","value":"156.5"},"KGS":{"display":"89.062","value":"89.062"},"KHR":{"display":"4051","value":"4051.0"},"KMF":{"display":"443.49","value":"443.49"},"KRW":{"display":"1299.22","value":"1299.22"},"KWD":{"display":"0.307","value":"0.307"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"456.29","value":"456.29"},"LAK":{"display":"20476","value":"20476.0"},"LBP":{"display":"15000","value":"15000.0"},"LKR":{"display":"323.8","value":"323.8"},"LRD":{"display":"189","value":"189.0"},"LSL":{"display":"18.427","value":"18.427"},"LYD":{"display":"4.754","value":"4.754"},"MAD":{"display":"9.855","value":"9.855"},"MDL":{"display":"17.25","value":"17.25"},"MGA":{"display":"4564","value":"4564.0"},"MKD":{"display":"55.45","value":"55.45"},"MMK":{"display":"3380","value":"3380.0"},"MNT":{"display":"3410.69","value":"3410.69"},"MRU":{"display":"39.16","value":"39.16"},"MUR":{"display":"43.87","value":"43.87"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1700","value":"1700.0"},"MXN":{"display":"16.949","value":"16.949"},"MYR":{"display":"4.59","value":"4.59"},"MZN":{"display":"63.25","value":"63.25"},"NAD":{"display":"18.427","value":"18.427"},"NGN":{"display":"910","value":"910.0"},"NIO":{"display":"36.6","value":"36.6"},"NOK":{"display":"10.166","value":"10.166"},"NPR":{"display":"133.05","value":"133.05"},"NZD":{"display":"1.585","value":"1.585"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.675","value":"3.675"},"PGK":{"display":"3.727","value":"3.727"},"PHP":{"display":"55.451","value":"55.451"},"PKR":{"display":"276.2","value":"276.2"},"PLN":{"display":"3.924","value":"3.924"},"PYG":{"display":"7249.99","value":"7249.99"},"QAR":{"display":"3.645","value":"3.645"},"RON":{"display":"4.499","value":"4.499"},"RSD":{"display":"105.92","value":"105.92"},"RUB":{"display":"89.067","value":"89.067"},"RWF":{"display":"1250","value":"1250.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"8.065","value":"8.065"},"SCR":{"display":"13.473","value":"13.473"},"SDG":{"display":"830","value":"830.0"},"SEK":{"display":"10.031","value":"10.031"},"SGD":{"display":"1.32","value":"1.32"},"SLE":{"display":"22.7","value":"22.7"},"SOS":{"display":"568","value":"568.0"},"SRD":{"display":"36.723","value":"36.723"},"SSP":{"display":"1070","value":"1070.0"},"STN":{"display":"22.142","value":"22.142"},"SYP":{"display":"8585","value":"8585.0"},"SZL":{"display":"18.427","value":"18.427"},"THB":{"display":"34.33","value":"34.33"},"TJS":{"display":"10.93","value":"10.93"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.064","value":"3.064"},"TOP":{"display":"2.26","value":"2.26"},"TRY":{"display":"29.547","value":"29.547"},"TTD":{"display":"6.749","value":"6.749"},"TWD":{"display":"30.641","value":"30.641"},"TZS":{"display":"2505","value":"2505.0"},"UAH":{"display":"38.089","value":"38.089"},"UGX":{"display":"3775","value":"3775.0"},"UYU":{"display":"39.02","value":"39.02"},"UZS":{"display":"12333.77","value":"12333.77"},"VES":{"display":"35.841","value":"35.841"},"VND":{"display":"24260","value":"24260.0"},"VUV":{"display":"116","value":"116.0"},"WST":{"display":"2.653","value":"2.653"},"XAF":{"display":"593.41","value":"593.41"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"589","value":"589.0"},"YER":{"display":"528","value":"528.0"},"ZAR":{"display":"18.427","value":"18.427"},"ZMW":{"display":"25.71","value":"25.71"},"ZWL":{"display":"5801.47","value":"5801.47"}}}},"2024":{"canada_plan_additions_limit":{"display":"$69,000","value":"69000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2025","value":"2025"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"highly_paid_pay_limit":{"display":"$150,000 in 2023","value":"150000"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"housing_base_amount":{"display":"$20,240","value":"20240"},"ltc_premium_limits":{"display":"$470 if 40 or younger, $880 if 41 to 50, $1,760 if 51 to 60, $4,710 if 61 to 70, $5,880 if 71 or older","value":"5880"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$5,050","value":"5050"},"regular_filing_due_date":{"display":"15 April 2025","value":"739356"},"return_year":{"display":"2024","value":"2024"},"return_year_less_1":{"display":"2023","value":"2023"},"return_year_less_2":{"display":"2022","value":"2022"},"return_year_less_3":{"display":"2021","value":"2021"},"return_year_less_4":{"display":"2020","value":"2020"},"return_year_less_5":{"display":"2019","value":"2019"},"roth_income_limit_joint":{"display":"$230,000","value":"230000"},"roth_income_limit_others":{"display":"$146,000","value":"146000"},"roth_ira_limit":{"display":"$7,000 ($8,000 at age 50 or older at the end of 2024)","value":"7000"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$21,900","value":"21900"},"mfj":{"display":"$29,200","value":"29200"},"mfs":{"display":"$14,600","value":"14600"},"qss":{"display":"$29,200","value":"29200"},"single":{"display":"$14,600","value":"14600"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"70.35","value":"70.35"},"ALL":{"display":"93.85","value":"93.85"},"AMD":{"display":"390","value":"390.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"912","value":"912.0"},"ARS":{"display":"1052.5","value":"1052.5"},"AUD":{"display":"1.612","value":"1.612"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.88","value":"1.88"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"119","value":"119.0"},"BGN":{"display":"1.88","value":"1.88"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"2900","value":"2900.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.363","value":"1.363"},"BOB":{"display":"6.86","value":"6.86"},"BRL":{"display":"6.184","value":"6.184"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"13.967","value":"13.967"},"BYN":{"display":"3.443","value":"3.443"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.438","value":"1.438"},"CDF":{"display":"2843","value":"2843.0"},"CHF":{"display":"0.905","value":"0.905"},"CLP":{"display":"992.6","value":"992.6"},"CNY":{"display":"7.299","value":"7.299"},"COP":{"display":"4402.49","value":"4402.49"},"CRC":{"display":"506","value":"506.0"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"105.99","value":"105.99"},"CZK":{"display":"23.538","value":"23.538"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"7.17","value":"7.17"},"DOP":{"display":"60.71","value":"60.71"},"DZD":{"display":"135.103","value":"135.103"},"EGP":{"display":"50.79","value":"50.79"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"125.383","value":"125.383"},"EUR":{"display":"0.961","value":"0.961"},"FJD":{"display":"2.289","value":"2.289"},"GBP":{"display":"0.797","value":"0.797"},"GEL":{"display":"2.78","value":"2.78"},"GHS":{"display":"14.65","value":"14.65"},"GMD":{"display":"70","value":"70.0"},"GNF":{"display":"8602","value":"8602.0"},"GTQ":{"display":"7.7","value":"7.7"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.766","value":"7.766"},"HNL":{"display":"25.315","value":"25.315"},"HRK":{"display":"0.961","value":"0.961"},"HTG":{"display":"130.193","value":"130.193"},"HUF":{"display":"395.32","value":"395.32"},"IDR":{"display":"16067.13","value":"16067.13"},"ILS":{"display":"3.647","value":"3.647"},"INR":{"display":"85.577","value":"85.577"},"IQD":{"display":"1309","value":"1309.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"138.19","value":"138.19"},"JMD":{"display":"159","value":"159.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"156.85","value":"156.85"},"KES":{"display":"128.85","value":"128.85"},"KGS":{"display":"86.999","value":"86.999"},"KHR":{"display":"4015","value":"4015.0"},"KMF":{"display":"473.29","value":"473.29"},"KRW":{"display":"1473.27","value":"1473.27"},"KWD":{"display":"0.308","value":"0.308"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"524.6","value":"524.6"},"LAK":{"display":"21744","value":"21744.0"},"LBP":{"display":"89500","value":"89500.0"},"LKR":{"display":"293","value":"293.0"},"LRD":{"display":"183","value":"183.0"},"LSL":{"display":"18.85","value":"18.85"},"LYD":{"display":"4.904","value":"4.904"},"MAD":{"display":"10.103","value":"10.103"},"MDL":{"display":"18.3","value":"18.3"},"MGA":{"display":"4620","value":"4620.0"},"MKD":{"display":"58.86","value":"58.86"},"MMK":{"display":"3596","value":"3596.0"},"MNT":{"display":"3420","value":"3420.0"},"MRU":{"display":"39.714","value":"39.714"},"MUR":{"display":"46.93","value":"46.93"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1751","value":"1751.0"},"MXN":{"display":"20.704","value":"20.704"},"MYR":{"display":"4.468","value":"4.468"},"MZN":{"display":"63.27","value":"63.27"},"NAD":{"display":"18.85","value":"18.85"},"NGN":{"display":"1540","value":"1540.0"},"NIO":{"display":"36.6","value":"36.6"},"NOK":{"display":"11.322","value":"11.322"},"NPR":{"display":"136.98","value":"136.98"},"NZD":{"display":"1.781","value":"1.781"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.757","value":"3.757"},"PGK":{"display":"3.992","value":"3.992"},"PHP":{"display":"58.025","value":"58.025"},"PKR":{"display":"278.4","value":"278.4"},"PLN":{"display":"4.108","value":"4.108"},"PYG":{"display":"7793.72","value":"7793.72"},"QAR":{"display":"3.645","value":"3.645"},"RON":{"display":"4.779","value":"4.779"},"RSD":{"display":"112.32","value":"112.32"},"RUB":{"display":"108","value":"108.0"},"RWF":{"display":"1340","value":"1340.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"8.065","value":"8.065"},"SCR":{"display":"14.355","value":"14.355"},"SDG":{"display":"1987","value":"1987.0"},"SEK":{"display":"11.006","value":"11.006"},"SGD":{"display":"1.363","value":"1.363"},"SLE":{"display":"22.59","value":"22.59"},"SOS":{"display":"568","value":"568.0"},"SRD":{"display":"35.192","value":"35.192"},"SSP":{"display":"3900","value":"3900.0"},"STN":{"display":"23.479","value":"23.479"},"SYP":{"display":"12625","value":"12625.0"},"SZL":{"display":"18.85","value":"18.85"},"THB":{"display":"34.33","value":"34.33"},"TJS":{"display":"10.85","value":"10.85"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.18","value":"3.18"},"TOP":{"display":"2.356","value":"2.356"},"TRY":{"display":"35.365","value":"35.365"},"TTD":{"display":"6.766","value":"6.766"},"TWD":{"display":"32.709","value":"32.709"},"TZS":{"display":"2400","value":"2400.0"},"UAH":{"display":"42.042","value":"42.042"},"UGX":{"display":"3674","value":"3674.0"},"UYU":{"display":"43.66","value":"43.66"},"UZS":{"display":"12899.9","value":"12899.9"},"VES":{"display":"51.897","value":"51.897"},"VND":{"display":"25480","value":"25480.0"},"VUV":{"display":"116","value":"116.0"},"WST":{"display":"2.74","value":"2.74"},"XAF":{"display":"630.55","value":"630.55"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"626","value":"626.0"},"YER":{"display":"528","value":"528.0"},"ZAR":{"display":"18.85","value":"18.85"},"ZMW":{"display":"27.775","value":"27.775"},"ZWG":{"display":"25.025","value":"25.025"},"ZWL":{"display":"13.635","value":"13.635"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.673","value":"3.673"},"AFN":{"display":"70.35","value":"70.35"},"ALL":{"display":"93.85","value":"93.85"},"AMD":{"display":"390","value":"390.0"},"ANG":{"display":"1.78","value":"1.78"},"AOA":{"display":"912","value":"912.0"},"ARS":{"display":"1052.5","value":"1052.5"},"AUD":{"display":"1.612","value":"1.612"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.88","value":"1.88"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"119","value":"119.0"},"BGN":{"display":"1.88","value":"1.88"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"2900","value":"2900.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.363","value":"1.363"},"BOB":{"display":"6.86","value":"6.86"},"BRL":{"display":"6.184","value":"6.184"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"13.967","value":"13.967"},"BYN":{"display":"3.443","value":"3.443"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.438","value":"1.438"},"CDF":{"display":"2843","value":"2843.0"},"CHF":{"display":"0.905","value":"0.905"},"CLP":{"display":"992.6","value":"992.6"},"CNY":{"display":"7.299","value":"7.299"},"COP":{"display":"4402.49","value":"4402.49"},"CRC":{"display":"506","value":"506.0"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"105.99","value":"105.99"},"CZK":{"display":"23.538","value":"23.538"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"7.17","value":"7.17"},"DOP":{"display":"60.71","value":"60.71"},"DZD":{"display":"135.103","value":"135.103"},"EGP":{"display":"50.79","value":"50.79"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"125.383","value":"125.383"},"EUR":{"display":"0.961","value":"0.961"},"FJD":{"display":"2.289","value":"2.289"},"GBP":{"display":"0.797","value":"0.797"},"GEL":{"display":"2.78","value":"2.78"},"GHS":{"display":"14.65","value":"14.65"},"GMD":{"display":"70","value":"70.0"},"GNF":{"display":"8602","value":"8602.0"},"GTQ":{"display":"7.7","value":"7.7"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.766","value":"7.766"},"HNL":{"display":"25.315","value":"25.315"},"HRK":{"display":"0.961","value":"0.961"},"HTG":{"display":"130.193","value":"130.193"},"HUF":{"display":"395.32","value":"395.32"},"IDR":{"display":"16067.13","value":"16067.13"},"ILS":{"display":"3.647","value":"3.647"},"INR":{"display":"85.577","value":"85.577"},"IQD":{"display":"1309","value":"1309.0"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"138.19","value":"138.19"},"JMD":{"display":"159","value":"159.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"156.85","value":"156.85"},"KES":{"display":"128.85","value":"128.85"},"KGS":{"display":"86.999","value":"86.999"},"KHR":{"display":"4015","value":"4015.0"},"KMF":{"display":"473.29","value":"473.29"},"KRW":{"display":"1473.27","value":"1473.27"},"KWD":{"display":"0.308","value":"0.308"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"524.6","value":"524.6"},"LAK":{"display":"21744","value":"21744.0"},"LBP":{"display":"89500","value":"89500.0"},"LKR":{"display":"293","value":"293.0"},"LRD":{"display":"183","value":"183.0"},"LSL":{"display":"18.85","value":"18.85"},"LYD":{"display":"4.904","value":"4.904"},"MAD":{"display":"10.103","value":"10.103"},"MDL":{"display":"18.3","value":"18.3"},"MGA":{"display":"4620","value":"4620.0"},"MKD":{"display":"58.86","value":"58.86"},"MMK":{"display":"3596","value":"3596.0"},"MNT":{"display":"3420","value":"3420.0"},"MRU":{"display":"39.714","value":"39.714"},"MUR":{"display":"46.93","value":"46.93"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1751","value":"1751.0"},"MXN":{"display":"20.704","value":"20.704"},"MYR":{"display":"4.468","value":"4.468"},"MZN":{"display":"63.27","value":"63.27"},"NAD":{"display":"18.85","value":"18.85"},"NGN":{"display":"1540","value":"1540.0"},"NIO":{"display":"36.6","value":"36.6"},"NOK":{"display":"11.322","value":"11.322"},"NPR":{"display":"136.98","value":"136.98"},"NZD":{"display":"1.781","value":"1.781"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.757","value":"3.757"},"PGK":{"display":"3.992","value":"3.992"},"PHP":{"display":"58.025","value":"58.025"},"PKR":{"display":"278.4","value":"278.4"},"PLN":{"display":"4.108","value":"4.108"},"PYG":{"display":"7793.72","value":"7793.72"},"QAR":{"display":"3.645","value":"3.645"},"RON":{"display":"4.779","value":"4.779"},"RSD":{"display":"112.32","value":"112.32"},"RUB":{"display":"108","value":"108.0"},"RWF":{"display":"1340","value":"1340.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"8.065","value":"8.065"},"SCR":{"display":"14.355","value":"14.355"},"SDG":{"display":"1987","value":"1987.0"},"SEK":{"display":"11.006","value":"11.006"},"SGD":{"display":"1.363","value":"1.363"},"SLE":{"display":"22.59","value":"22.59"},"SOS":{"display":"568","value":"568.0"},"SRD":{"display":"35.192","value":"35.192"},"SSP":{"display":"3900","value":"3900.0"},"STN":{"display":"23.479","value":"23.479"},"SYP":{"display":"12625","value":"12625.0"},"SZL":{"display":"18.85","value":"18.85"},"THB":{"display":"34.33","value":"34.33"},"TJS":{"display":"10.85","value":"10.85"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"3.18","value":"3.18"},"TOP":{"display":"2.356","value":"2.356"},"TRY":{"display":"35.365","value":"35.365"},"TTD":{"display":"6.766","value":"6.766"},"TWD":{"display":"32.709","value":"32.709"},"TZS":{"display":"2400","value":"2400.0"},"UAH":{"display":"42.042","value":"42.042"},"UGX":{"display":"3674","value":"3674.0"},"UYU":{"display":"43.66","value":"43.66"},"UZS":{"display":"12899.9","value":"12899.9"},"VES":{"display":"51.897","value":"51.897"},"VND":{"display":"25480","value":"25480.0"},"VUV":{"display":"116","value":"116.0"},"WST":{"display":"2.74","value":"2.74"},"XAF":{"display":"630.55","value":"630.55"},"XCD":{"display":"2.7","value":"2.7"},"XOF":{"display":"626","value":"626.0"},"YER":{"display":"528","value":"528.0"},"ZAR":{"display":"18.85","value":"18.85"},"ZMW":{"display":"27.775","value":"27.775"},"ZWG":{"display":"25.025","value":"25.025"},"ZWL":{"display":"13.635","value":"13.635"}}}},"2025":{"canada_plan_additions_limit":{"display":"$70,000","value":"70000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2026","value":"2026"},"form_8283_section_b_threshold":{"display":"$5,000","value":"5000"},"form_8283_threshold":{"display":"$500","value":"500"},"highly_paid_pay_limit":{"display":"$155,000 in 2024","value":"155000"},"home_mortgage_debt_limit":{"by":"about_you.filing_status","values":{"hoh":{"display":"$750,000","value":"750000"},"mfj":{"display":"$750,000","value":"750000"},"mfs":{"display":"$375,000","value":"375000"},"qss":{"display":"$750,000","value":"750000"},"single":{"display":"$750,000","value":"750000"}}},"household_employee_cash_wage_test":{"display":"$2,800","value":"2800"},"household_quarter_wage_test":{"display":"$1,000","value":"1000"},"housing_base_amount":{"display":"$20,800","value":"20800"},"housing_base_daily_rate":{"display":"$56.99","value":"56.99"},"ltc_premium_limits":{"display":"$480 if 40 or younger, $900 if 41 to 50, $1,800 if 51 to 60, $4,810 if 61 to 70, $6,020 if 71 or older","value":"6020"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"qualifying_relative_gross_income_limit":{"display":"$5,200","value":"5200"},"regular_filing_due_date":{"display":"15 April 2026","value":"739721"},"return_year":{"display":"2025","value":"2025"},"return_year_less_1":{"display":"2024","value":"2024"},"return_year_less_2":{"display":"2023","value":"2023"},"return_year_less_3":{"display":"2022","value":"2022"},"return_year_less_4":{"display":"2021","value":"2021"},"return_year_less_5":{"display":"2020","value":"2020"},"roth_income_limit_joint":{"display":"$236,000","value":"236000"},"roth_income_limit_others":{"display":"$150,000","value":"150000"},"roth_ira_limit":{"display":"$7,000 ($8,000 at age 50 or older at the end of 2025)","value":"7000"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$23,625","value":"23625"},"mfj":{"display":"$31,500","value":"31500"},"mfs":{"display":"$15,750","value":"15750"},"qss":{"display":"$31,500","value":"31500"},"single":{"display":"$15,750","value":"15750"}}},"treasury_rates_saved":{"display":"1","value":"1"},"treasury_year_end_rate_account":{"by":"foreign_accounts.foreign_accounts.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.672","value":"3.672"},"AFN":{"display":"65.96","value":"65.96"},"ALL":{"display":"81.85","value":"81.85"},"AMD":{"display":"380","value":"380.0"},"AOA":{"display":"912.286","value":"912.286"},"ARS":{"display":"1480","value":"1480.0"},"AUD":{"display":"1.495","value":"1.495"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.664","value":"1.664"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"123","value":"123.0"},"BGN":{"display":"1.664","value":"1.664"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"3000","value":"3000.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.285","value":"1.285"},"BOB":{"display":"6.85","value":"6.85"},"BRL":{"display":"5.477","value":"5.477"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"12.136","value":"12.136"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.369","value":"1.369"},"CDF":{"display":"2215","value":"2215.0"},"CHF":{"display":"0.792","value":"0.792"},"CLP":{"display":"900.35","value":"900.35"},"CNY":{"display":"6.998","value":"6.998"},"COP":{"display":"3773.62","value":"3773.62"},"CRC":{"display":"493.36","value":"493.36"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"93.81","value":"93.81"},"CZK":{"display":"20.101","value":"20.101"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.355","value":"6.355"},"DOP":{"display":"62.76","value":"62.76"},"DZD":{"display":"128.921","value":"128.921"},"EGP":{"display":"47.6","value":"47.6"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"154.664","value":"154.664"},"EUR":{"display":"0.851","value":"0.851"},"FJD":{"display":"2.23","value":"2.23"},"GBP":{"display":"0.743","value":"0.743"},"GEL":{"display":"2.665","value":"2.665"},"GHS":{"display":"10.4","value":"10.4"},"GMD":{"display":"72","value":"72.0"},"GNF":{"display":"8717","value":"8717.0"},"GTQ":{"display":"7.66","value":"7.66"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.784","value":"7.784"},"HNL":{"display":"26.326","value":"26.326"},"HTG":{"display":"130.55","value":"130.55"},"HUF":{"display":"327.22","value":"327.22"},"IDR":{"display":"16649.99","value":"16649.99"},"ILS":{"display":"3.191","value":"3.191"},"INR":{"display":"89.854","value":"89.854"},"IQD":{"display":"1309.5","value":"1309.5"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"125.11","value":"125.11"},"JMD":{"display":"159","value":"159.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"156.61","value":"156.61"},"KES":{"display":"128.9","value":"128.9"},"KGS":{"display":"87.412","value":"87.412"},"KHR":{"display":"4001","value":"4001.0"},"KMF":{"display":"418.24","value":"418.24"},"KRW":{"display":"1443.75","value":"1443.75"},"KWD":{"display":"0.308","value":"0.308"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"506.28","value":"506.28"},"LAK":{"display":"21503","value":"21503.0"},"LBP":{"display":"89500","value":"89500.0"},"LKR":{"display":"309.4","value":"309.4"},"LRD":{"display":"177","value":"177.0"},"LSL":{"display":"16.546","value":"16.546"},"LYD":{"display":"5.402","value":"5.402"},"MAD":{"display":"9.101","value":"9.101"},"MDL":{"display":"16.69","value":"16.69"},"MGA":{"display":"4470","value":"4470.0"},"MKD":{"display":"52.16","value":"52.16"},"MMK":{"display":"3658","value":"3658.0"},"MNT":{"display":"3557","value":"3557.0"},"MRU":{"display":"39.799","value":"39.799"},"MUR":{"display":"46.1","value":"46.1"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1751","value":"1751.0"},"MXN":{"display":"17.956","value":"17.956"},"MYR":{"display":"4.056","value":"4.056"},"MZN":{"display":"63.27","value":"63.27"},"NAD":{"display":"16.546","value":"16.546"},"NGN":{"display":"1450","value":"1450.0"},"NIO":{"display":"36.6","value":"36.6"},"NOK":{"display":"10.072","value":"10.072"},"NPR":{"display":"143.79","value":"143.79"},"NZD":{"display":"1.733","value":"1.733"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.362","value":"3.362"},"PGK":{"display":"4.124","value":"4.124"},"PHP":{"display":"58.911","value":"58.911"},"PKR":{"display":"279.8","value":"279.8"},"PLN":{"display":"3.59","value":"3.59"},"PYG":{"display":"6554.61","value":"6554.61"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.334","value":"4.334"},"RSD":{"display":"99.71","value":"99.71"},"RUB":{"display":"81.996","value":"81.996"},"RWF":{"display":"1450","value":"1450.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.905","value":"7.905"},"SCR":{"display":"13.813","value":"13.813"},"SDG":{"display":"2400","value":"2400.0"},"SEK":{"display":"9.197","value":"9.197"},"SGD":{"display":"1.285","value":"1.285"},"SLE":{"display":"23.7","value":"23.7"},"SOS":{"display":"567","value":"567.0"},"SRD":{"display":"37.807","value":"37.807"},"SSP":{"display":"4600","value":"4600.0"},"STN":{"display":"20.842","value":"20.842"},"SYP":{"display":"11000","value":"11000.0"},"SZL":{"display":"16.546","value":"16.546"},"THB":{"display":"31.66","value":"31.66"},"TJS":{"display":"9.2","value":"9.2"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.867","value":"2.867"},"TOP":{"display":"2.354","value":"2.354"},"TRY":{"display":"42.951","value":"42.951"},"TTD":{"display":"6.768","value":"6.768"},"TWD":{"display":"31.324","value":"31.324"},"TZS":{"display":"2440","value":"2440.0"},"UAH":{"display":"42.195","value":"42.195"},"UGX":{"display":"3615","value":"3615.0"},"UYU":{"display":"39.14","value":"39.14"},"UZS":{"display":"11999.41","value":"11999.41"},"VES":{"display":"300.618","value":"300.618"},"VND":{"display":"26295","value":"26295.0"},"VUV":{"display":"119.13","value":"119.13"},"WST":{"display":"2.708","value":"2.708"},"XAF":{"display":"556.44","value":"556.44"},"XCD":{"display":"2.7","value":"2.7"},"XCG":{"display":"1.78","value":"1.78"},"XOF":{"display":"553.75","value":"553.75"},"YER":{"display":"528","value":"528.0"},"ZAR":{"display":"16.546","value":"16.546"},"ZMW":{"display":"22","value":"22.0"},"ZWG":{"display":"25.071","value":"25.071"}}},"treasury_year_end_rate_asset":{"by":"foreign_accounts.foreign_assets.foreign_currency","fold_case":true,"values":{"AED":{"display":"3.672","value":"3.672"},"AFN":{"display":"65.96","value":"65.96"},"ALL":{"display":"81.85","value":"81.85"},"AMD":{"display":"380","value":"380.0"},"AOA":{"display":"912.286","value":"912.286"},"ARS":{"display":"1480","value":"1480.0"},"AUD":{"display":"1.495","value":"1.495"},"AZN":{"display":"1.7","value":"1.7"},"BAM":{"display":"1.664","value":"1.664"},"BBD":{"display":"2.02","value":"2.02"},"BDT":{"display":"123","value":"123.0"},"BGN":{"display":"1.664","value":"1.664"},"BHD":{"display":"0.377","value":"0.377"},"BIF":{"display":"3000","value":"3000.0"},"BMD":{"display":"1","value":"1.0"},"BND":{"display":"1.285","value":"1.285"},"BOB":{"display":"6.85","value":"6.85"},"BRL":{"display":"5.477","value":"5.477"},"BSD":{"display":"1","value":"1.0"},"BWP":{"display":"12.136","value":"12.136"},"BZD":{"display":"2","value":"2.0"},"CAD":{"display":"1.369","value":"1.369"},"CDF":{"display":"2215","value":"2215.0"},"CHF":{"display":"0.792","value":"0.792"},"CLP":{"display":"900.35","value":"900.35"},"CNY":{"display":"6.998","value":"6.998"},"COP":{"display":"3773.62","value":"3773.62"},"CRC":{"display":"493.36","value":"493.36"},"CUC":{"display":"1","value":"1.0"},"CUP":{"display":"24","value":"24.0"},"CVE":{"display":"93.81","value":"93.81"},"CZK":{"display":"20.101","value":"20.101"},"DJF":{"display":"177","value":"177.0"},"DKK":{"display":"6.355","value":"6.355"},"DOP":{"display":"62.76","value":"62.76"},"DZD":{"display":"128.921","value":"128.921"},"EGP":{"display":"47.6","value":"47.6"},"ERN":{"display":"15","value":"15.0"},"ETB":{"display":"154.664","value":"154.664"},"EUR":{"display":"0.851","value":"0.851"},"FJD":{"display":"2.23","value":"2.23"},"GBP":{"display":"0.743","value":"0.743"},"GEL":{"display":"2.665","value":"2.665"},"GHS":{"display":"10.4","value":"10.4"},"GMD":{"display":"72","value":"72.0"},"GNF":{"display":"8717","value":"8717.0"},"GTQ":{"display":"7.66","value":"7.66"},"GYD":{"display":"215","value":"215.0"},"HKD":{"display":"7.784","value":"7.784"},"HNL":{"display":"26.326","value":"26.326"},"HTG":{"display":"130.55","value":"130.55"},"HUF":{"display":"327.22","value":"327.22"},"IDR":{"display":"16649.99","value":"16649.99"},"ILS":{"display":"3.191","value":"3.191"},"INR":{"display":"89.854","value":"89.854"},"IQD":{"display":"1309.5","value":"1309.5"},"IRR":{"display":"42000","value":"42000.0"},"ISK":{"display":"125.11","value":"125.11"},"JMD":{"display":"159","value":"159.0"},"JOD":{"display":"0.708","value":"0.708"},"JPY":{"display":"156.61","value":"156.61"},"KES":{"display":"128.9","value":"128.9"},"KGS":{"display":"87.412","value":"87.412"},"KHR":{"display":"4001","value":"4001.0"},"KMF":{"display":"418.24","value":"418.24"},"KRW":{"display":"1443.75","value":"1443.75"},"KWD":{"display":"0.308","value":"0.308"},"KYD":{"display":"0.82","value":"0.82"},"KZT":{"display":"506.28","value":"506.28"},"LAK":{"display":"21503","value":"21503.0"},"LBP":{"display":"89500","value":"89500.0"},"LKR":{"display":"309.4","value":"309.4"},"LRD":{"display":"177","value":"177.0"},"LSL":{"display":"16.546","value":"16.546"},"LYD":{"display":"5.402","value":"5.402"},"MAD":{"display":"9.101","value":"9.101"},"MDL":{"display":"16.69","value":"16.69"},"MGA":{"display":"4470","value":"4470.0"},"MKD":{"display":"52.16","value":"52.16"},"MMK":{"display":"3658","value":"3658.0"},"MNT":{"display":"3557","value":"3557.0"},"MRU":{"display":"39.799","value":"39.799"},"MUR":{"display":"46.1","value":"46.1"},"MVR":{"display":"15.42","value":"15.42"},"MWK":{"display":"1751","value":"1751.0"},"MXN":{"display":"17.956","value":"17.956"},"MYR":{"display":"4.056","value":"4.056"},"MZN":{"display":"63.27","value":"63.27"},"NAD":{"display":"16.546","value":"16.546"},"NGN":{"display":"1450","value":"1450.0"},"NIO":{"display":"36.6","value":"36.6"},"NOK":{"display":"10.072","value":"10.072"},"NPR":{"display":"143.79","value":"143.79"},"NZD":{"display":"1.733","value":"1.733"},"OMR":{"display":"0.385","value":"0.385"},"PEN":{"display":"3.362","value":"3.362"},"PGK":{"display":"4.124","value":"4.124"},"PHP":{"display":"58.911","value":"58.911"},"PKR":{"display":"279.8","value":"279.8"},"PLN":{"display":"3.59","value":"3.59"},"PYG":{"display":"6554.61","value":"6554.61"},"QAR":{"display":"3.64","value":"3.64"},"RON":{"display":"4.334","value":"4.334"},"RSD":{"display":"99.71","value":"99.71"},"RUB":{"display":"81.996","value":"81.996"},"RWF":{"display":"1450","value":"1450.0"},"SAR":{"display":"3.75","value":"3.75"},"SBD":{"display":"7.905","value":"7.905"},"SCR":{"display":"13.813","value":"13.813"},"SDG":{"display":"2400","value":"2400.0"},"SEK":{"display":"9.197","value":"9.197"},"SGD":{"display":"1.285","value":"1.285"},"SLE":{"display":"23.7","value":"23.7"},"SOS":{"display":"567","value":"567.0"},"SRD":{"display":"37.807","value":"37.807"},"SSP":{"display":"4600","value":"4600.0"},"STN":{"display":"20.842","value":"20.842"},"SYP":{"display":"11000","value":"11000.0"},"SZL":{"display":"16.546","value":"16.546"},"THB":{"display":"31.66","value":"31.66"},"TJS":{"display":"9.2","value":"9.2"},"TMT":{"display":"3.491","value":"3.491"},"TND":{"display":"2.867","value":"2.867"},"TOP":{"display":"2.354","value":"2.354"},"TRY":{"display":"42.951","value":"42.951"},"TTD":{"display":"6.768","value":"6.768"},"TWD":{"display":"31.324","value":"31.324"},"TZS":{"display":"2440","value":"2440.0"},"UAH":{"display":"42.195","value":"42.195"},"UGX":{"display":"3615","value":"3615.0"},"UYU":{"display":"39.14","value":"39.14"},"UZS":{"display":"11999.41","value":"11999.41"},"VES":{"display":"300.618","value":"300.618"},"VND":{"display":"26295","value":"26295.0"},"VUV":{"display":"119.13","value":"119.13"},"WST":{"display":"2.708","value":"2.708"},"XAF":{"display":"556.44","value":"556.44"},"XCD":{"display":"2.7","value":"2.7"},"XCG":{"display":"1.78","value":"1.78"},"XOF":{"display":"553.75","value":"553.75"},"YER":{"display":"528","value":"528.0"},"ZAR":{"display":"16.546","value":"16.546"},"ZMW":{"display":"22","value":"22.0"},"ZWG":{"display":"25.071","value":"25.071"}}}},"2026":{"canada_plan_additions_limit":{"display":"$72,000","value":"72000"},"child_tax_credit_age":{"display":"17","value":"17"},"emergency_distribution_balance_floor":{"display":"$1,000","value":"1000"},"emergency_distribution_limit":{"display":"$1,000","value":"1000"},"fbar_efile_price":{"display":"$59","value":"59"},"fbar_efile_price_both":{"display":"$118","value":"118"},"fbar_threshold":{"display":"$10,000","value":"10000"},"following_year":{"display":"2027","value":"2027"},"highly_paid_pay_limit":{"display":"$160,000 in 2025","value":"160000"},"housing_base_amount":{"display":"$21,264","value":"21264"},"ltc_premium_limits":{"display":"$500 if 40 or younger, $930 if 41 to 50, $1,860 if 51 to 60, $4,960 if 61 to 70, $6,200 if 71 or older","value":"6200"},"personal_currency_gain_limit":{"display":"$200","value":"200"},"prior_year_unemployment_repayment_limit":{"display":"$3,000","value":"3000"},"return_year":{"display":"2026","value":"2026"},"return_year_less_1":{"display":"2025","value":"2025"},"return_year_less_2":{"display":"2024","value":"2024"},"return_year_less_3":{"display":"2023","value":"2023"},"return_year_less_4":{"display":"2022","value":"2022"},"return_year_less_5":{"display":"2021","value":"2021"},"rp_2020_17_annual_contribution_limit":{"display":"$50,000","value":"50000"},"rp_2020_17_lifetime_contribution_limit":{"display":"$1,000,000","value":"1000000"},"simple_employee_pay_threshold":{"display":"$5,000","value":"5000"},"standard_deduction":{"by":"about_you.filing_status","values":{"hoh":{"display":"$24,150","value":"24150"},"mfj":{"display":"$32,200","value":"32200"},"mfs":{"display":"$16,100","value":"16100"},"qss":{"display":"$32,200","value":"32200"},"single":{"display":"$16,100","value":"16100"}}}}},"context_keyed_by":{"home_mortgage_debt_limit":"about_you.filing_status","standard_deduction":"about_you.filing_status","treasury_year_end_rate_account":"foreign_accounts.foreign_accounts.foreign_currency","treasury_year_end_rate_asset":"foreign_accounts.foreign_assets.foreign_currency"},"context_refs":["context.canada_plan_additions_limit","context.child_tax_credit_age","context.compare_both_spouses","context.compare_credit_only_actc","context.compare_credit_only_bottom_line","context.compare_credit_only_card_actc","context.compare_credit_only_card_carryforward","context.compare_credit_only_card_simplified_line_22","context.compare_credit_only_carryforward","context.compare_credit_only_child_tax_credit","context.compare_credit_only_earlier_blank","context.compare_credit_only_line_22","context.compare_credit_only_refused","context.compare_credit_only_revokes_primary","context.compare_credit_only_revokes_primary_housing","context.compare_credit_only_revokes_spouse","context.compare_credit_only_revokes_spouse_housing","context.compare_credit_only_simplified_total_tax","context.compare_credit_only_total_tax","context.compare_primary_barred","context.compare_spouse_barred","context.compare_with_exclusion_actc","context.compare_with_exclusion_bottom_line","context.compare_with_exclusion_carryforward","context.compare_with_exclusion_child_tax_credit","context.compare_with_exclusion_refused","context.compare_with_exclusion_simplified_total_tax","context.compare_with_exclusion_total_tax","context.emergency_distribution_balance_floor","context.emergency_distribution_limit","context.fbar_efile_price","context.fbar_efile_price_both","context.fbar_threshold","context.following_year","context.form_8283_section_b_threshold","context.form_8283_threshold","context.highly_paid_pay_limit","context.home_mortgage_debt_limit","context.household_employee_cash_wage_test","context.household_quarter_wage_test","context.housing_base_amount","context.housing_base_daily_rate","context.ltc_premium_limits","context.personal_currency_gain_limit","context.prior_year_unemployment_repayment_limit","context.qualifying_relative_gross_income_limit","context.regular_filing_due_date","context.return_year","context.return_year_less_1","context.return_year_less_2","context.return_year_less_3","context.return_year_less_4","context.return_year_less_5","context.roth_income_limit_joint","context.roth_income_limit_others","context.roth_ira_limit","context.rp_2020_17_annual_contribution_limit","context.rp_2020_17_lifetime_contribution_limit","context.simple_employee_pay_threshold","context.standard_deduction","context.tax_year","context.treasury_rates_saved","context.treasury_year_end_rate_account","context.treasury_year_end_rate_asset"],"currencies":{"2016":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.821","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"70.645","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"15.359","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.400","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.395","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"3.632","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.379","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"1.025","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"6.910","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"7.000","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"114.431","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"10.462","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.940","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.770","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"8.073","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"293.083","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.997","value":"ILS"},{"label":"INR - Rupee (India)","rate":"69.956","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1236.453","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"126.256","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"113.138","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1211.121","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.886","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1593.639","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"10.279","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"19.435","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"8.745","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.494","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.791","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"69.685","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.903","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"8.910","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.437","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"36.778","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.237","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"3.146","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"33.586","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"15.319","value":"ZAR"}],"2017":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.821","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"71.086","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"17.227","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.358","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.395","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"3.322","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.350","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"1.024","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"7.030","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.864","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"115.876","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"18.586","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.923","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.808","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"8.105","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"285.583","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.746","value":"ILS"},{"label":"INR - Rupee (India)","rate":"67.809","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1241.677","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"111.231","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"116.667","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1178.585","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.884","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1593.969","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"10.230","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"19.679","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"8.606","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.465","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.850","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"60.692","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.903","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"8.894","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.437","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"35.372","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.513","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"3.794","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"31.683","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"13.859","value":"ZAR"}],"2018":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"73.598","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"28.167","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.340","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.395","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"3.655","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.297","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.979","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"6.620","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.319","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"117.409","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"17.809","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.848","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.750","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.838","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"270.441","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.596","value":"ILS"},{"label":"INR - Rupee (India)","rate":"68.422","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1193.478","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"116.379","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"110.424","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1100.587","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1511.677","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"9.389","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"19.227","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"8.143","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.447","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.642","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"62.845","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.753","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"8.703","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.349","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"32.317","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.71","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"4.849","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"30.152","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"13.258","value":"ZAR"}],"2019":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"77.579","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"48.192","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.439","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"3.946","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.327","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.994","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"6.910","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.670","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"119.402","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"16.809","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.893","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.784","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.835","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"290.707","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.563","value":"ILS"},{"label":"INR - Rupee (India)","rate":"70.394","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1191.254","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"122.571","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"109.008","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1165.697","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1510.290","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"9.614","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"19.246","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"8.802","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.518","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.641","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"64.687","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.751","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"9.457","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.364","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"31.032","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.925","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"5.685","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"30.898","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"14.448","value":"ZAR"}],"2020":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"76.651","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"70.635","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.452","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"5.151","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.341","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.939","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"6.900","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.538","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"126.741","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"15.813","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.877","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.779","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.756","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"307.766","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.438","value":"ILS"},{"label":"INR - Rupee (India)","rate":"74.102","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1197.497","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"135.354","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"106.725","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1179.199","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1510.677","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"9.495","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"21.466","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"9.413","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.540","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.641","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"72.299","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.753","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"9.205","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.379","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"31.271","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.836","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"7.025","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"29.460","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"16.458","value":"ZAR"}],"2021":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"83.484","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"95.098","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.332","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"5.395","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.254","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.914","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"6.452","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.290","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"135.011","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"15.697","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.846","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.727","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.773","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"303.292","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.232","value":"ILS"},{"label":"INR - Rupee (India)","rate":"73.936","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1460.133","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"126.986","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"109.817","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1144.883","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1519.228","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"8.995","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"20.284","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"8.598","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.415","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.644","value":"QAR"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.751","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"8.584","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.344","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"31.997","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.778","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"8.904","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"27.932","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"14.789","value":"ZAR"}],"2022":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"90.084","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"130.792","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.442","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"5.165","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.301","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.955","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"6.730","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"7.077","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"142.123","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"19.208","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.951","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.811","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.831","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"372.775","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.361","value":"ILS"},{"label":"INR - Rupee (India)","rate":"78.598","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1459.51","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"135.296","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"131.454","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1291.729","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"1515.669","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"10.275","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"20.110","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"9.619","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.578","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.644","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"69.896","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.755","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"10.122","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.379","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"35.044","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"3.082","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"16.572","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"29.813","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"16.377","value":"ZAR"}],"2023":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"82.635","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"296.154","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.506","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"4.994","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.350","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.899","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"7.075","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.890","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"135.933","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"30.651","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.924","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.804","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.829","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"353.020","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.687","value":"ILS"},{"label":"INR - Rupee (India)","rate":"82.572","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1376.529","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"137.857","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"140.511","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1306.686","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"13730.988","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"10.134","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"17.733","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"10.564","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.630","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.643","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"85.509","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.752","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"10.613","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.343","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"34.802","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"3.103","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"23.824","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"31.160","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"18.457","value":"ZAR"}],"2024":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"70.649","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"915.161","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.516","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"5.392","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.370","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.881","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"7.189","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.896","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"134.124","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"45.345","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.924","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.783","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.803","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"365.603","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.701","value":"ILS"},{"label":"INR - Rupee (India)","rate":"83.677","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1309.744","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"137.958","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"151.353","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1364.153","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.833","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"78958.611","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"9.937","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"18.330","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"10.756","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.654","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.643","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"92.837","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.752","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"10.577","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.336","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"35.267","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"3.111","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"32.867","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"32.117","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"18.326","value":"ZAR"}],"2025":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"69.637","value":"AFN"},{"label":"ARS - Peso (Argentina)","rate":"1243.369","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.551","value":"AUD"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BRL - Real (Brazil)","rate":"5.593","value":"BRL"},{"label":"CAD - Dollar (Canada)","rate":"1.398","value":"CAD"},{"label":"CHF - Franc (Switzerland)","rate":"0.831","value":"CHF"},{"label":"CNY - Yuan (China)","rate":"7.129","value":"CNY"},{"label":"DKK - Krone (Denmark)","rate":"6.617","value":"DKK"},{"label":"DZD - Dinar (Algeria)","rate":"131.627","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"49.233","value":"EGP"},{"label":"EUR - Euro (Euro Zone)","rate":"0.886","value":"EUR"},{"label":"GBP - Pound (United Kingdom)","rate":"0.759","value":"GBP"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.796","value":"HKD"},{"label":"HUF - Forint (Hungary)","rate":"352.869","value":"HUF"},{"label":"ILS - New Shekel (Israel)","rate":"3.451","value":"ILS"},{"label":"INR - Rupee (India)","rate":"87.133","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1309.753","value":"IQD"},{"label":"ISK - Krona (Iceland)","rate":"128.262","value":"ISK"},{"label":"JPY - Yen (Japan)","rate":"149.632","value":"JPY"},{"label":"KRW - Won (South Korean)","rate":"1421.779","value":"KRW"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.821","value":"KYD"},{"label":"LBP - Pound (Lebanon)","rate":"89568.540","value":"LBP"},{"label":"MAD - Dirham (Morocco)","rate":"9.344","value":"MAD"},{"label":"MXN - Peso (Mexico)","rate":"19.212","value":"MXN"},{"label":"NOK - Kroner (Norway)","rate":"10.392","value":"NOK"},{"label":"NZD - Dollar (New Zealand)","rate":"1.719","value":"NZD"},{"label":"QAR - Rial (Qatar)","rate":"3.643","value":"QAR"},{"label":"RUB - Ruble (Russia)","rate":"83.755","value":"RUB"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.751","value":"SAR"},{"label":"SEK - Krona (Sweden)","rate":"9.813","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.307","value":"SGD"},{"label":"THB - Baht (Thailand)","rate":"32.870","value":"THB"},{"label":"TND - Dinar (Tunisia)","rate":"2.996","value":"TND"},{"label":"TRY - New Lira (Turkey)","rate":"39.546","value":"TRY"},{"label":"TWD - Dollar (Taiwan)","rate":"31.167","value":"TWD"},{"label":"ZAR - Rand (South Africa)","rate":"17.884","value":"ZAR"}],"2026":[{"label":"USD - US dollar","value":"USD"}]},"derivations":{"about_you.mailing_address_in_au":{"countries":["AU"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_au","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_canada":{"countries":["CA"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_canada","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_cl":{"countries":["CL"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_cl","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_it":{"countries":["IT"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_it","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_ss_treaty_country_2025":{"countries":["CA","EG","DE","IE","IL","IT","RO","GB"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_ss_treaty_country_2025","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_united_kingdom":{"countries":["GB"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_united_kingdom","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_united_states":{"countries":["US"],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_united_states","kind":"address_in_countries","not_foreign":[],"use_travel":false},"about_you.mailing_address_in_us_territory":{"countries":[],"country_ref":"about_you.taxpayer.mailing_address","id":"about_you.mailing_address_in_us_territory","kind":"address_in_us_territory","not_foreign":[],"use_travel":false},"about_you.taxpayer.number_is_itin":{"countries":[],"id":"about_you.taxpayer.number_is_itin","kind":"itin_number","not_foreign":[],"number_ref":"about_you.taxpayer.ssn_or_itin","use_travel":false},"foreign_accounts.fbar_facts.report_is_late":{"countries":[],"deadline_day":15,"deadline_month":10,"deadline_year_offset":1,"id":"foreign_accounts.fbar_facts.report_is_late","kind":"after_date","not_foreign":[],"use_travel":false},"foreign_accounts.foreign_accounts.institution_address_country":{"countries":[],"country_ref":"foreign_accounts.foreign_accounts.institution_address","id":"foreign_accounts.foreign_accounts.institution_address_country","kind":"address_country","not_foreign":[],"use_travel":false},"foreign_accounts.foreign_accounts.max_over_fbar_line":{"countries":[],"id":"foreign_accounts.foreign_accounts.max_over_fbar_line","kind":"amount_over","not_foreign":[],"over":"10000","row_field":"foreign_accounts.foreign_accounts.max_value_during_year","use_travel":false,"year_end_rates":true},"foreign_accounts.foreign_accounts.max_total_over_8938_floor":{"countries":[],"id":"foreign_accounts.foreign_accounts.max_total_over_8938_floor","kind":"sum_rows","not_foreign":[],"over":"50000","row_field":"foreign_accounts.foreign_accounts.max_value_during_year","rows_group":"foreign_accounts.foreign_accounts","use_travel":false,"year_end_rates":true},"foreign_accounts.foreign_accounts.total_over_fbar_line":{"countries":[],"id":"foreign_accounts.foreign_accounts.total_over_fbar_line","kind":"sum_rows","not_foreign":[],"over":"10000","row_field":"foreign_accounts.foreign_accounts.max_value_during_year","rows_group":"foreign_accounts.foreign_accounts","use_travel":false,"year_end_rates":true},"foreign_accounts.foreign_accounts.year_end_total_over_8938_floor":{"countries":[],"id":"foreign_accounts.foreign_accounts.year_end_total_over_8938_floor","kind":"sum_rows","not_foreign":[],"over":"50000","row_field":"foreign_accounts.foreign_accounts.year_end_value","rows_group":"foreign_accounts.foreign_accounts","use_travel":false,"year_end_rates":true},"household.dependents.number_is_atin":{"countries":[],"id":"household.dependents.number_is_atin","kind":"atin_number","not_foreign":[],"number_ref":"household.dependents.ssn_or_itin_or_atin","use_travel":false},"household.dependents.number_is_itin":{"countries":[],"id":"household.dependents.number_is_itin","kind":"itin_number","not_foreign":[],"number_ref":"household.dependents.ssn_or_itin_or_atin","use_travel":false},"household.spouse.number_is_itin":{"countries":[],"id":"household.spouse.number_is_itin","kind":"itin_number","not_foreign":[],"number_ref":"household.spouse.ssn_or_itin","use_travel":false},"income_sources.businesses.only_trade_name":{"countries":[],"id":"income_sources.businesses.only_trade_name","kind":"only_row_text","not_foreign":[],"row_field":"income_sources.self_employment.business_name","rows_group":"income_sources.self_employment","use_travel":false},"income_sources.capital_transactions.inside_holding_period":{"countries":[],"end_ref":"income_sources.capital_transactions.sold_on","id":"income_sources.capital_transactions.inside_holding_period","kind":"inside_holding_period","not_foreign":[],"residence_start_ref":"income_sources.capital_transactions.incentive_stock_option.granted_on","start_ref":"income_sources.capital_transactions.acquired_on","use_travel":false},"income_sources.foreign_social_security.lived_abroad_all_year":{"countries":[],"id":"income_sources.foreign_social_security.lived_abroad_all_year","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.foreign_social_security.owner","primary_ref":"where_you_lived.bfr_full_year","spouse_ref":"spouse_abroad.bfr_full_year","use_travel":false},"income_sources.misclassified_pay.presence_period":{"countries":[],"id":"income_sources.misclassified_pay.presence_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.misclassified_pay.owner","primary_ref":"where_you_lived.presence_period","spouse_ref":"spouse_abroad.presence_period","use_travel":false},"income_sources.misclassified_pay.qualifying_period":{"countries":[],"id":"income_sources.misclassified_pay.qualifying_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.misclassified_pay.owner","primary_ref":"where_you_lived.qualifying_period","spouse_ref":"spouse_abroad.qualifying_period","use_travel":false},"income_sources.pensions_and_annuities.lived_abroad_all_year":{"countries":[],"id":"income_sources.pensions_and_annuities.lived_abroad_all_year","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.pensions_and_annuities.owner","primary_ref":"where_you_lived.bfr_full_year","spouse_ref":"spouse_abroad.bfr_full_year","use_travel":false},"income_sources.schedule_k1s.presence_period":{"countries":[],"id":"income_sources.schedule_k1s.presence_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.schedule_k1s.owner","primary_ref":"where_you_lived.presence_period","spouse_ref":"spouse_abroad.presence_period","use_travel":false},"income_sources.schedule_k1s.qualifying_period":{"countries":[],"id":"income_sources.schedule_k1s.qualifying_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.schedule_k1s.owner","primary_ref":"where_you_lived.qualifying_period","spouse_ref":"spouse_abroad.qualifying_period","use_travel":false},"income_sources.self_employment.lived_abroad_all_year":{"countries":[],"id":"income_sources.self_employment.lived_abroad_all_year","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.self_employment.owner","primary_ref":"where_you_lived.bfr_full_year","spouse_ref":"spouse_abroad.bfr_full_year","use_travel":false},"income_sources.self_employment.presence_period":{"countries":[],"id":"income_sources.self_employment.presence_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.self_employment.owner","primary_ref":"where_you_lived.presence_period","spouse_ref":"spouse_abroad.presence_period","use_travel":false},"income_sources.self_employment.qualifying_period":{"countries":[],"id":"income_sources.self_employment.qualifying_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.self_employment.owner","primary_ref":"where_you_lived.qualifying_period","spouse_ref":"spouse_abroad.qualifying_period","use_travel":false},"income_sources.wages.employer_address_in_canada":{"countries":["CA"],"country_ref":"income_sources.wages.employer_address","id":"income_sources.wages.employer_address_in_canada","kind":"address_in_countries","not_foreign":[],"use_travel":false},"income_sources.wages.lived_abroad_all_year":{"countries":[],"id":"income_sources.wages.lived_abroad_all_year","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.wages.owner","primary_ref":"where_you_lived.bfr_full_year","spouse_ref":"spouse_abroad.bfr_full_year","use_travel":false},"income_sources.wages.presence_period":{"countries":[],"id":"income_sources.wages.presence_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.wages.owner","primary_ref":"where_you_lived.presence_period","spouse_ref":"spouse_abroad.presence_period","use_travel":false},"income_sources.wages.qualifying_period":{"countries":[],"id":"income_sources.wages.qualifying_period","kind":"owner_qualifying_period","not_foreign":[],"owner_ref":"income_sources.wages.owner","primary_ref":"where_you_lived.qualifying_period","spouse_ref":"spouse_abroad.qualifying_period","use_travel":false},"income_sources.wages.state_income_tax_total":{"countries":[],"id":"income_sources.wages.state_income_tax_total","kind":"sum_rows","not_foreign":[],"row_field":"income_sources.wages.state_tax_records.state_income_tax","rows_group":"income_sources.wages.state_tax_records","use_travel":false},"income_sources.wages.state_wages_total":{"countries":[],"id":"income_sources.wages.state_wages_total","kind":"sum_rows","not_foreign":[],"row_field":"income_sources.wages.state_tax_records.state_wages","rows_group":"income_sources.wages.state_tax_records","use_travel":false},"spouse_abroad.address_window_end":{"countries":[],"id":"spouse_abroad.address_window_end","kind":"ppt_window_end","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.address_window_start":{"countries":[],"id":"spouse_abroad.address_window_start","kind":"ppt_window_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.bfr_full_year":{"countries":[],"id":"spouse_abroad.bfr_full_year","kind":"bfr_full_year","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.ppt_first_day_decides":{"countries":[],"day_country":"spouse_abroad.spouse_physical_presence.travel_days.country","day_day":"spouse_abroad.spouse_physical_presence.travel_days.day","day_transit":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","day_waters":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters","days_group":"spouse_abroad.spouse_physical_presence.travel_days","edge":"start","end_ref":"spouse_abroad.spouse_physical_presence.test_period_end","id":"spouse_abroad.ppt_first_day_decides","kind":"ppt_edge_decides","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","tax_home_before_ref":"spouse_abroad.spouse_residency.tax_home.abroad_before","tax_home_earlier_group":"spouse_abroad.spouse_residency.tax_home.earlier","tax_home_earlier_start":"spouse_abroad.spouse_residency.tax_home.earlier.established_on","tax_home_end_ref":"spouse_abroad.spouse_residency.tax_home.abandoned_on","tax_home_start_ref":"spouse_abroad.spouse_residency.tax_home.established_on","trip_arrived":"spouse_abroad.spouse_physical_presence.trips.arrived_on","trip_country":"spouse_abroad.spouse_physical_presence.trips.country","trip_left":"spouse_abroad.spouse_physical_presence.trips.left_on","trip_transit":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","trip_waters":"spouse_abroad.spouse_physical_presence.trips.in_international_waters","trips_gate":"spouse_abroad.travel_by_trips","trips_group":"spouse_abroad.spouse_physical_presence.trips","use_travel":true,"whole_period_gate":"spouse_abroad.abroad_whole_period"},"spouse_abroad.ppt_last_day_decides":{"countries":[],"day_country":"spouse_abroad.spouse_physical_presence.travel_days.country","day_day":"spouse_abroad.spouse_physical_presence.travel_days.day","day_transit":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","day_waters":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters","days_group":"spouse_abroad.spouse_physical_presence.travel_days","edge":"end","end_ref":"spouse_abroad.spouse_physical_presence.test_period_end","id":"spouse_abroad.ppt_last_day_decides","kind":"ppt_edge_decides","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","tax_home_before_ref":"spouse_abroad.spouse_residency.tax_home.abroad_before","tax_home_earlier_group":"spouse_abroad.spouse_residency.tax_home.earlier","tax_home_earlier_start":"spouse_abroad.spouse_residency.tax_home.earlier.established_on","tax_home_end_ref":"spouse_abroad.spouse_residency.tax_home.abandoned_on","tax_home_start_ref":"spouse_abroad.spouse_residency.tax_home.established_on","trip_arrived":"spouse_abroad.spouse_physical_presence.trips.arrived_on","trip_country":"spouse_abroad.spouse_physical_presence.trips.country","trip_left":"spouse_abroad.spouse_physical_presence.trips.left_on","trip_transit":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","trip_waters":"spouse_abroad.spouse_physical_presence.trips.in_international_waters","trips_gate":"spouse_abroad.travel_by_trips","trips_group":"spouse_abroad.spouse_physical_presence.trips","use_travel":true,"whole_period_gate":"spouse_abroad.abroad_whole_period"},"spouse_abroad.ppt_qualifies":{"countries":[],"id":"spouse_abroad.ppt_qualifies","kind":"ppt_qualifies","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.ppt_window_end":{"countries":[],"day_country":"spouse_abroad.spouse_physical_presence.travel_days.country","day_day":"spouse_abroad.spouse_physical_presence.travel_days.day","day_transit":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","day_waters":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters","days_group":"spouse_abroad.spouse_physical_presence.travel_days","id":"spouse_abroad.ppt_window_end","kind":"ppt_window_end","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","trip_arrived":"spouse_abroad.spouse_physical_presence.trips.arrived_on","trip_country":"spouse_abroad.spouse_physical_presence.trips.country","trip_left":"spouse_abroad.spouse_physical_presence.trips.left_on","trip_transit":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","trip_waters":"spouse_abroad.spouse_physical_presence.trips.in_international_waters","trips_gate":"spouse_abroad.travel_by_trips","trips_group":"spouse_abroad.spouse_physical_presence.trips","use_travel":true,"whole_period_gate":"spouse_abroad.abroad_whole_period"},"spouse_abroad.ppt_window_end_after_start":{"countries":[],"id":"spouse_abroad.ppt_window_end_after_start","kind":"ppt_window_end_after_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.ppt_window_stale":{"countries":[],"day_country":"spouse_abroad.spouse_physical_presence.travel_days.country","day_day":"spouse_abroad.spouse_physical_presence.travel_days.day","day_transit":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","day_waters":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters","days_group":"spouse_abroad.spouse_physical_presence.travel_days","id":"spouse_abroad.ppt_window_stale","kind":"ppt_window_stale","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","trip_arrived":"spouse_abroad.spouse_physical_presence.trips.arrived_on","trip_country":"spouse_abroad.spouse_physical_presence.trips.country","trip_left":"spouse_abroad.spouse_physical_presence.trips.left_on","trip_transit":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","trip_waters":"spouse_abroad.spouse_physical_presence.trips.in_international_waters","trips_gate":"spouse_abroad.travel_by_trips","trips_group":"spouse_abroad.spouse_physical_presence.trips","use_travel":true,"whole_period_gate":"spouse_abroad.abroad_whole_period"},"spouse_abroad.ppt_window_start":{"countries":[],"day_country":"spouse_abroad.spouse_physical_presence.travel_days.country","day_day":"spouse_abroad.spouse_physical_presence.travel_days.day","day_transit":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","day_waters":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters","days_group":"spouse_abroad.spouse_physical_presence.travel_days","id":"spouse_abroad.ppt_window_start","kind":"ppt_window_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","trip_arrived":"spouse_abroad.spouse_physical_presence.trips.arrived_on","trip_country":"spouse_abroad.spouse_physical_presence.trips.country","trip_left":"spouse_abroad.spouse_physical_presence.trips.left_on","trip_transit":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","trip_waters":"spouse_abroad.spouse_physical_presence.trips.in_international_waters","trips_gate":"spouse_abroad.travel_by_trips","trips_group":"spouse_abroad.spouse_physical_presence.trips","use_travel":true,"whole_period_gate":"spouse_abroad.abroad_whole_period"},"spouse_abroad.ppt_window_start_before_end":{"countries":[],"end_ref":"spouse_abroad.spouse_physical_presence.test_period_end","id":"spouse_abroad.ppt_window_start_before_end","kind":"ppt_window_start_before_end","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.presence_period":{"bfr_gate":"spouse_abroad.uses_bona_fide_residence","countries":[],"end_ref":"spouse_abroad.spouse_physical_presence.test_period_end","home_end_gate":"spouse_abroad.tax_home_given_up","id":"spouse_abroad.presence_period","kind":"presence_period","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"ppt_gate":"spouse_abroad.uses_physical_presence","residence_end_gate":"spouse_abroad.bfr_residence_abroad_ended","residence_end_ref":"spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on","residence_start_ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","tax_home_before_ref":"spouse_abroad.spouse_residency.tax_home.abroad_before","tax_home_earlier_group":"spouse_abroad.spouse_residency.tax_home.earlier","tax_home_earlier_start":"spouse_abroad.spouse_residency.tax_home.earlier.established_on","tax_home_end_ref":"spouse_abroad.spouse_residency.tax_home.abandoned_on","tax_home_start_ref":"spouse_abroad.spouse_residency.tax_home.established_on","use_travel":false},"spouse_abroad.qualifying_period":{"bfr_gate":"spouse_abroad.uses_bona_fide_residence","countries":[],"end_ref":"spouse_abroad.spouse_physical_presence.test_period_end","home_end_gate":"spouse_abroad.tax_home_given_up","id":"spouse_abroad.qualifying_period","kind":"qualifying_period","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"ppt_gate":"spouse_abroad.uses_physical_presence","residence_end_gate":"spouse_abroad.bfr_residence_abroad_ended","residence_end_ref":"spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on","residence_start_ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","tax_home_before_ref":"spouse_abroad.spouse_residency.tax_home.abroad_before","tax_home_earlier_group":"spouse_abroad.spouse_residency.tax_home.earlier","tax_home_earlier_start":"spouse_abroad.spouse_residency.tax_home.earlier.established_on","tax_home_end_ref":"spouse_abroad.spouse_residency.tax_home.abandoned_on","tax_home_start_ref":"spouse_abroad.spouse_residency.tax_home.established_on","use_travel":false},"spouse_abroad.stint_in_puerto_rico":{"countries":["PR"],"country_ref":"spouse_abroad.spouse_residency.stints.address","id":"spouse_abroad.stint_in_puerto_rico","kind":"address_in_countries","not_foreign":[],"use_travel":false},"spouse_abroad.stints_complete":{"countries":[],"id":"spouse_abroad.stints_complete","kind":"stints_complete","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.tax_home_city":{"countries":[],"country_ref":"spouse_abroad.spouse_residency.tax_home.country","id":"spouse_abroad.tax_home_city","kind":"tax_home_city","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"spouse_abroad.tax_home_cuts_period":{"bfr_gate":"spouse_abroad.uses_bona_fide_residence","countries":[],"end_ref":"spouse_abroad.spouse_physical_presence.test_period_end","home_end_gate":"spouse_abroad.tax_home_given_up","id":"spouse_abroad.tax_home_cuts_period","kind":"tax_home_cuts_period","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"ppt_gate":"spouse_abroad.uses_physical_presence","residence_end_gate":"spouse_abroad.bfr_residence_abroad_ended","residence_end_ref":"spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on","residence_start_ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","start_ref":"spouse_abroad.spouse_physical_presence.test_period_start","stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","tax_home_before_ref":"spouse_abroad.spouse_residency.tax_home.abroad_before","tax_home_earlier_group":"spouse_abroad.spouse_residency.tax_home.earlier","tax_home_earlier_start":"spouse_abroad.spouse_residency.tax_home.earlier.established_on","tax_home_end_ref":"spouse_abroad.spouse_residency.tax_home.abandoned_on","tax_home_start_ref":"spouse_abroad.spouse_residency.tax_home.established_on","use_travel":false},"spouse_abroad.tax_home_established_on":{"countries":[],"country_ref":"spouse_abroad.spouse_residency.tax_home.country","id":"spouse_abroad.tax_home_established_on","kind":"tax_home_established_on","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"spouse_abroad.spouse_residency.stints.address","stint_end":"spouse_abroad.spouse_residency.stints.end_date","stint_start":"spouse_abroad.spouse_residency.stints.start_date","stints_group":"spouse_abroad.spouse_residency.stints","use_travel":false},"where_you_lived.address_window_end":{"countries":[],"id":"where_you_lived.address_window_end","kind":"ppt_window_end","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.address_window_start":{"countries":[],"id":"where_you_lived.address_window_start","kind":"ppt_window_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.bfr_counts_more":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","end_ref":"where_you_lived.physical_presence.test_period_end","home_end_gate":"where_you_lived.tax_home_given_up","home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","home_start_ref":"where_you_lived.residency.tax_home.established_on","id":"where_you_lived.bfr_counts_more","kind":"bfr_counts_more","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"residence_end_ref":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.bfr_full_year":{"countries":[],"id":"where_you_lived.bfr_full_year","kind":"bfr_full_year","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.bfr_settled_days":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","end_ref":"where_you_lived.physical_presence.test_period_end","home_end_gate":"where_you_lived.tax_home_given_up","home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","home_start_ref":"where_you_lived.residency.tax_home.established_on","id":"where_you_lived.bfr_settled_days","kind":"bfr_settled_days","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"residence_end_ref":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.one_country_city":{"countries":[],"id":"where_you_lived.one_country_city","kind":"one_country_city","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.one_country_start":{"countries":[],"id":"where_you_lived.one_country_start","kind":"one_country_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.ppt_first_day_decides":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","edge":"start","end_ref":"where_you_lived.physical_presence.test_period_end","id":"where_you_lived.ppt_first_day_decides","kind":"ppt_edge_decides","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","tax_home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","tax_home_start_ref":"where_you_lived.residency.tax_home.established_on","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.ppt_last_day_decides":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","edge":"end","end_ref":"where_you_lived.physical_presence.test_period_end","id":"where_you_lived.ppt_last_day_decides","kind":"ppt_edge_decides","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","tax_home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","tax_home_start_ref":"where_you_lived.residency.tax_home.established_on","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.ppt_met":{"countries":[],"country_ref":"where_you_lived.abroad_whole_period_country","day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","end_ref":"where_you_lived.physical_presence.test_period_end","home_end_gate":"where_you_lived.tax_home_given_up","home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","home_start_ref":"where_you_lived.residency.tax_home.established_on","id":"where_you_lived.ppt_met","kind":"ppt_met","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.ppt_qualifies":{"countries":[],"id":"where_you_lived.ppt_qualifies","kind":"ppt_qualifies","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.ppt_window_after_due_date":{"countries":[],"due_dates":[[2018,"2019-04-15"],[2019,"2020-04-15"],[2020,"2021-04-15"],[2021,"2022-04-18"],[2022,"2023-04-18"],[2023,"2024-04-15"],[2024,"2025-04-15"],[2025,"2026-04-15"]],"end_ref":"where_you_lived.physical_presence.test_period_end","id":"where_you_lived.ppt_window_after_due_date","kind":"ppt_window_after_due_date","not_foreign":[],"use_travel":false},"where_you_lived.ppt_window_end":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","id":"where_you_lived.ppt_window_end","kind":"ppt_window_end","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.ppt_window_end_after_start":{"countries":[],"id":"where_you_lived.ppt_window_end_after_start","kind":"ppt_window_end_after_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.ppt_window_stale":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","id":"where_you_lived.ppt_window_stale","kind":"ppt_window_stale","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.ppt_window_start":{"countries":[],"day_country":"where_you_lived.physical_presence.travel_days.country","day_day":"where_you_lived.physical_presence.travel_days.day","day_transit":"where_you_lived.physical_presence.travel_days.in_us_transit","day_waters":"where_you_lived.physical_presence.travel_days.in_international_waters","days_group":"where_you_lived.physical_presence.travel_days","id":"where_you_lived.ppt_window_start","kind":"ppt_window_start","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","trip_arrived":"where_you_lived.physical_presence.trips.arrived_on","trip_country":"where_you_lived.physical_presence.trips.country","trip_left":"where_you_lived.physical_presence.trips.left_on","trip_transit":"where_you_lived.physical_presence.trips.in_us_transit","trip_waters":"where_you_lived.physical_presence.trips.in_international_waters","trips_gate":"where_you_lived.travel_by_trips","trips_group":"where_you_lived.physical_presence.trips","use_travel":true,"whole_period_gate":"where_you_lived.abroad_whole_period"},"where_you_lived.ppt_window_start_before_end":{"countries":[],"end_ref":"where_you_lived.physical_presence.test_period_end","id":"where_you_lived.ppt_window_start_before_end","kind":"ppt_window_start_before_end","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.presence_period":{"bfr_gate":"where_you_lived.uses_bona_fide_residence","countries":[],"end_ref":"where_you_lived.physical_presence.test_period_end","home_end_gate":"where_you_lived.tax_home_given_up","id":"where_you_lived.presence_period","kind":"presence_period","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"ppt_gate":"where_you_lived.uses_physical_presence","residence_end_gate":"where_you_lived.bfr_residence_abroad_ended","residence_end_ref":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","residence_start_ref":"where_you_lived.bona_fide_residence.residence_began_on","start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","tax_home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","tax_home_start_ref":"where_you_lived.residency.tax_home.established_on","use_travel":false},"where_you_lived.qualifying_period":{"bfr_gate":"where_you_lived.uses_bona_fide_residence","countries":[],"end_ref":"where_you_lived.physical_presence.test_period_end","home_end_gate":"where_you_lived.tax_home_given_up","id":"where_you_lived.qualifying_period","kind":"qualifying_period","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"ppt_gate":"where_you_lived.uses_physical_presence","residence_end_gate":"where_you_lived.bfr_residence_abroad_ended","residence_end_ref":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","residence_start_ref":"where_you_lived.bona_fide_residence.residence_began_on","start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","tax_home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","tax_home_start_ref":"where_you_lived.residency.tax_home.established_on","use_travel":false},"where_you_lived.stint_in_puerto_rico":{"countries":["PR"],"country_ref":"where_you_lived.residency.stints.address","id":"where_you_lived.stint_in_puerto_rico","kind":"address_in_countries","not_foreign":[],"use_travel":false},"where_you_lived.stints_complete":{"countries":[],"id":"where_you_lived.stints_complete","kind":"stints_complete","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.stints_one_country":{"countries":[],"id":"where_you_lived.stints_one_country","kind":"stints_one_country","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.tax_home_city":{"countries":[],"country_ref":"where_you_lived.residency.tax_home.country","id":"where_you_lived.tax_home_city","kind":"tax_home_city","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false},"where_you_lived.tax_home_cuts_period":{"bfr_gate":"where_you_lived.uses_bona_fide_residence","countries":[],"end_ref":"where_you_lived.physical_presence.test_period_end","home_end_gate":"where_you_lived.tax_home_given_up","id":"where_you_lived.tax_home_cuts_period","kind":"tax_home_cuts_period","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"ppt_gate":"where_you_lived.uses_physical_presence","residence_end_gate":"where_you_lived.bfr_residence_abroad_ended","residence_end_ref":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","residence_start_ref":"where_you_lived.bona_fide_residence.residence_began_on","start_ref":"where_you_lived.physical_presence.test_period_start","stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","tax_home_before_ref":"where_you_lived.residency.tax_home.abroad_before","tax_home_earlier_group":"where_you_lived.residency.tax_home.earlier","tax_home_earlier_start":"where_you_lived.residency.tax_home.earlier.established_on","tax_home_end_ref":"where_you_lived.residency.tax_home.abandoned_on","tax_home_start_ref":"where_you_lived.residency.tax_home.established_on","use_travel":false},"where_you_lived.tax_home_established_on":{"countries":[],"country_ref":"where_you_lived.residency.tax_home.country","id":"where_you_lived.tax_home_established_on","kind":"tax_home_established_on","not_foreign":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"],"stint_address":"where_you_lived.residency.stints.address","stint_end":"where_you_lived.residency.stints.end_date","stint_start":"where_you_lived.residency.stints.start_date","stints_group":"where_you_lived.residency.stints","use_travel":false}},"expansions":{"screening_defaults_when_hidden":{"exclusions.complex_self_employed_health_insurance":false,"exclusions.complex_state_refund":false,"exclusions.dependent_care_benefits":false,"exclusions.limited_itemized_deduction":false,"exclusions.military_abroad_extension":false,"exclusions.qcd_split_interest":false,"has_foreign_company_interest":false,"has_nonresident_return":false},"trips":[{"arrived_id":"where_you_lived.physical_presence.trips.arrived_on","country_id":"where_you_lived.physical_presence.trips.country","day_group_id":"where_you_lived.physical_presence.travel_days","expands_into":"physical_presence.travel_days[]","gate_id":"where_you_lived.travel_by_trips","left_id":"where_you_lived.physical_presence.trips.left_on","transit_id":"where_you_lived.physical_presence.trips.in_us_transit","trips_group_id":"where_you_lived.physical_presence.trips","waters_id":"where_you_lived.physical_presence.trips.in_international_waters"},{"arrived_id":"where_you_lived.bona_fide_residence.trips.arrived_on","country_id":"where_you_lived.bona_fide_residence.trips.country","day_group_id":"where_you_lived.bona_fide_residence.travel_days","expands_into":"bona_fide_residence.travel_days[]","gate_id":"where_you_lived.bfr_travel_by_trips","left_id":"where_you_lived.bona_fide_residence.trips.left_on","transit_id":"where_you_lived.bona_fide_residence.trips.in_us_transit","trips_group_id":"where_you_lived.bona_fide_residence.trips","waters_id":"where_you_lived.bona_fide_residence.trips.in_international_waters"},{"arrived_id":"spouse_abroad.spouse_physical_presence.trips.arrived_on","country_id":"spouse_abroad.spouse_physical_presence.trips.country","day_group_id":"spouse_abroad.spouse_physical_presence.travel_days","expands_into":"spouse_physical_presence.travel_days[]","gate_id":"spouse_abroad.travel_by_trips","left_id":"spouse_abroad.spouse_physical_presence.trips.left_on","transit_id":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","trips_group_id":"spouse_abroad.spouse_physical_presence.trips","waters_id":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"},{"arrived_id":"spouse_abroad.spouse_bona_fide_residence.trips.arrived_on","country_id":"spouse_abroad.spouse_bona_fide_residence.trips.country","day_group_id":"spouse_abroad.spouse_bona_fide_residence.travel_days","expands_into":"spouse_bona_fide_residence.travel_days[]","gate_id":"spouse_abroad.bfr_travel_by_trips","left_id":"spouse_abroad.spouse_bona_fide_residence.trips.left_on","transit_id":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","trips_group_id":"spouse_abroad.spouse_bona_fide_residence.trips","waters_id":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}],"whole_period":[{"country_id":"where_you_lived.abroad_whole_period_country","end_id":"where_you_lived.physical_presence.test_period_end","expands_into":"physical_presence.travel_days[]","group_id":"where_you_lived.physical_presence.travel_days","shortcut_id":"where_you_lived.abroad_whole_period","start_id":"where_you_lived.physical_presence.test_period_start"},{"country_id":"spouse_abroad.abroad_whole_period_country","end_id":"spouse_abroad.spouse_physical_presence.test_period_end","expands_into":"spouse_physical_presence.travel_days[]","group_id":"spouse_abroad.spouse_physical_presence.travel_days","shortcut_id":"spouse_abroad.abroad_whole_period","start_id":"spouse_abroad.spouse_physical_presence.test_period_start"}]},"housing_places":{"2018":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AT":["Vienna","Another place in Austria"],"AU":["Melbourne","Perth","Sydney","Another place in Australia"],"AW":["Aruba"],"BE":["Antwerp","Brussels","Gosselies","Hoogbuul","Mons","SHAPE/Chievres","Another place in Belgium"],"BR":["Rio de Janeiro","Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Quebec","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CL":["Santiago","Another place in Chile"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CR":["San Jose","Another place in Costa Rica"],"CW":["Curacao"],"DE":["Babenhausen","Baumholder","Berlin","Birkenfeld","Boeblingen","Bonn","Cologne","Darmstadt","Frankfurt am Main","Garmisch-Partenkirchen","Gelnhausen","Giessen","Grafenwoehr","Hanau","Heidelberg","Idar-Oberstein","Ingolstadt","Kaiserslautern, Landkreis","Karlsruhe","Kitzingen","Koblenz","Leimen","Ludwigsburg","Mainz","Mannheim","Munich","Nellingen","Neubruecke","Ober Ramstadt","Oberammergau","Pirmasens","Rheinau","Schwetzingen","Seckenheim","Sembach","Stuttgart","Vilseck","Wahn","Wertheim","Wiesbaden","Wuerzburg","Zweibruecken","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EC":["Quito","Another place in Ecuador"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Rota","Valencia","Another place in Spain"],"FR":["Garches","Lyon","Marseille","Montpellier","Paris","Sevres","Suresnes","Versailles","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","Bristol","Brookwood","Cambridge","Caversham","Cheltenham","Croughton","Fairford","Farnborough","Felixstowe","Harrogate","High Wycombe","Huntingdon","Kemble","Lakenheath","Liverpool","London","Loudwater","Menwith Hill","Mildenhall","Oxfordshire","Plymouth","Portsmouth","Reading","Rochester","Samlesbury","Southampton","Surrey","Waterbeach","Wiltshire","Another place in United Kingdom"],"GH":["Accra","Another place in Ghana"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GR":["Athens","Elefsis","Ellinikon","Mt. Parnis","Mt. Pateras","Nea Makri","Piraeus","Tanagra","Another place in Greece"],"GT":["Guatemala City","Another place in Guatemala"],"GY":["Georgetown","Another place in Guyana"],"HK":["Hong Kong"],"HU":["Budapest","Another place in Hungary"],"ID":["Jakarta","Another place in Indonesia"],"IE":["Dublin","Shannon Area","Another place in Ireland"],"IL":["Beer Sheva","Tel Aviv","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","Gioia Tauro","La Spezia","Milan","Naples","Parma","Pordenone-Aviano","Rome","Turin","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Atsugi","Camp Zama","Chiba-Ken","Fussa","Gifu","Haneda","Iwakuni","Kanagawa-Ken","Komaki","Machida-Shi","Misawa","Nagoya","Okinawa Prefecture","Osaka-Kobe","Sagamihara","Saitama-Ken","Sasebo","Tachikawa","Tokyo","Tokyo-to","Yokohama","Yokosuka","Yokota","Another place in Japan"],"KR":["Camp Carroll","Camp Colbern","Camp Market","Camp Mercer","K-16","Kimhae","Kimpo Airfield","Munsan","Osan AB","Pusan","Pyongtaek","Seoul","Suwon","Taegu","Tongduchon","Uijongbu","Waegwan","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"MK":["Skopje","Another place in Macedonia"],"MX":["Merida","Mexico City","Monterrey","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NA":["Windhoek","Another place in Namibia"],"NG":["Abuja","Another place in Nigeria"],"NI":["Managua","Another place in Nicaragua"],"NL":["Amsterdam","Brunssum","Eygelshoven","Hague, The","Heerlen","Hoensbroek","Hulsberg","Kerkrade","Landgraaf","Maastricht","Papendrecht","Rotterdam","Schaesburg","Schinnen","Schiphol","Ypenburg","Another place in Netherlands"],"NO":["Oslo","Another place in Norway"],"NZ":["Auckland","Christchurch","Wellington","Another place in New Zealand"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PH":["Cavite","Manila","Another place in Philippines"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Sakhalin Island","Vladivostok","Yekaterinburg","Another place in Russia"],"RW":["Kigali","Another place in Rwanda"],"SA":["Jeddah","Riyadh","Another place in Saudi Arabia"],"SI":["Ljubljana","Another place in Slovenia"],"SR":["Paramaribo","Another place in Suriname"],"SV":["San Salvador","Another place in El Salvador"],"TH":["Bangkok","Another place in Thailand"],"TR":["Izmir-Cigli","Yamanlar","Another place in Turkey"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2019":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AT":["Vienna","Another place in Austria"],"AU":["Perth","Sydney","Another place in Australia"],"AW":["Aruba"],"BB":["Barbados","Bridgetown","Another place in Barbados"],"BE":["Brussels","Gosselies","Mons","SHAPE/Chievres","Another place in Belgium"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Rio de Janeiro","Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Quebec","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CL":["Santiago","Another place in Chile"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CR":["San Jose","Another place in Costa Rica"],"CW":["Curacao"],"DE":["Babenhausen","Baumholder","Berlin","Birkenfeld","Boeblingen","Bonn","Cologne","Darmstadt","Frankfurt am Main","Garmisch-Partenkirchen","Gelnhausen","Giessen","Grafenwoehr","Hanau","Heidelberg","Idar-Oberstein","Ingolstadt","Kaiserslautern, Landkreis","Karlsruhe","Koblenz","Leimen","Ludwigsburg","Mainz","Mannheim","Munich","Nellingen","Neubruecke","Ober Ramstadt","Oberammergau","Pfullendorf","Pirmasens","Rheinau","Schwetzingen","Seckenheim","Sembach","Stuttgart","Vilseck","Wahn","Wiesbaden","Zweibrueken","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EC":["Quito","Another place in Ecuador"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Rota","Valencia","Another place in Spain"],"FR":["Garches","Lyon","Marseille","Montpellier","Paris","Sevres","Suresnes","Versailles","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","Brookwood","Cambridge","Caversham","Cheltenham","Croughton","Fairford","Farnborough","Felixstowe","Harrogate","High Wycombe","Huntingdon","Kemble","Lakenheath","London","Loudwater","Menwith Hill","Mildenhall","Oxfordshire","Plymouth","Portsmouth","Reading","Rochester","Samlesbury","Southampton","Surrey","Waterbeach","Wiltshire","Another place in United Kingdom"],"GH":["Accra","Another place in Ghana"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GR":["Athens","Elefsis","Ellinikon","Mt. Parnis","Mt. Pateras","Nea Makri","Piraeus","Tanagra","Another place in Greece"],"GT":["Guatemala City","Another place in Guatemala"],"GY":["Georgetown","Another place in Guyana"],"HK":["Hong Kong"],"HU":["Budapest","Another place in Hungary"],"ID":["Jakarta","Another place in Indonesia"],"IE":["Dublin","Shannon Area","Another place in Ireland"],"IL":["Beer Sheva","Tel Aviv","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","La Spezia","Milan","Naples","Parma","Pordenone-Aviano","Rome","Turin","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Atsugi","Camp Zama","Chiba-Ken","Fussa","Gifu","Haneda","Iwakuni","Kanagawa-Ken","Komaki","Machida-Shi","Misawa","Nagoya","Okinawa Prefecture","Osaka-Kobe","Sagamihara","Saitama-Ken","Sasebo","Tachikawa","Tokyo","Tokyo-to","Yokohama","Yokosuka","Yokota","Another place in Japan"],"KR":["Camp Colbern","Camp Market","Camp Mercer","K-16","Kimpo Airfield","Munsan","Osan AB","Pyongtaek","Seoul","Suwon","Taegu","Tongduchon","Uijongbu","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"LU":["Luxembourg"],"MK":["Skopje","Another place in Macedonia"],"MT":["Malta","Another place in Malta"],"MX":["Merida","Mexico City","Monterrey","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NA":["Windhoek","Another place in Namibia"],"NG":["Abuja","Another place in Nigeria"],"NI":["Managua","Another place in Nicaragua"],"NL":["Amsterdam","Brunssum","Eygelshoven","Hague, The","Heerlen","Hoensbroek","Hulsberg","Kerkrade","Landgraaf","Maastricht","Papendrecht","Rotterdam","Schaesburg","Schinnen","Schiphol","Ypenburg","Another place in Netherlands"],"NO":["Oslo","Another place in Norway"],"NZ":["Auckland","Christchurch","Wellington","Another place in New Zealand"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PH":["Cavite","Manila","Another place in Philippines"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Sakhalin Island","Vladivostok","Yekaterinburg","Another place in Russia"],"SA":["Riyadh","Another place in Saudi Arabia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"SR":["Paramaribo","Another place in Suriname"],"SV":["San Salvador","Another place in El Salvador"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2020":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AT":["Vienna","Another place in Austria"],"AU":["Canberra","Sydney","Another place in Australia"],"AW":["Aruba"],"BB":["Barbados","Bridgetown","Another place in Barbados"],"BE":["Brussels","Gosselies","Mons","SHAPE/Chievres","Another place in Belgium"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Rio de Janeiro","Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Quebec","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CL":["Santiago","Another place in Chile"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CR":["San Jose","Another place in Costa Rica"],"CW":["Curacao"],"DE":["Babenhausen","Baumholder","Berlin","Birkenfeld","Boeblingen","Bonn","Cologne","Darmstadt","Frankfurt am Main","Gelnhausen","Giessen","Grafenwoehr","Hanau","Idar-Oberstein","Ingolstadt","Kaiserslautern, Landkreis","Karlsruhe","Koblenz","Ludwigsburg","Mainz","Munich","Nellingen","Neubruecke","Ober Ramstadt","Pfullendorf","Pirmasens","Sembach","Stuttgart","Vilseck","Wahn","Wiesbaden","Zweibrueken","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EC":["Quito","Another place in Ecuador"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Rota","Valencia","Another place in Spain"],"FR":["Garches","Lyon","Marseille","Paris","Sevres","Suresnes","Versailles","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","Bristol","Brookwood","Cambridge","Caversham","Cheltenham","Croughton","Fairford","Farnborough","Felixstowe","Harrogate","High Wycombe","Huntingdon","Kemble","Lakenheath","London","Loudwater","Menwith Hill","Mildenhall","Oxfordshire","Plymouth","Portsmouth","Reading","Rochester","Samlesbury","Southampton","Surrey","Waterbeach","Wiltshire","Another place in United Kingdom"],"GH":["Accra","Another place in Ghana"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GR":["Athens","Elefsis","Ellinikon","Mt. Parnis","Mt. Pateras","Nea Makri","Piraeus","Tanagra","Another place in Greece"],"GT":["Guatemala City","Another place in Guatemala"],"GY":["Georgetown","Another place in Guyana"],"HK":["Hong Kong"],"HU":["Budapest","Another place in Hungary"],"ID":["Jakarta","Another place in Indonesia"],"IE":["Dublin","Another place in Ireland"],"IL":["Beer Sheva","Tel Aviv","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","La Spezia","Milan","Naples","Parma","Pordenone-Aviano","Rome","Turin","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Atsugi","Camp Zama","Chiba-Ken","Fussa","Gifu","Haneda","Iwakuni","Kanagawa-Ken","Komaki","Machida-Shi","Misawa","Nagoya","Okinawa Prefecture","Osaka-Kobe","Sagamihara","Saitama-Ken","Sasebo","Tachikawa","Tokyo","Tokyo-to","Yokohama","Yokosuka","Yokota","Another place in Japan"],"KR":["Camp Colbern","Camp Market","Camp Mercer","K-16","Kimpo Airfield","Osan AB","Pyongtaek","Seoul","Suwon","Taegu","Tongduchon","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"LU":["Luxembourg"],"MK":["Skopje","Another place in Macedonia"],"MT":["Malta","Another place in Malta"],"MX":["Merida","Mexico City","Monterrey","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NG":["Abuja","Another place in Nigeria"],"NL":["Amsterdam","Brunssum","Eygelshoven","Hague, The","Heerlen","Hoensbroek","Hulsberg","Kerkrade","Landgraaf","Maastricht","Papendrecht","Rotterdam","Schaesburg","Schinnen","Schiphol","Ypenburg","Another place in Netherlands"],"NO":["Oslo","Another place in Norway"],"NZ":["Auckland","Wellington","Another place in New Zealand"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PH":["Cavite","Manila","Another place in Philippines"],"PL":["Warsaw","Another place in Poland"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Sakhalin Island","Vladivostok","Yekaterinburg","Another place in Russia"],"SA":["Jeddah","Riyadh","Another place in Saudi Arabia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"SR":["Paramaribo","Another place in Suriname"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2022":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AU":["Canberra","Sydney","Another place in Australia"],"AW":["Aruba"],"BB":["Barbados","Bridgetown","Another place in Barbados"],"BE":["Brussels","Gosselies","Mons","SHAPE/Chievres","Another place in Belgium"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Rio de Janeiro","Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Quebec","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Another place in Switzerland"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CR":["San Jose","Another place in Costa Rica"],"CW":["Curacao"],"DE":["Babenhausen","Baumholder","Berlin","Birkenfeld","Boeblingen","Bonn","Cologne","Darmstadt","Dulmen","Frankfurt am Main","Gelnhausen","Giessen","Grafenwoehr","Hanau","Idar-Oberstein","Ingolstadt","Kaiserslautern, Landkreis","Koblenz","Ludwigsburg","Mainz","Munich","Nellingen","Neubruecke","Ober Ramstadt","Pfullendorf","Pirmasens","Sembach","Stuttgart","Vilseck","Wahn","Wiesbaden","Zweibrueken","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EC":["Quito","Another place in Ecuador"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Rota","Another place in Spain"],"FR":["Garches","Lyon","Marseille","Paris","Sevres","Suresnes","Versailles","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","Brookwood","Cambridge","Caversham","Cheltenham","Croughton","Fairford","Farnborough","Felixstowe","Harrogate","High Wycombe","Huntingdon","Kemble","Lakenheath","London","Loudwater","Menwith Hill","Mildenhall","Oxfordshire","Plymouth","Portsmouth","Reading","Rochester","Samlesbury","Southampton","Surrey","Waterbeach","Wiltshire","Another place in United Kingdom"],"GH":["Accra","Another place in Ghana"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GR":["Athens","Elefsis","Ellinikon","Mt. Parnis","Mt. Pateras","Nea Makri","Piraeus","Tanagra","Another place in Greece"],"GT":["Guatemala City","Another place in Guatemala"],"GY":["Georgetown","Another place in Guyana"],"HK":["Hong Kong"],"ID":["Jakarta","Another place in Indonesia"],"IE":["Dublin","Another place in Ireland"],"IL":["Beer Sheva","Jerusalem","Tel Aviv","West Bank","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Aviano","Genoa","La Spezia","Milan","Naples","Parma","Rome","Turin","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Atsugi","Camp Zama","Chiba-Ken","Fussa","Gifu","Haneda","Kanagawa-Ken","Komaki","Machida-Shi","Nagoya","Okinawa Prefecture","Osaka-Kobe","Sagamihara","Saitama-Ken","Tachikawa","Tokyo","Tokyo-to","Yokohama","Yokosuka","Yokota","Another place in Japan"],"KR":["Camp Colbern","Camp Market","Camp Mercer","K-16","Kimpo Airfield","Osan AB","Pyongtaek","Seoul","Suwon","Tongduchon","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"LU":["Luxembourg"],"MK":["Skopje","Another place in Macedonia"],"MT":["Malta","Another place in Malta"],"MX":["Merida","Mexico City","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NG":["Abuja","Another place in Nigeria"],"NL":["Amsterdam","Brunssum","Eygelshoven","Hague, The","Heerlen","Hoensbroek","Hulsberg","Kerkrade","Landgraaf","Maastricht","Papendrecht","Rotterdam","Schaesburg","Schinnen","Schiphol","Ypenburg","Another place in Netherlands"],"NZ":["Wellington","Another place in New Zealand"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PH":["Cavite","Manila","Another place in Philippines"],"PL":["Warsaw","Another place in Poland"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Sakhalin Island","Vladivostok","Yekaterinburg","Another place in Russia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2023":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AU":["Sydney","Another place in Australia"],"AW":["Aruba"],"BB":["Barbados","Bridgetown","Another place in Barbados"],"BE":["Brussels","Another place in Belgium"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CR":["San Jose","Another place in Costa Rica"],"CW":["Curacao"],"DE":["Berlin","Boeblingen","Ludwigsburg","Nellingen","Stuttgart","Bonn","Cologne","Gelnhausen","Hanau","Ingolstadt","Kaiserslautern, Landkreis","Pirmasens","Sembach","Zweibrueken","Mainz","Wiesbaden","Munich","Wahn","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EC":["Quito","Another place in Ecuador"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Another place in Spain"],"FR":["Garches","Paris","Sevres","Suresnes","Versailles","Lyon","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","High Wycombe","Reading","Caversham","Cheltenham","Farnborough","Felixstowe","Lakenheath","Mildenhall","London","Loudwater","Southampton","Surrey","Another place in United Kingdom"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GT":["Guatemala City","Another place in Guatemala"],"HK":["Hong Kong"],"ID":["Jakarta","Another place in Indonesia"],"IE":["Dublin","Another place in Ireland"],"IL":["Beer Sheva","Jerusalem","Tel Aviv","West Bank","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","La Spezia","Milan","Naples","Rome","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Gifu","Komaki","Nagoya","Okinawa Prefecture","Osaka-Kobe","Tokyo","Yokohama","Yokosuka","Another place in Japan"],"KR":["Camp Colbern","Camp Market","K-16","Kimpo Airfield","Seoul","Suwon","Camp Mercer","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"LU":["Luxembourg"],"MT":["Malta","Another place in Malta"],"MX":["Merida","Mexico City","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NL":["Amsterdam","Schiphol","Hague, The","Another place in Netherlands"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PL":["Warsaw","Another place in Poland"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Another place in Russia"],"SA":["Riyadh","Another place in Saudi Arabia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2024":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AU":["Melbourne","Sydney","Another place in Australia"],"AW":["Aruba"],"BE":["Brussels","Another place in Belgium"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CW":["Curacao"],"DE":["Berlin","Boeblingen","Bonn","Cologne","Gelnhausen","Hanau","Ingolstadt","Kaiserslautern and Landkreis","Ludwigsburg","Mainz","Munich","Nellingen","Pirmasens","Sembach","Stuttgart","Wahn","Wiesbaden","Zweibrucken","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EC":["Quito","Another place in Ecuador"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Another place in Spain"],"FR":["Garches","Paris","Sevres","Suresnes","Versailles","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","Caversham","Cheltenham","Farnborough","Harrogate","High Wycombe","Lakenheath","London","Loudwater","Menwith Hill","Mildenhall","Reading","Southampton","Surrey","Another place in United Kingdom"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GT":["Guatemala City","Another place in Guatemala"],"HK":["Hong Kong"],"IE":["Dublin","Another place in Ireland"],"IL":["Beer Sheva","Jerusalem","Tel Aviv","West Bank","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","La Spezia","Milan","Naples","Rome","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Gifu","Komaki","Nagoya","Okinawa Prefecture","Osaka-Kobe","Tokyo","Yokohama","Yokosuka","Another place in Japan"],"KR":["Camp Colbern","Camp Market","Camp Mercer","K-16","Kimpo Airfield","Seoul","Suwon","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"MT":["Malta","Another place in Malta"],"MX":["Mexico City","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NL":["Amsterdam","Hague, The","Schiphol","Another place in Netherlands"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PL":["Warsaw","Another place in Poland"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Another place in Russia"],"SA":["Riyadh","Another place in Saudi Arabia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2025":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AU":["Sydney","Wollongong","Another place in Australia"],"AW":["Oranjestad","Another place in Aruba"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CW":["Curacao"],"DE":["Berlin","Boeblingen","Bonn","Cologne","Gelnhausen","Hanau","Ingolstadt","Kaiserslautern, Landkreis","Ludwigsburg","Mainz","Munich","Nellingen","Pirmasens","Sembach","Stuttgart","Wahn","Wiesbaden","Zweibrucken","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Another place in Spain"],"FR":["Garches","Paris","Sevres","Suresnes","Versailles","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","Caversham","Cheltenham","Croughton","Farnborough","Harrogate","High Wycombe","Lakenheath","London","Loudwater","Menwith Hill","Mildenhall","Reading","Southampton","Surrey","Another place in United Kingdom"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GT":["Guatemala City","Another place in Guatemala"],"HK":["Hong Kong"],"IL":["Beer Sheva","Jerusalem","Tel Aviv","West Bank","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","La Spezia","Milan","Naples","Rome","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Gifu","Komaki","Nagoya","Okinawa Prefecture","Osaka-Kobe","Tokyo","Another place in Japan"],"KR":["Camp Colbern","Camp Mercer","K-16","Kimpo Airfield","Seoul","Suwon","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"LU":["Luxembourg"],"MT":["Malta","Another place in Malta"],"MX":["Mexico City","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"MZ":["Maputo","Another place in Mozambique"],"NL":["Amsterdam","Hague, The","Schiphol","Another place in Netherlands"],"OM":["Muscat","Another place in Oman"],"PA":["Panama City","Another place in Panama"],"PE":["Lima","Another place in Peru"],"PL":["Warsaw","Another place in Poland"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Another place in Russia"],"SA":["Riyadh","Another place in Saudi Arabia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"],"ZA":["Pretoria","Another place in South Africa"]},"2026":{"AE":["Abu Dhabi","Dubai","Another place in United Arab Emirates"],"AO":["Luanda","Another place in Angola"],"AR":["Buenos Aires","Another place in Argentina"],"AU":["Melbourne","Sydney","Wollongong","Another place in Australia"],"BE":["Brussels","Another place in Belgium"],"BH":["Bahrain","Another place in Bahrain"],"BM":["Bermuda","Another place in Bermuda"],"BR":["Sao Paulo","Another place in Brazil"],"BS":["Nassau","Another place in Bahamas"],"CA":["Calgary","Montreal","Ottawa","Toronto","Vancouver","Victoria","Another place in Canada"],"CD":["Kinshasa","Another place in Congo"],"CH":["Bern","Geneva","Zurich","Another place in Switzerland"],"CN":["Beijing","Shanghai","Another place in China"],"CO":["Bogota","Another place in Colombia"],"CW":["Curacao","Another place in Curacao"],"DE":["Berlin","Boeblingen","Ludwigsburg","Nellingen","Stuttgart","Bonn","Wahn","Cologne","Garmisch-Partenkirchen","Oberammergau","Gelnhausen","Hanau","Ingolstadt","Munich","Kaiserslautern, Landkreis","Pirmasens","Sembach","Zweibrucken","Mainz","Wiesbaden","Another place in Germany"],"DK":["Copenhagen","Another place in Denmark"],"DO":["Santo Domingo","Another place in Dominican Republic"],"EE":["Tallinn","Another place in Estonia"],"ES":["Barcelona","Madrid","Another place in Spain"],"FR":["Garches","Paris","Sevres","Suresnes","Versailles","Lyon","Another place in France"],"GB":["Basingstoke","Bath","Bracknell","High Wycombe","Reading","Caversham","Cheltenham","Croughton","Farnborough","Harrogate","Menwith Hill","London","Loudwater","Surrey","Another place in United Kingdom"],"GI":["Gibraltar"],"GN":["Conakry","Another place in Guinea"],"GT":["Guatemala City","Another place in Guatemala"],"HK":["Hong Kong"],"IE":["Dublin","Another place in Ireland"],"IL":["Beer Sheva","Jerusalem","West Bank","Tel Aviv","Another place in Israel"],"IN":["Mumbai","New Delhi","Another place in India"],"IT":["Genoa","La Spezia","Milan","Naples","Rome","Vicenza","Another place in Italy"],"JM":["Kingston","Another place in Jamaica"],"JP":["Gifu","Komaki","Nagoya","Okinawa Prefecture","Osaka-Kobe","Tokyo City","Another place in Japan"],"KR":["Camp Colbern","Camp Mercer","K-16","Kimpo Airfield","Seoul","Suwon","Another place in Korea, Republic of"],"KW":["Kuwait City","Another place in Kuwait"],"KY":["Grand Cayman","Another place in Cayman Islands"],"KZ":["Almaty","Another place in Kazakhstan"],"LU":["Luxembourg"],"MT":["Malta","Another place in Malta"],"MX":["Mexico City","Another place in Mexico"],"MY":["Kuala Lumpur","Another place in Malaysia"],"NL":["Amsterdam","Schiphol","The Hague","Another place in Netherlands"],"OM":["Muscat","Another place in Oman"],"PL":["Krakow","Warsaw","Another place in Poland"],"PT":["Alverca","Lisbon","Another place in Portugal"],"QA":["Doha","Another place in Qatar"],"RO":["Bucharest","Another place in Romania"],"RU":["Moscow","Saint Petersburg","Another place in Russia"],"SA":["Riyadh","Another place in Saudi Arabia"],"SG":["Singapore","Another place in Singapore"],"SI":["Ljubljana","Another place in Slovenia"],"TH":["Bangkok","Another place in Thailand"],"TT":["Port of Spain","Another place in Trinidad and Tobago"],"TW":["Taipei","Another place in Taiwan"],"TZ":["Dar Es Salaam","Another place in Tanzania"],"UA":["Kiev","Another place in Ukraine"],"VA":["Holy See, The","Another place in Holy See"],"VE":["Caracas","Another place in Venezuela"],"VN":["Hanoi","Ho Chi Minh City","Another place in Vietnam"]}},"kind_missing_sentences":{"address":"Add the address to continue.","choice":"Choose one of the answers to continue.","country":"Choose the country from the list to continue.","date":"Add the date to continue.","integer":"Add the number to continue.","money":"Add the amount to continue, taking it from the box the help text names.","pick_row":"Choose one of the entries you added earlier, or type the name.","pick_rows":"Select each income this came from, or select the last box if none of it did.","ssn":"Add the nine digits from the card to continue.","text":"Add this answer to continue.","yesno":"Choose Yes or No to continue."},"migration_written_ids":["deductions_credits.complex_self_employed_health_insurance","deductions_credits.dependent_care_benefits","deductions_credits.dependent_care_benefits_if_unsure","deductions_credits.limited_itemized_deduction","deductions_credits.special_amt_or_niit_election","deductions_credits.special_amt_or_niit_election_if_unsure","deductions_credits.unsure_of_a_situation","income_sources.complex_ftc","income_sources.complex_ftc_if_unsure","income_sources.complex_state_refund","income_sources.foreign_company_officer_or_owner","income_sources.foreign_company_officer_or_owner_form_5471","income_sources.has_like_kind_exchange","income_sources.has_like_kind_exchange_if_unsure","income_sources.has_unmodeled_income","income_sources.has_unmodeled_income_if_unsure","income_sources.may_have_capital_loss_carryover","income_sources.may_have_earlier_foreign_loss_account","income_sources.qcd_split_interest","income_sources.unsure_of_a_situation"],"missing_sentences":{"about_you.prior_year_agi":"Enter the adjusted gross income figure from near the bottom of page one of last year's Form 1040, or choose Not sure if you did not file.","about_you.taxpayer.phone":"Enter ten digits with no spaces or parentheses, for example 2065550100.","deductions_credits.child_dependent_care.qualifying_persons.identity_protection_pin":"Check the six digits in your IRS letter and type them again.","deductions_credits.child_dependent_care.spouse_student_or_disabled_months":"Enter a whole number of months between 0 and 12.","deductions_credits.child_dependent_care.taxpayer_student_or_disabled_months":"Enter a whole number of months between 0 and 12.","deductions_credits.prior_aotc_history.denied_year":"Enter the four-digit tax year named in the IRS letter, for example 2023.","deductions_credits.prior_aotc_history.fraud_year":"Enter the four-digit tax year named in the IRS letter, for example 2023.","deductions_credits.prior_aotc_history.reckless_year":"Enter the four-digit tax year named in the IRS letter, for example 2023.","household.dependents.months_lived_with_taxpayer":"Enter a whole number of months between 0 and 12.","household.prior_child_credit_history.denied_year":"Enter the four-digit tax year named in the IRS letter, for example 2023.","household.prior_child_credit_history.fraud_year":"Enter the four-digit tax year named in the IRS letter, for example 2023.","household.prior_child_credit_history.reckless_year":"Enter the four-digit tax year named in the IRS letter, for example 2023.","income_sources.businesses.depreciable_assets.business_use_percent":"Enter a percentage between 0 and 100, for example 80. It has to be more than 0.","income_sources.businesses.home_office.business_area_sqft":"Enter the floor area as a whole number of square feet, from 1 to 999999.","income_sources.businesses.home_office.total_home_area_sqft":"Enter the floor area as a whole number of square feet, from 1 to 999999.","income_sources.businesses.home_office.total_hours_available":"Enter the hours as a whole number, from 1 to 8784, which is every hour of the longest year.","income_sources.businesses.home_office.total_hours_business_used":"Enter the hours as a whole number, from 0 to 8784, which is every hour of the longest year.","income_sources.capital_transactions.home_sale.business_part_percent":"Enter a percentage between 0 and 100, for example 33.3. It has to be more than 0 and less than 100.","income_sources.prior_year_state_refund.refund_for_tax_year":"Enter the four-digit year your refund was for, for example 2024.","income_sources.rentals.fair_rental_days":"Enter a whole number of days between 0 and 366.","income_sources.rentals.personal_days_on_rented_days":"Enter a whole number of days between 0 and 366.","income_sources.rentals.personal_use_days":"Enter a whole number of days between 0 and 366.","income_sources.self_employment.other_expenses.restaurant_part":"Enter how much of these meals a restaurant provided, from your receipts, or zero if none of it did. For this tax year food and drinks from a restaurant can be deducted in full and other business meals only in part.","income_sources.wages.box_12.code":"Check the letter code printed in box 12 and type it again.","spouse_abroad.spouse_feie_prior_claims.last_year_filed":"Enter the four-digit tax year printed at the top of that earlier return of theirs, for example 2023.","spouse_abroad.spouse_feie_prior_claims.revocations.effective_tax_year":"Enter the four-digit tax year named in their statement, for example 2021.","spouse_abroad.spouse_physical_presence.test_period_end":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","spouse_abroad.spouse_physical_presence.test_period_start":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","spouse_abroad.uses_bona_fide_residence":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","spouse_abroad.uses_physical_presence":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","where_you_lived.feie_prior_claims.last_year_filed":"Enter the four-digit tax year printed at the top of that earlier return, for example 2023.","where_you_lived.feie_prior_claims.revocations.effective_tax_year":"Enter the four-digit tax year named in your statement, for example 2021.","where_you_lived.physical_presence.test_period_end":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","where_you_lived.physical_presence.test_period_start":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","where_you_lived.uses_bona_fide_residence":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it.","where_you_lived.uses_physical_presence":"Confirm the answer we filled in from your dates, or choose another. It is your choice, so nothing is filed on it until you confirm it."},"not_offered_sentence":"Choose one of the answers offered.","not_offered_sentences":{},"off_ramp_codes":["adoption_credit","alimony_paid","asset_before_1987","asset_interior_improvement","asset_partly_sold","asset_prior_allowance_not_sure","asset_sale_over_years","asset_sale_related_buyer","asset_sale_with_private_use","asset_used_before_bought","asset_vehicle","asset_write_off_answers_kept","benefit_foreign_cost_recovery","both_exclusion_routes_claimed","business_amortization","business_co_owned","business_depletion","business_foreign_entity","business_minister","business_not_for_profit","business_partnership_return","business_sale","business_use_share_converted","business_vehicle_actual_expenses","business_vehicle_fleet","business_vehicle_sold_standard_rate","business_vehicle_standard_rate_unavailable","canceled_debt_partly_excluded","capital_loss_carryover_joint","capital_loss_carryover_separate","capital_sale_business_property","care_credit_needs_living_apart","care_period_part_time","care_provider_ineligible_relative","carryover_later_deduction","carryover_other_kind_of_income","carryover_spouse_allocation","carryover_year_after_this_one","charity_abroad","charity_carryover","charity_limit_applies","citizenship_not_supported","claimed_as_dependent","clean_vehicle_credit","community_property_not_prepared","community_spouse_income_to_add","complex_feie_election","complex_ftc","complex_self_employed_health_insurance","complex_state_refund","cost_of_goods_sold_total_kept","credit_barred_after_finding","credit_for_the_elderly_or_disabled","currency_balance_gain","currency_loan_payoff","daycare_hours_kept","deceased_filer","degree_candidate_tuition_included","dependent_answers_need_review","dependent_care_benefits","dependent_did_not_live_with_you","dependent_number_not_adoption_range","dependent_tests_not_met","dependent_tests_not_settled","digital_asset_activity_missing","disabled_person_not_claimable","disabled_person_not_lived_with_you","disaster_distribution","disaster_loss","disqualified_home_business_use","domestic_partner_community_state","earlier_sale_or_foreclosure","early_withdrawal_penalty","education_account_payout","education_credit_recapture","educator_expenses","eic_military_duty","excess_contribution_or_missed_distribution","federal_mortgage_subsidy","feie_neither_test_met","feie_prior_choice_in_effect","feie_revocation_on_record","feie_settled_residence_counts_more","filing_status_contradicts_answers","foreign_branch_books_currency","foreign_branch_currency_history","foreign_branch_currency_year","foreign_branch_election","foreign_branch_form_8858","foreign_branch_high_inflation","foreign_branch_remittance","foreign_corporation_interest","foreign_employer_list_kept","foreign_exempt_interest","foreign_fund_form_8621","foreign_gift_from_trust","foreign_partnership_form_8865","foreign_plan_growth_taxed","foreign_tax_not_creditable","foreign_tax_related_expenses","foreign_trust_dealings","form_1098t_not_received","form_8283_section_b","form_8919_pay_not_covered","gambling_losses","gambling_tax_withheld","general_business_credit","head_of_household_may_apply","health_savings_account","hoh_lived_apart_needs_a_child","hoh_qss_without_dependent","home_mortgage_interest_limited","home_office_business_ended","home_office_casualty_loss","home_office_costs_need_sorting","home_office_daycare","home_office_exclusive_use_exceptions","home_office_housing_claimed_twice","home_office_improvements","home_office_other_location","home_office_part_year_bills","home_office_second_home","household_employment_taxes","housing_deduction_carryover","incentive_stock_options","inventory_beginning_differs","inventory_valuation_change","investment_foreign_tax","investment_interest_for_royalties","investment_interest_needs_form_4952","itin_applicant_can_get_an_ssn","itin_applicant_has_an_itin","itin_application_paper_route","itin_dependent_entry_date_needed","itin_dependent_no_allowable_benefit","itin_documents_not_enough","joint_return_nonresident_spouse_needs_choice","joint_return_without_a_spouse","jury_pay_given_to_employer","k1_activity_at_risk_carry_by_kind","like_kind_exchange","limited_itemized_deduction","line_six_tax_not_listed","line_six_tax_scope_not_sure","marketplace_coverage","married_couple_housing_claims","medical_savings_or_ltc_payout","mfs_spouse_itemizing_unknown","military_abroad_extension","mortgage_interest_credit","mortgage_interest_recipient_not_named","multiple_support_declaration","net_operating_loss_carry_in","noncash_gifts_need_detail","noncash_pay_not_prepared","nonresident_return","nonresident_spouse_statement_required","other_adjustment","other_income_account_payout","other_income_earlier_year_recovery","other_income_kind_not_supported","other_income_not_filed","other_income_not_reportable","over_12_person_not_in_home","overseas_extension_statement_required","pension_canadian_plan_exempt","pension_canadian_plan_exempt_by_procedure","pension_foreign_cost_recovery","pension_foreign_trust_exempt","pension_foreign_trust_not_exempt","pension_us_payer_use_1099r","personal_currency_gain_as_sale","personal_property_rental_expenses","pfic_regime_not_settled","ppt_window_no_longer_best","prior_depreciation_from_schedule","prior_year_minimum_tax_credit","prior_year_minimum_tax_mtftce","prior_year_unemployment_repayment","qbi_loss_carryforward","qbi_rental_safe_harbor","qbi_rental_some_properties","qcd_charity_abroad","qcd_split_interest","qof_disposal","qss_named_child_not_claimable","qualifying_child_claimed_by_both_parents","qualifying_child_of_more_than_one","qualifying_surviving_spouse_needs_a_child","railroad_retirement_statement","refund_by_check","rental_average_stay_30_days_with_services","rental_average_stay_7_days_or_less","rental_depreciation_needs_assets","rental_held_through_foreign_entity","rental_incidental_to_other_activity","rental_not_rented_for_profit","rental_partial_disposition","rental_personal_use","rental_sale_over_years","rental_sale_related_buyer","rental_sale_reported","rental_vehicle_expenses","rentals_one_activity_statement","residential_energy_credit","retirement_code_not_prepared","retirement_savings_credit","return_of_capital_not_computed","rollover_statement_not_prepared","roth_code_t_not_prepared","roth_conversion","royalty_depletion","royalty_from_own_trade","rrb_form_rrb_1099_r","sanctioned_country_tax","schedule_a_named_other_deduction","schedule_k1","schedule_k1_carried_deduction","schedule_k1_interest_given_up","schedule_k1_interest_installment","schedule_k1_interest_ordinary","schedule_k1_k3_foreign","schedule_k1_k3_needed","schedule_k1_k3_other_category","schedule_k1_k3_other_items","schedule_k1_part_of_stock","schedule_k1_publicly_traded","screening_answer_needs_review","section_1202_gain","section_1256_contracts","section_179_carryover","self_employed_retirement_plan","settled_country_not_abroad","settled_residence_end_per_country_kept","settled_residence_needs_a_whole_year","short_term_rental_loss","social_security_repayment","special_amt_or_niit_election","spouse_status_earlier_answer_kept","ss_lump_sum_election","ss_treaty_exemption_not_citizen","ss_treaty_exemption_part_year","state_local_taxes_paid_abroad","state_refund_other_exception","state_tax_on_excluded_pay","statutory_employee","stock_option_income_not_placed","student_loan_interest","tax_home_not_abroad","territory_resident_not_supported","time_requirement_waiver","too_many_rows_for_the_form","totalization_statement_required","trader_mark_to_market","traditional_ira_basis","traditional_ira_contribution","treaty_benefit_position","treaty_catalog_keeps_us_tax","treaty_catalog_no_row","treaty_catalog_residence_contradicts_route","treaty_catalog_unsettled","treaty_country_not_in_table_3","treaty_disclosure_needs_review","treaty_dual_resident_position","treaty_pension_position","treaty_position_not_applied","undistributed_capital_gain_credit","unemployment_contributions","unemployment_not_government_plan","unmodeled_income","unsupported_ftc_basket","us_government_pay_not_excluded","w2_allocated_tips","w2_hsa_employer_contributions","wage_church_employee","wage_foreign_government"],"option_tables":{"business_activity_codes":[{"group":"Accommodation","label":"721310 Rooming & boarding houses, dormitories, & workers' camps","value":"721310"},{"group":"Accommodation","label":"721210 RV (recreational vehicle) parks & recreational camps","value":"721210"},{"group":"Accommodation","label":"721100 Traveler accommodation (including hotels, motels, & bed & breakfast inns)","value":"721100"},{"group":"Food Services & Drinking Places","label":"722514 Cafeterias, grill buffets, & buffets","value":"722514"},{"group":"Food Services & Drinking Places","label":"722410 Drinking places (alcoholic beverages)","value":"722410"},{"group":"Food Services & Drinking Places","label":"722511 Full-service restaurants","value":"722511"},{"group":"Food Services & Drinking Places","label":"722513 Limited-service restaurants","value":"722513"},{"group":"Food Services & Drinking Places","label":"722515 Snack & nonalcoholic beverage bars","value":"722515"},{"group":"Food Services & Drinking Places","label":"722300 Special food services (including food service contractors & caterers)","value":"722300"},{"group":"Administrative & Support Services","label":"561430 Business service centers (including private mail centers & copy shops)","value":"561430"},{"group":"Administrative & Support Services","label":"561740 Carpet & upholstery cleaning services","value":"561740"},{"group":"Administrative & Support Services","label":"561440 Collection agencies","value":"561440"},{"group":"Administrative & Support Services","label":"561450 Credit bureaus","value":"561450"},{"group":"Administrative & Support Services","label":"561410 Document preparation services","value":"561410"},{"group":"Administrative & Support Services","label":"561300 Employment services","value":"561300"},{"group":"Administrative & Support Services","label":"561710 Exterminating & pest control services","value":"561710"},{"group":"Administrative & Support Services","label":"561210 Facilities support (management) services","value":"561210"},{"group":"Administrative & Support Services","label":"561600 Investigation & security services","value":"561600"},{"group":"Administrative & Support Services","label":"561720 Janitorial services","value":"561720"},{"group":"Administrative & Support Services","label":"561730 Landscaping services","value":"561730"},{"group":"Administrative & Support Services","label":"561110 Office administrative services","value":"561110"},{"group":"Administrative & Support Services","label":"561420 Telephone call centers (including telephone answering services & telemarketing bureaus)","value":"561420"},{"group":"Administrative & Support Services","label":"561500 Travel arrangement & reservation services","value":"561500"},{"group":"Administrative & Support Services","label":"561490 Other business support services (including repossession services, court reporting, & stenotype services)","value":"561490"},{"group":"Administrative & Support Services","label":"561790 Other services to buildings & dwellings","value":"561790"},{"group":"Administrative & Support Services","label":"561900 Other support services (including packaging & labeling services, & convention & trade show organizers)","value":"561900"},{"group":"Waste Management & Remediation Services","label":"562000 Waste management & remediation services","value":"562000"},{"group":"Agriculture, Forestry, Hunting, & Fishing","label":"112900 Animal production (including breeding of cats and dogs)","value":"112900"},{"group":"Agriculture, Forestry, Hunting, & Fishing","label":"114110 Fishing","value":"114110"},{"group":"Agriculture, Forestry, Hunting, & Fishing","label":"113000 Forestry & logging (including forest nurseries & timber tracts)","value":"113000"},{"group":"Agriculture, Forestry, Hunting, & Fishing","label":"114210 Hunting & trapping","value":"114210"},{"group":"Support Activities for Agriculture & Forestry","label":"115210 Support activities for animal production (including farriers)","value":"115210"},{"group":"Support Activities for Agriculture & Forestry","label":"115110 Support activities for crop production (including cotton ginning, soil preparation, planting, & cultivating)","value":"115110"},{"group":"Support Activities for Agriculture & Forestry","label":"115310 Support activities for forestry","value":"115310"},{"group":"Amusement, Gambling, & Recreation Industries","label":"713100 Amusement parks & arcades","value":"713100"},{"group":"Amusement, Gambling, & Recreation Industries","label":"713200 Gambling industries","value":"713200"},{"group":"Amusement, Gambling, & Recreation Industries","label":"713900 Other amusement & recreation services (including golf courses, skiing facilities, marinas, fitness centers, bowling centers, skating rinks, miniature golf courses)","value":"713900"},{"group":"Museums, Historical Sites, & Similar Institutions","label":"712100 Museums, historical sites, & similar institutions","value":"712100"},{"group":"Performing Arts, Spectator Sports, & Related Industries","label":"711410 Agents & managers for artists, athletes, entertainers, & other public figures","value":"711410"},{"group":"Performing Arts, Spectator Sports, & Related Industries","label":"711510 Independent artists, writers, & performers","value":"711510"},{"group":"Performing Arts, Spectator Sports, & Related Industries","label":"711100 Performing arts companies","value":"711100"},{"group":"Performing Arts, Spectator Sports, & Related Industries","label":"711300 Promoters of performing arts, sports, & similar events","value":"711300"},{"group":"Performing Arts, Spectator Sports, & Related Industries","label":"711210 Spectator sports (including professional sports clubs & racetrack operations)","value":"711210"},{"group":"Construction of Buildings","label":"236200 Nonresidential building construction","value":"236200"},{"group":"Construction of Buildings","label":"236100 Residential building construction","value":"236100"},{"group":"Heavy and Civil Engineering Construction","label":"237310 Highway, street, & bridge construction","value":"237310"},{"group":"Heavy and Civil Engineering Construction","label":"237210 Land subdivision","value":"237210"},{"group":"Heavy and Civil Engineering Construction","label":"237100 Utility system construction","value":"237100"},{"group":"Heavy and Civil Engineering Construction","label":"237990 Other heavy & civil engineering construction","value":"237990"},{"group":"Specialty Trade Contractors","label":"238310 Drywall & insulation contractors","value":"238310"},{"group":"Specialty Trade Contractors","label":"238210 Electrical contractors","value":"238210"},{"group":"Specialty Trade Contractors","label":"238350 Finish carpentry contractors","value":"238350"},{"group":"Specialty Trade Contractors","label":"238330 Flooring contractors","value":"238330"},{"group":"Specialty Trade Contractors","label":"238130 Framing carpentry contractors","value":"238130"},{"group":"Specialty Trade Contractors","label":"238150 Glass & glazing contractors","value":"238150"},{"group":"Specialty Trade Contractors","label":"238140 Masonry contractors","value":"238140"},{"group":"Specialty Trade Contractors","label":"238320 Painting & wall covering contractors","value":"238320"},{"group":"Specialty Trade Contractors","label":"238220 Plumbing, heating, & air-conditioning contractors","value":"238220"},{"group":"Specialty Trade Contractors","label":"238110 Poured concrete foundation & structure contractors","value":"238110"},{"group":"Specialty Trade Contractors","label":"238160 Roofing contractors","value":"238160"},{"group":"Specialty Trade Contractors","label":"238170 Siding contractors","value":"238170"},{"group":"Specialty Trade Contractors","label":"238910 Site preparation contractors","value":"238910"},{"group":"Specialty Trade Contractors","label":"238120 Structural steel & precast concrete construction contractors","value":"238120"},{"group":"Specialty Trade Contractors","label":"238340 Tile & terrazzo contractors","value":"238340"},{"group":"Specialty Trade Contractors","label":"238290 Other building equipment contractors","value":"238290"},{"group":"Specialty Trade Contractors","label":"238390 Other building finishing contractors","value":"238390"},{"group":"Specialty Trade Contractors","label":"238190 Other foundation, structure, & building exterior contractors","value":"238190"},{"group":"Specialty Trade Contractors","label":"238990 All other specialty trade contractors","value":"238990"},{"group":"Educational Services","label":"611000 Educational services (including schools, colleges, & universities)","value":"611000"},{"group":"Credit Intermediation & Related Activities","label":"522100 Depository credit intermediation (including commercial banking, savings institutions, & credit unions)","value":"522100"},{"group":"Credit Intermediation & Related Activities","label":"522200 Nondepository credit intermediation (including sales financing & consumer lending)","value":"522200"},{"group":"Credit Intermediation & Related Activities","label":"522300 Activities related to credit intermediation (including loan brokers)","value":"522300"},{"group":"Insurance Agents, Brokers, & Related Activities","label":"524210 Insurance agencies & brokerages","value":"524210"},{"group":"Insurance Agents, Brokers, & Related Activities","label":"524290 Other insurance related activities","value":"524290"},{"group":"Securities, Commodity Contracts, & Other Financial Investments & Related Activities","label":"523160 Commodity contracts intermediation","value":"523160"},{"group":"Securities, Commodity Contracts, & Other Financial Investments & Related Activities","label":"523150 Investment banking & securities intermediation","value":"523150"},{"group":"Securities, Commodity Contracts, & Other Financial Investments & Related Activities","label":"523210 Securities & commodity exchanges","value":"523210"},{"group":"Securities, Commodity Contracts, & Other Financial Investments & Related Activities","label":"523900 Other financial investment activities (including investment advice)","value":"523900"},{"group":"Ambulatory Health Care Services","label":"621610 Home health care services","value":"621610"},{"group":"Ambulatory Health Care Services","label":"621510 Medical & diagnostic laboratories","value":"621510"},{"group":"Ambulatory Health Care Services","label":"621310 Offices of chiropractors","value":"621310"},{"group":"Ambulatory Health Care Services","label":"621210 Offices of dentists","value":"621210"},{"group":"Ambulatory Health Care Services","label":"621330 Offices of mental health practitioners (except physicians)","value":"621330"},{"group":"Ambulatory Health Care Services","label":"621320 Offices of optometrists","value":"621320"},{"group":"Ambulatory Health Care Services","label":"621340 Offices of physical therapists, occupational & speech therapists, & audiologists","value":"621340"},{"group":"Ambulatory Health Care Services","label":"621111 Offices of physicians (except mental health specialists)","value":"621111"},{"group":"Ambulatory Health Care Services","label":"621112 Offices of physicians, mental health specialists","value":"621112"},{"group":"Ambulatory Health Care Services","label":"621391 Offices of podiatrists","value":"621391"},{"group":"Ambulatory Health Care Services","label":"621399 Offices of all other miscellaneous health practitioners","value":"621399"},{"group":"Ambulatory Health Care Services","label":"621400 Outpatient care centers","value":"621400"},{"group":"Ambulatory Health Care Services","label":"621900 Other ambulatory health care services (including ambulance services, blood banks, & organ banks)","value":"621900"},{"group":"Hospitals","label":"622000 Hospitals","value":"622000"},{"group":"Nursing & Residential Care Facilities","label":"623000 Nursing & residential care facilities","value":"623000"},{"group":"Social Assistance","label":"624410 Childcare services","value":"624410"},{"group":"Social Assistance","label":"624200 Community food & housing & emergency & other relief services","value":"624200"},{"group":"Social Assistance","label":"624100 Individual & family services","value":"624100"},{"group":"Social Assistance","label":"624310 Vocational rehabilitation services","value":"624310"},{"group":"Publishing Industries","label":"513000 Publishing industries","value":"513000"},{"group":"Broadcasting & Content Providers & Telecommunications","label":"516000 Broadcasting & content providers","value":"516000"},{"group":"Broadcasting & Content Providers & Telecommunications","label":"517000 Telecommunications (including wired, wireless, satellite, cable, & other program distribution, resellers, agents, other telecommunications, & internet service providers)","value":"517000"},{"group":"Data Processing, Web Search Portals, & Other Information Services","label":"518210 Computing infrastructure providers, data processing, web hosting, & related services","value":"518210"},{"group":"Data Processing, Web Search Portals, & Other Information Services","label":"519200 Web search portals, libraries, archives, & other info. services","value":"519200"},{"group":"Motion Picture & Sound Recording","label":"512100 Motion picture & video industries (except video rental)","value":"512100"},{"group":"Motion Picture & Sound Recording","label":"512200 Sound recording industries","value":"512200"},{"group":"Manufacturing","label":"315000 Apparel mfg.","value":"315000"},{"group":"Manufacturing","label":"312000 Beverage & tobacco product mfg.","value":"312000"},{"group":"Manufacturing","label":"334000 Computer & electronic product mfg.","value":"334000"},{"group":"Manufacturing","label":"335000 Electrical equipment, appliance, & component mfg.","value":"335000"},{"group":"Manufacturing","label":"332000 Fabricated metal product mfg.","value":"332000"},{"group":"Manufacturing","label":"337000 Furniture & related product mfg.","value":"337000"},{"group":"Manufacturing","label":"333000 Machinery mfg.","value":"333000"},{"group":"Manufacturing","label":"339110 Medical equipment & supplies mfg.","value":"339110"},{"group":"Manufacturing","label":"322000 Paper mfg.","value":"322000"},{"group":"Manufacturing","label":"324100 Petroleum & coal products mfg.","value":"324100"},{"group":"Manufacturing","label":"326000 Plastics & rubber products mfg.","value":"326000"},{"group":"Manufacturing","label":"331000 Primary metal mfg.","value":"331000"},{"group":"Manufacturing","label":"323100 Printing & related support activities","value":"323100"},{"group":"Manufacturing","label":"313000 Textile mills","value":"313000"},{"group":"Manufacturing","label":"314000 Textile product mills","value":"314000"},{"group":"Manufacturing","label":"336000 Transportation equipment mfg.","value":"336000"},{"group":"Manufacturing","label":"321000 Wood product mfg.","value":"321000"},{"group":"Manufacturing","label":"339900 Other miscellaneous mfg.","value":"339900"},{"group":"Chemical Manufacturing","label":"325100 Basic chemical mfg.","value":"325100"},{"group":"Chemical Manufacturing","label":"325500 Paint, coating, & adhesive mfg.","value":"325500"},{"group":"Chemical Manufacturing","label":"325300 Pesticide, fertilizer, & other agricultural chemical mfg.","value":"325300"},{"group":"Chemical Manufacturing","label":"325410 Pharmaceutical & medicine mfg.","value":"325410"},{"group":"Chemical Manufacturing","label":"325200 Resin, synthetic rubber, & artificial & synthetic fibers & filaments mfg.","value":"325200"},{"group":"Chemical Manufacturing","label":"325600 Soap, cleaning compound, & toilet preparation mfg.","value":"325600"},{"group":"Chemical Manufacturing","label":"325900 Other chemical product & preparation mfg.","value":"325900"},{"group":"Food Manufacturing","label":"311110 Animal food mfg.","value":"311110"},{"group":"Food Manufacturing","label":"311800 Bakeries & tortilla & dry pasta mfg.","value":"311800"},{"group":"Food Manufacturing","label":"311500 Dairy product mfg.","value":"311500"},{"group":"Food Manufacturing","label":"311400 Fruit & vegetable preserving & speciality food mfg.","value":"311400"},{"group":"Food Manufacturing","label":"311200 Grain & oilseed milling","value":"311200"},{"group":"Food Manufacturing","label":"311610 Animal slaughtering & processing","value":"311610"},{"group":"Food Manufacturing","label":"311710 Seafood product preparation & packaging","value":"311710"},{"group":"Food Manufacturing","label":"311300 Sugar & confectionery product mfg.","value":"311300"},{"group":"Food Manufacturing","label":"311900 Other food mfg. (including coffee, tea, flavorings, & seasonings)","value":"311900"},{"group":"Leather & Allied Product Manufacturing","label":"316210 Footwear mfg. (including leather, rubber, & plastics)","value":"316210"},{"group":"Leather & Allied Product Manufacturing","label":"316110 Leather & hide tanning & finishing","value":"316110"},{"group":"Leather & Allied Product Manufacturing","label":"316990 Other leather & allied product mfg.","value":"316990"},{"group":"Nonmetallic Mineral Product Manufacturing","label":"327300 Cement & concrete product mfg.","value":"327300"},{"group":"Nonmetallic Mineral Product Manufacturing","label":"327100 Clay product & refractory mfg.","value":"327100"},{"group":"Nonmetallic Mineral Product Manufacturing","label":"327210 Glass & glass product mfg.","value":"327210"},{"group":"Nonmetallic Mineral Product Manufacturing","label":"327400 Lime & gypsum product mfg.","value":"327400"},{"group":"Nonmetallic Mineral Product Manufacturing","label":"327900 Other nonmetallic mineral product mfg.","value":"327900"},{"group":"Mining","label":"212110 Coal mining","value":"212110"},{"group":"Mining","label":"211120 Crude petroleum extraction","value":"211120"},{"group":"Mining","label":"212200 Metal ore mining","value":"212200"},{"group":"Mining","label":"211130 Natural gas extraction","value":"211130"},{"group":"Mining","label":"212300 Nonmetallic mineral mining & quarrying","value":"212300"},{"group":"Mining","label":"213110 Support activities for mining","value":"213110"},{"group":"Personal & Laundry Services","label":"812111 Barber shops","value":"812111"},{"group":"Personal & Laundry Services","label":"812112 Beauty salons","value":"812112"},{"group":"Personal & Laundry Services","label":"812220 Cemeteries & crematories","value":"812220"},{"group":"Personal & Laundry Services","label":"812310 Coin-operated laundries & drycleaners","value":"812310"},{"group":"Personal & Laundry Services","label":"812320 Drycleaning & laundry services (except coin-operated) (including laundry & drycleaning drop-off & pickup sites)","value":"812320"},{"group":"Personal & Laundry Services","label":"812210 Funeral homes & funeral services","value":"812210"},{"group":"Personal & Laundry Services","label":"812330 Linen & uniform supply","value":"812330"},{"group":"Personal & Laundry Services","label":"812113 Nail salons","value":"812113"},{"group":"Personal & Laundry Services","label":"812930 Parking lots & garages","value":"812930"},{"group":"Personal & Laundry Services","label":"812910 Pet care (except veterinary) services","value":"812910"},{"group":"Personal & Laundry Services","label":"812920 Photofinishing","value":"812920"},{"group":"Personal & Laundry Services","label":"812190 Other personal care services (including diet & weight reducing centers)","value":"812190"},{"group":"Personal & Laundry Services","label":"812990 All other personal services","value":"812990"},{"group":"Repair & Maintenance","label":"811120 Automotive body, paint, interior, & glass repair","value":"811120"},{"group":"Repair & Maintenance","label":"811110 Automotive mechanical & electrical repair & maintenance","value":"811110"},{"group":"Repair & Maintenance","label":"811190 Other automotive repair & maintenance (including oil change & lubrication shops & car washes)","value":"811190"},{"group":"Repair & Maintenance","label":"811310 Commercial & industrial machinery & equipment (except automotive & electronic) repair & maintenance","value":"811310"},{"group":"Repair & Maintenance","label":"811210 Electronic & precision equipment repair & maintenance","value":"811210"},{"group":"Repair & Maintenance","label":"811430 Footwear & leather goods repair","value":"811430"},{"group":"Repair & Maintenance","label":"811410 Home & garden equipment & appliance repair & maintenance","value":"811410"},{"group":"Repair & Maintenance","label":"811420 Reupholstery & furniture repair","value":"811420"},{"group":"Repair & Maintenance","label":"811490 Other personal & household goods repair & maintenance","value":"811490"},{"group":"Professional, Scientific, & Technical Services","label":"541100 Legal services","value":"541100"},{"group":"Professional, Scientific, & Technical Services","label":"541211 Offices of certified public accountants","value":"541211"},{"group":"Professional, Scientific, & Technical Services","label":"541214 Payroll services","value":"541214"},{"group":"Professional, Scientific, & Technical Services","label":"541213 Tax preparation services","value":"541213"},{"group":"Professional, Scientific, & Technical Services","label":"541219 Other accounting services","value":"541219"},{"group":"Architectural, Engineering, & Related Services","label":"541310 Architectural services","value":"541310"},{"group":"Architectural, Engineering, & Related Services","label":"541350 Building inspection services","value":"541350"},{"group":"Architectural, Engineering, & Related Services","label":"541340 Drafting services","value":"541340"},{"group":"Architectural, Engineering, & Related Services","label":"541330 Engineering services","value":"541330"},{"group":"Architectural, Engineering, & Related Services","label":"541360 Geophysical surveying & mapping services","value":"541360"},{"group":"Architectural, Engineering, & Related Services","label":"541320 Landscape architecture services","value":"541320"},{"group":"Architectural, Engineering, & Related Services","label":"541370 Surveying & mapping (except geophysical) services","value":"541370"},{"group":"Architectural, Engineering, & Related Services","label":"541380 Testing laboratories & services","value":"541380"},{"group":"Computer Systems Design & Related Services","label":"541510 Computer systems design & related services","value":"541510"},{"group":"Specialized Design Services","label":"541400 Specialized design services (including interior, industrial, graphic, & fashion design)","value":"541400"},{"group":"Other Professional, Scientific, & Technical Services","label":"541800 Advertising, public relations, & related services","value":"541800"},{"group":"Other Professional, Scientific, & Technical Services","label":"541600 Management, scientific, & technical consulting services","value":"541600"},{"group":"Other Professional, Scientific, & Technical Services","label":"541910 Market research & public opinion polling","value":"541910"},{"group":"Other Professional, Scientific, & Technical Services","label":"541920 Photographic services","value":"541920"},{"group":"Other Professional, Scientific, & Technical Services","label":"541700 Scientific research & development services","value":"541700"},{"group":"Other Professional, Scientific, & Technical Services","label":"541930 Translation & interpretation services","value":"541930"},{"group":"Other Professional, Scientific, & Technical Services","label":"541940 Veterinary services","value":"541940"},{"group":"Other Professional, Scientific, & Technical Services","label":"541990 All other professional, scientific, & technical services","value":"541990"},{"group":"Real Estate","label":"531100 Lessors of real estate (including miniwarehouses & self-storage units)","value":"531100"},{"group":"Real Estate","label":"531210 Offices of real estate agents & brokers","value":"531210"},{"group":"Real Estate","label":"531320 Offices of real estate appraisers","value":"531320"},{"group":"Real Estate","label":"531310 Real estate property managers","value":"531310"},{"group":"Real Estate","label":"531390 Other activities related to real estate","value":"531390"},{"group":"Rental & Leasing Services","label":"532100 Automotive equipment rental & leasing","value":"532100"},{"group":"Rental & Leasing Services","label":"532400 Commercial & industrial machinery & equipment rental & leasing","value":"532400"},{"group":"Rental & Leasing Services","label":"532210 Consumer electronics & appliances rental","value":"532210"},{"group":"Rental & Leasing Services","label":"532281 Formal wear & costume rental","value":"532281"},{"group":"Rental & Leasing Services","label":"532310 General rental centers","value":"532310"},{"group":"Rental & Leasing Services","label":"532283 Home health equipment rental","value":"532283"},{"group":"Rental & Leasing Services","label":"532284 Recreational goods rental","value":"532284"},{"group":"Rental & Leasing Services","label":"532282 Video tape & disc rental","value":"532282"},{"group":"Rental & Leasing Services","label":"532289 Other consumer goods rental","value":"532289"},{"group":"Religious, Grantmaking, Civic, Professional, & Similar Organizations","label":"813000 Religious, grantmaking, civic, professional, & similar organizations","value":"813000"},{"group":"Building Material & Garden Equipment & Supplies Dealers","label":"444140 Hardware retailers","value":"444140"},{"group":"Building Material & Garden Equipment & Supplies Dealers","label":"444110 Home centers","value":"444110"},{"group":"Building Material & Garden Equipment & Supplies Dealers","label":"444200 Lawn & garden equipment & supplies retailers","value":"444200"},{"group":"Building Material & Garden Equipment & Supplies Dealers","label":"444120 Paint & wallpaper retailers","value":"444120"},{"group":"Building Material & Garden Equipment & Supplies Dealers","label":"444180 Other building materials dealers","value":"444180"},{"group":"Clothing & Accessories Retailers","label":"458110 Clothing & clothing accessories retailers","value":"458110"},{"group":"Clothing & Accessories Retailers","label":"458310 Jewelry retailers","value":"458310"},{"group":"Clothing & Accessories Retailers","label":"458320 Luggage & leather goods retailers","value":"458320"},{"group":"Clothing & Accessories Retailers","label":"458210 Shoe retailers","value":"458210"},{"group":"Electronic & Appliance Retailers","label":"449210 Electronics & appliance retailers (including computers)","value":"449210"},{"group":"Food & Beverage Retailers","label":"445320 Beer, wine, & liquor retailers","value":"445320"},{"group":"Food & Beverage Retailers","label":"445250 Fish & seafood retailers","value":"445250"},{"group":"Food & Beverage Retailers","label":"445230 Fruit & vegetable retailers","value":"445230"},{"group":"Food & Beverage Retailers","label":"445100 Grocery & convenience retailers","value":"445100"},{"group":"Food & Beverage Retailers","label":"445240 Meat retailers","value":"445240"},{"group":"Food & Beverage Retailers","label":"445290 Other specialty food retailers","value":"445290"},{"group":"Food & Beverage Retailers","label":"445132 Vending machine operators","value":"445132"},{"group":"Furniture & Home Furnishings Retailers","label":"449110 Furniture retailers","value":"449110"},{"group":"Furniture & Home Furnishings Retailers","label":"449120 Home furnishings retailers","value":"449120"},{"group":"Gasoline Stations & Fuel Dealers","label":"457100 Gasoline stations (including convenience stores with gas)","value":"457100"},{"group":"Gasoline Stations & Fuel Dealers","label":"457210 Fuel dealers (including heating oil & liquefied petroleum)","value":"457210"},{"group":"General Merchandise Retailers","label":"455000 General merchandise retailers","value":"455000"},{"group":"Health & Personal Care Retailers","label":"456120 Cosmetics, beauty supplies, & perfume retailers","value":"456120"},{"group":"Health & Personal Care Retailers","label":"456130 Optical goods retailers","value":"456130"},{"group":"Health & Personal Care Retailers","label":"456110 Pharmacies & drug retailers","value":"456110"},{"group":"Health & Personal Care Retailers","label":"456190 Other health & personal care retailers","value":"456190"},{"group":"Motor Vehicle & Parts Dealers","label":"441300 Automotive parts, accessories, & tire retailers","value":"441300"},{"group":"Motor Vehicle & Parts Dealers","label":"441222 Boat dealers","value":"441222"},{"group":"Motor Vehicle & Parts Dealers","label":"441227 Motorcycle, ATV, & all other motor vehicle dealers","value":"441227"},{"group":"Motor Vehicle & Parts Dealers","label":"441110 New car dealers","value":"441110"},{"group":"Motor Vehicle & Parts Dealers","label":"441210 Recreational vehicle dealers (including motor home & travel trailer dealers)","value":"441210"},{"group":"Motor Vehicle & Parts Dealers","label":"441120 Used car dealers","value":"441120"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459210 Book retailers & news dealers (including newsstands)","value":"459210"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459120 Hobby, toy, & game retailers","value":"459120"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459140 Musical instrument, & supplies retailers","value":"459140"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459130 Sewing, needlework, & piece goods retailers","value":"459130"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459110 Sporting goods retailers","value":"459110"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459920 Art dealers","value":"459920"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459310 Florists","value":"459310"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459420 Gift, novelty, & souvenir retailers","value":"459420"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459930 Manufactured (mobile) home dealers","value":"459930"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459410 Office supplies & stationery retailers","value":"459410"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459910 Pet & pet supplies retailers","value":"459910"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459510 Used merchandise retailers","value":"459510"},{"group":"Sporting Goods, Hobby, Book, Musical Instrument, & Miscellaneous Retailers","label":"459990 All other miscellaneous retailers (including tobacco, candle, & trophy retailers)","value":"459990"},{"group":"Transportation & Warehousing","label":"481000 Air transportation","value":"481000"},{"group":"Transportation & Warehousing","label":"485510 Charter bus industry","value":"485510"},{"group":"Transportation & Warehousing","label":"484110 General freight trucking, local","value":"484110"},{"group":"Transportation & Warehousing","label":"484120 General freight trucking, long distance","value":"484120"},{"group":"Transportation & Warehousing","label":"485210 Interurban & rural bus transportation","value":"485210"},{"group":"Transportation & Warehousing","label":"486000 Pipeline transportation","value":"486000"},{"group":"Transportation & Warehousing","label":"482110 Rail transportation","value":"482110"},{"group":"Transportation & Warehousing","label":"487000 Scenic & sightseeing transportation","value":"487000"},{"group":"Transportation & Warehousing","label":"485410 School & employee bus transportation","value":"485410"},{"group":"Transportation & Warehousing","label":"484200 Specialized freight trucking (including household moving vans)","value":"484200"},{"group":"Transportation & Warehousing","label":"485300 Taxi, limousine, & ridesharing service","value":"485300"},{"group":"Transportation & Warehousing","label":"485110 Urban transit systems","value":"485110"},{"group":"Transportation & Warehousing","label":"483000 Water transportation","value":"483000"},{"group":"Transportation & Warehousing","label":"485990 Other transit & ground passenger transportation","value":"485990"},{"group":"Transportation & Warehousing","label":"488000 Support activities for transportation (including motor vehicle towing)","value":"488000"},{"group":"Couriers & Messengers","label":"492000 Couriers & messengers","value":"492000"},{"group":"Warehousing & Storage Facilities","label":"493100 Warehousing & storage (except leases of miniwarehouses & self-storage units)","value":"493100"},{"group":"Utilities","label":"221000 Utilities","value":"221000"},{"group":"Merchant Wholesalers, Durable Goods","label":"423200 Furniture & home furnishing","value":"423200"},{"group":"Merchant Wholesalers, Durable Goods","label":"423700 Hardware & plumbing & heating equipment & supplies","value":"423700"},{"group":"Merchant Wholesalers, Durable Goods","label":"423600 Household appliances & electrical & electronic goods","value":"423600"},{"group":"Merchant Wholesalers, Durable Goods","label":"423940 Jewelry, watches, precious stones, & precious metals","value":"423940"},{"group":"Merchant Wholesalers, Durable Goods","label":"423300 Lumber & other construction materials","value":"423300"},{"group":"Merchant Wholesalers, Durable Goods","label":"423800 Machinery, equipment, & supplies","value":"423800"},{"group":"Merchant Wholesalers, Durable Goods","label":"423500 Metal & mineral (except petroleum)","value":"423500"},{"group":"Merchant Wholesalers, Durable Goods","label":"423100 Motor vehicle & motor vehicle parts & supplies","value":"423100"},{"group":"Merchant Wholesalers, Durable Goods","label":"423400 Professional & commercial equipment & supplies","value":"423400"},{"group":"Merchant Wholesalers, Durable Goods","label":"423930 Recyclable materials","value":"423930"},{"group":"Merchant Wholesalers, Durable Goods","label":"423910 Sporting & recreational goods & supplies","value":"423910"},{"group":"Merchant Wholesalers, Durable Goods","label":"423920 Toy & hobby goods & supplies","value":"423920"},{"group":"Merchant Wholesalers, Durable Goods","label":"423990 Other miscellaneous durable goods","value":"423990"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424300 Apparel, piece goods, & notions","value":"424300"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424800 Beer, wine, & distilled alcoholic beverages","value":"424800"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424920 Books, periodicals, & newspapers","value":"424920"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424600 Chemical & allied products","value":"424600"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424210 Drugs & druggists' sundries","value":"424210"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424500 Farm product raw materials","value":"424500"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424910 Farm supplies","value":"424910"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424930 Flower, nursery stock, & florists' supplies","value":"424930"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424400 Grocery & related products","value":"424400"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424950 Paint, varnish, & supplies","value":"424950"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424100 Paper & paper products","value":"424100"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424700 Petroleum & petroleum products","value":"424700"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424940 Tobacco products & electronic cigarettes","value":"424940"},{"group":"Merchant Wholesalers, Nondurable Goods","label":"424990 Other miscellaneous nondurable goods","value":"424990"},{"group":"Wholesale Trade Agents & Brokers","label":"425120 Wholesale trade agents & brokers","value":"425120"},{"group":"Unclassified establishments (unable to classify)","label":"999000 Unclassified establishments (unable to classify)","value":"999000"}],"country_codes":[{"label":"Afghanistan","value":"AF"},{"label":"Akrotiri","value":"IRS:AX"},{"label":"Albania","value":"AL"},{"label":"Algeria","value":"DZ"},{"label":"American Samoa","value":"AS"},{"label":"Andorra","value":"AD"},{"label":"Angola","value":"AO"},{"label":"Anguilla","value":"AI"},{"label":"Antarctica","value":"AQ"},{"label":"Antigua and Barbuda","value":"AG"},{"label":"Argentina","value":"AR"},{"label":"Armenia","value":"AM"},{"label":"Aruba","value":"AW"},{"label":"Ashmore and Cartier Islands","value":"IRS:AT"},{"label":"Australia","value":"AU"},{"label":"Austria","value":"AT"},{"label":"Azerbaijan","value":"AZ"},{"label":"Bahamas","value":"BS"},{"label":"Bahrain","value":"BH"},{"label":"Baker Island","value":"IRS:FQ"},{"label":"Bangladesh","value":"BD"},{"label":"Barbados","value":"BB"},{"label":"Belarus","value":"BY"},{"label":"Belgium","value":"BE"},{"label":"Belize","value":"BZ"},{"label":"Benin","value":"BJ"},{"label":"Bermuda","value":"BM"},{"label":"Bhutan","value":"BT"},{"label":"Bolivia","value":"BO"},{"label":"Bosnia-Herzegovina","value":"BA"},{"label":"Botswana","value":"BW"},{"label":"Bouvet Island","value":"BV"},{"label":"Brazil","value":"BR"},{"label":"British Indian Ocean Territory","value":"IO"},{"label":"British Virgin Islands","value":"VG"},{"label":"Brunei","value":"BN"},{"label":"Bulgaria","value":"BG"},{"label":"Burkina Faso","value":"BF"},{"label":"Burma","value":"MM"},{"label":"Burundi","value":"BI"},{"label":"Cambodia","value":"KH"},{"label":"Cameroon","value":"CM"},{"label":"Canada","value":"CA"},{"label":"Cape Verde","value":"CV"},{"label":"Cayman Islands","value":"KY"},{"label":"Central African Republic","value":"CF"},{"label":"Chad","value":"TD"},{"label":"Chile","value":"CL"},{"label":"China","value":"CN"},{"label":"Christmas Island","value":"CX"},{"label":"Clipperton Island","value":"IRS:IP"},{"label":"Cocos (Keeling) Islands","value":"CC"},{"label":"Colombia","value":"CO"},{"label":"Comoros","value":"KM"},{"label":"Congo (Brazzaville)","value":"CG"},{"label":"Congo (Kinshasa)","value":"CD"},{"label":"Cook Islands","value":"CK"},{"label":"Coral Sea Islands","value":"IRS:CR"},{"label":"Costa Rica","value":"CR"},{"label":"Cote D'Ivoire (Ivory Coast)","value":"CI"},{"label":"Croatia","value":"HR"},{"label":"Cuba","value":"CU"},{"label":"Curacao","value":"CW"},{"label":"Cyprus","value":"CY"},{"label":"Czech Republic","value":"CZ"},{"label":"Denmark","value":"DK"},{"label":"Dhekelia","value":"IRS:DX"},{"label":"Djibouti","value":"DJ"},{"label":"Dominica","value":"DM"},{"label":"Dominican Republic","value":"DO"},{"label":"East Timor","value":"TL"},{"label":"Ecuador","value":"EC"},{"label":"Egypt","value":"EG"},{"label":"El Salvador","value":"SV"},{"label":"Equatorial Guinea","value":"GQ"},{"label":"Eritrea","value":"ER"},{"label":"Estonia","value":"EE"},{"label":"Ethiopia","value":"ET"},{"label":"Falkland Islands (Islas Malvinas)","value":"FK"},{"label":"Faroe Islands","value":"FO"},{"label":"Federated States of Micronesia","value":"FM"},{"label":"Fiji","value":"FJ"},{"label":"Finland","value":"FI"},{"label":"France","value":"FR"},{"label":"French Polynesia","value":"PF"},{"label":"French Southern and Antarctic Lands","value":"TF"},{"label":"Gabon","value":"GA"},{"label":"The Gambia","value":"GM"},{"label":"Georgia","value":"GE"},{"label":"Germany","value":"DE"},{"label":"Ghana","value":"GH"},{"label":"Gibraltar","value":"GI"},{"label":"Greece","value":"GR"},{"label":"Greenland","value":"GL"},{"label":"Grenada","value":"GD"},{"label":"Guam","value":"GU"},{"label":"Guatemala","value":"GT"},{"label":"Guernsey","value":"GG"},{"label":"Guinea","value":"GN"},{"label":"Guinea-Bissau","value":"GW"},{"label":"Guyana","value":"GY"},{"label":"Haiti","value":"HT"},{"label":"Heard Island and McDonald Islands","value":"HM"},{"label":"Holy See","value":"VA"},{"label":"Honduras","value":"HN"},{"label":"Hong Kong","value":"HK"},{"label":"Howland Island","value":"IRS:HQ"},{"label":"Hungary","value":"HU"},{"label":"Iceland","value":"IS"},{"label":"India","value":"IN"},{"label":"Indonesia","value":"ID"},{"label":"Iran","value":"IR"},{"label":"Iraq","value":"IQ"},{"label":"Ireland","value":"IE"},{"label":"Israel","value":"IL"},{"label":"Italy","value":"IT"},{"label":"Jamaica","value":"JM"},{"label":"Jan Mayen","value":"IRS:JN"},{"label":"Japan","value":"JP"},{"label":"Jarvis Island","value":"IRS:DQ"},{"label":"Jersey","value":"JE"},{"label":"Johnston Atoll","value":"IRS:JQ"},{"label":"Jordan","value":"JO"},{"label":"Kazakhstan","value":"KZ"},{"label":"Kenya","value":"KE"},{"label":"Kingman Reef","value":"IRS:KQ"},{"label":"Kiribati","value":"KI"},{"label":"Korea, Democratic People's Republic of (North)","value":"KP"},{"label":"Korea, Republic of (South)","value":"KR"},{"label":"Kosovo","value":"IRS:KV"},{"label":"Kuwait","value":"KW"},{"label":"Kyrgyzstan","value":"KG"},{"label":"Laos","value":"LA"},{"label":"Latvia","value":"LV"},{"label":"Lebanon","value":"LB"},{"label":"Lesotho","value":"LS"},{"label":"Liberia","value":"LR"},{"label":"Libya","value":"LY"},{"label":"Liechtenstein","value":"LI"},{"label":"Lithuania","value":"LT"},{"label":"Luxembourg","value":"LU"},{"label":"Macau","value":"MO"},{"label":"Macedonia","value":"MK"},{"label":"Madagascar","value":"MG"},{"label":"Malawi","value":"MW"},{"label":"Malaysia","value":"MY"},{"label":"Maldives","value":"MV"},{"label":"Mali","value":"ML"},{"label":"Malta","value":"MT"},{"label":"Man, Isle of","value":"IM"},{"label":"Marshall Islands","value":"MH"},{"label":"Mauritania","value":"MR"},{"label":"Mauritius","value":"MU"},{"label":"Mexico","value":"MX"},{"label":"Midway Islands","value":"IRS:MQ"},{"label":"Moldova","value":"MD"},{"label":"Monaco","value":"MC"},{"label":"Mongolia","value":"MN"},{"label":"Montenegro","value":"ME"},{"label":"Montserrat","value":"MS"},{"label":"Morocco","value":"MA"},{"label":"Mozambique","value":"MZ"},{"label":"Namibia","value":"NA"},{"label":"Nauru","value":"NR"},{"label":"Navassa Island","value":"IRS:BQ"},{"label":"Nepal","value":"NP"},{"label":"Netherlands","value":"NL"},{"label":"New Caledonia","value":"NC"},{"label":"New Zealand","value":"NZ"},{"label":"Nicaragua","value":"NI"},{"label":"Niger","value":"NE"},{"label":"Nigeria","value":"NG"},{"label":"Niue","value":"NU"},{"label":"Norfolk Island","value":"NF"},{"label":"Northern Mariana Islands","value":"MP"},{"label":"Norway","value":"NO"},{"label":"Oman","value":"OM"},{"label":"Other Country","value":"IRS:OC"},{"label":"Pakistan","value":"PK"},{"label":"Palau","value":"PW"},{"label":"Palmyra Atoll","value":"IRS:LQ"},{"label":"Panama","value":"PA"},{"label":"Papua-New Guinea","value":"PG"},{"label":"Paracel Islands","value":"IRS:PF"},{"label":"Paraguay","value":"PY"},{"label":"Peru","value":"PE"},{"label":"Philippines","value":"PH"},{"label":"Pitcairn Islands","value":"PN"},{"label":"Poland","value":"PL"},{"label":"Portugal","value":"PT"},{"label":"Puerto Rico","value":"PR"},{"label":"Qatar","value":"QA"},{"label":"Romania","value":"RO"},{"label":"Russia","value":"RU"},{"label":"Rwanda","value":"RW"},{"label":"Saint Barthelemy","value":"BL"},{"label":"Saint Martin","value":"MF"},{"label":"Samoa","value":"WS"},{"label":"San Marino","value":"SM"},{"label":"Sao Tome and Principe","value":"ST"},{"label":"Saudi Arabia","value":"SA"},{"label":"Senegal","value":"SN"},{"label":"Serbia","value":"RS"},{"label":"Seychelles","value":"SC"},{"label":"Sierra Leone","value":"SL"},{"label":"Singapore","value":"SG"},{"label":"Sint Maarten","value":"SX"},{"label":"Slovakia","value":"SK"},{"label":"Slovenia","value":"SI"},{"label":"Solomon Islands","value":"SB"},{"label":"Somalia","value":"SO"},{"label":"South Africa","value":"ZA"},{"label":"South Georgia and the South Sandwich Islands","value":"GS"},{"label":"South Sudan","value":"SS"},{"label":"Spain","value":"ES"},{"label":"Spratly Islands","value":"IRS:PG"},{"label":"Sri Lanka","value":"LK"},{"label":"St. Helena","value":"SH"},{"label":"St. Kitts and Nevis","value":"KN"},{"label":"St. Lucia Island","value":"LC"},{"label":"St. Pierre and Miquelon","value":"PM"},{"label":"St. Vincent and the Grenadines","value":"VC"},{"label":"Sudan","value":"SD"},{"label":"Suriname","value":"SR"},{"label":"Svalbard","value":"IRS:SV"},{"label":"Swaziland","value":"SZ"},{"label":"Sweden","value":"SE"},{"label":"Switzerland","value":"CH"},{"label":"Syria","value":"SY"},{"label":"Taiwan","value":"TW"},{"label":"Tajikistan","value":"TJ"},{"label":"Tanzania","value":"TZ"},{"label":"Thailand","value":"TH"},{"label":"Togo","value":"TG"},{"label":"Tokelau","value":"TK"},{"label":"Tonga","value":"TO"},{"label":"Trinidad and Tobago","value":"TT"},{"label":"Tunisia","value":"TN"},{"label":"Turkey","value":"TR"},{"label":"Turkmenistan","value":"TM"},{"label":"Turks and Caicos Islands","value":"TC"},{"label":"Tuvalu","value":"TV"},{"label":"Uganda","value":"UG"},{"label":"Ukraine","value":"UA"},{"label":"United Arab Emirates","value":"AE"},{"label":"United Kingdom (England, Northern Ireland, Scotland, and Wales)","value":"GB"},{"label":"Uruguay","value":"UY"},{"label":"Uzbekistan","value":"UZ"},{"label":"Vanuatu","value":"VU"},{"label":"Venezuela","value":"VE"},{"label":"Vietnam","value":"VN"},{"label":"Virgin Islands","value":"VI"},{"label":"Wake Island","value":"IRS:WQ"},{"label":"Wallis and Futuna","value":"WF"},{"label":"Western Sahara","value":"EH"},{"label":"Yemen (Aden)","value":"YE"},{"label":"Zambia","value":"ZM"},{"label":"Zimbabwe","value":"ZW"}],"country_names":[{"label":"Afghanistan","value":"Afghanistan"},{"label":"Akrotiri","value":"Akrotiri"},{"label":"Albania","value":"Albania"},{"label":"Algeria","value":"Algeria"},{"label":"American Samoa","value":"American Samoa"},{"label":"Andorra","value":"Andorra"},{"label":"Angola","value":"Angola"},{"label":"Anguilla","value":"Anguilla"},{"label":"Antarctica","value":"Antarctica"},{"label":"Antigua and Barbuda","value":"Antigua and Barbuda"},{"label":"Argentina","value":"Argentina"},{"label":"Armenia","value":"Armenia"},{"label":"Aruba","value":"Aruba"},{"label":"Ashmore and Cartier Islands","value":"Ashmore and Cartier Islands"},{"label":"Australia","value":"Australia"},{"label":"Austria","value":"Austria"},{"label":"Azerbaijan","value":"Azerbaijan"},{"label":"Bahamas","value":"Bahamas"},{"label":"Bahrain","value":"Bahrain"},{"label":"Baker Island","value":"Baker Island"},{"label":"Bangladesh","value":"Bangladesh"},{"label":"Barbados","value":"Barbados"},{"label":"Belarus","value":"Belarus"},{"label":"Belgium","value":"Belgium"},{"label":"Belize","value":"Belize"},{"label":"Benin","value":"Benin"},{"label":"Bermuda","value":"Bermuda"},{"label":"Bhutan","value":"Bhutan"},{"label":"Bolivia","value":"Bolivia"},{"label":"Bosnia-Herzegovina","value":"Bosnia-Herzegovina"},{"label":"Botswana","value":"Botswana"},{"label":"Bouvet Island","value":"Bouvet Island"},{"label":"Brazil","value":"Brazil"},{"label":"British Indian Ocean Territory","value":"British Indian Ocean Territory"},{"label":"British Virgin Islands","value":"British Virgin Islands"},{"label":"Brunei","value":"Brunei"},{"label":"Bulgaria","value":"Bulgaria"},{"label":"Burkina Faso","value":"Burkina Faso"},{"label":"Burma","value":"Burma"},{"label":"Burundi","value":"Burundi"},{"label":"Cambodia","value":"Cambodia"},{"label":"Cameroon","value":"Cameroon"},{"label":"Canada","value":"Canada"},{"label":"Cape Verde","value":"Cape Verde"},{"label":"Cayman Islands","value":"Cayman Islands"},{"label":"Central African Republic","value":"Central African Republic"},{"label":"Chad","value":"Chad"},{"label":"Chile","value":"Chile"},{"label":"China","value":"China"},{"label":"Christmas Island","value":"Christmas Island"},{"label":"Clipperton Island","value":"Clipperton Island"},{"label":"Cocos (Keeling) Islands","value":"Cocos (Keeling) Islands"},{"label":"Colombia","value":"Colombia"},{"label":"Comoros","value":"Comoros"},{"label":"Congo (Brazzaville)","value":"Congo (Brazzaville)"},{"label":"Congo (Kinshasa)","value":"Congo (Kinshasa)"},{"label":"Cook Islands","value":"Cook Islands"},{"label":"Coral Sea Islands","value":"Coral Sea Islands"},{"label":"Costa Rica","value":"Costa Rica"},{"label":"Cote D'Ivoire (Ivory Coast)","value":"Cote D'Ivoire (Ivory Coast)"},{"label":"Croatia","value":"Croatia"},{"label":"Cuba","value":"Cuba"},{"label":"Curacao","value":"Curacao"},{"label":"Cyprus","value":"Cyprus"},{"label":"Czech Republic","value":"Czech Republic"},{"label":"Denmark","value":"Denmark"},{"label":"Dhekelia","value":"Dhekelia"},{"label":"Djibouti","value":"Djibouti"},{"label":"Dominica","value":"Dominica"},{"label":"Dominican Republic","value":"Dominican Republic"},{"label":"East Timor","value":"East Timor"},{"label":"Ecuador","value":"Ecuador"},{"label":"Egypt","value":"Egypt"},{"label":"El Salvador","value":"El Salvador"},{"label":"Equatorial Guinea","value":"Equatorial Guinea"},{"label":"Eritrea","value":"Eritrea"},{"label":"Estonia","value":"Estonia"},{"label":"Ethiopia","value":"Ethiopia"},{"label":"Falkland Islands (Islas Malvinas)","value":"Falkland Islands (Islas Malvinas)"},{"label":"Faroe Islands","value":"Faroe Islands"},{"label":"Federated States of Micronesia","value":"Federated States of Micronesia"},{"label":"Fiji","value":"Fiji"},{"label":"Finland","value":"Finland"},{"label":"France","value":"France"},{"label":"French Polynesia","value":"French Polynesia"},{"label":"French Southern and Antarctic Lands","value":"French Southern and Antarctic Lands"},{"label":"Gabon","value":"Gabon"},{"label":"The Gambia","value":"The Gambia"},{"label":"Georgia","value":"Georgia"},{"label":"Germany","value":"Germany"},{"label":"Ghana","value":"Ghana"},{"label":"Gibraltar","value":"Gibraltar"},{"label":"Greece","value":"Greece"},{"label":"Greenland","value":"Greenland"},{"label":"Grenada","value":"Grenada"},{"label":"Guam","value":"Guam"},{"label":"Guatemala","value":"Guatemala"},{"label":"Guernsey","value":"Guernsey"},{"label":"Guinea","value":"Guinea"},{"label":"Guinea-Bissau","value":"Guinea-Bissau"},{"label":"Guyana","value":"Guyana"},{"label":"Haiti","value":"Haiti"},{"label":"Heard Island and McDonald Islands","value":"Heard Island and McDonald Islands"},{"label":"Holy See","value":"Holy See"},{"label":"Honduras","value":"Honduras"},{"label":"Hong Kong","value":"Hong Kong"},{"label":"Howland Island","value":"Howland Island"},{"label":"Hungary","value":"Hungary"},{"label":"Iceland","value":"Iceland"},{"label":"India","value":"India"},{"label":"Indonesia","value":"Indonesia"},{"label":"Iran","value":"Iran"},{"label":"Iraq","value":"Iraq"},{"label":"Ireland","value":"Ireland"},{"label":"Israel","value":"Israel"},{"label":"Italy","value":"Italy"},{"label":"Jamaica","value":"Jamaica"},{"label":"Jan Mayen","value":"Jan Mayen"},{"label":"Japan","value":"Japan"},{"label":"Jarvis Island","value":"Jarvis Island"},{"label":"Jersey","value":"Jersey"},{"label":"Johnston Atoll","value":"Johnston Atoll"},{"label":"Jordan","value":"Jordan"},{"label":"Kazakhstan","value":"Kazakhstan"},{"label":"Kenya","value":"Kenya"},{"label":"Kingman Reef","value":"Kingman Reef"},{"label":"Kiribati","value":"Kiribati"},{"label":"Korea, Democratic People's Republic of (North)","value":"Korea, Democratic People's Republic of (North)"},{"label":"Korea, Republic of (South)","value":"Korea, Republic of (South)"},{"label":"Kosovo","value":"Kosovo"},{"label":"Kuwait","value":"Kuwait"},{"label":"Kyrgyzstan","value":"Kyrgyzstan"},{"label":"Laos","value":"Laos"},{"label":"Latvia","value":"Latvia"},{"label":"Lebanon","value":"Lebanon"},{"label":"Lesotho","value":"Lesotho"},{"label":"Liberia","value":"Liberia"},{"label":"Libya","value":"Libya"},{"label":"Liechtenstein","value":"Liechtenstein"},{"label":"Lithuania","value":"Lithuania"},{"label":"Luxembourg","value":"Luxembourg"},{"label":"Macau","value":"Macau"},{"label":"Macedonia","value":"Macedonia"},{"label":"Madagascar","value":"Madagascar"},{"label":"Malawi","value":"Malawi"},{"label":"Malaysia","value":"Malaysia"},{"label":"Maldives","value":"Maldives"},{"label":"Mali","value":"Mali"},{"label":"Malta","value":"Malta"},{"label":"Man, Isle of","value":"Man, Isle of"},{"label":"Marshall Islands","value":"Marshall Islands"},{"label":"Mauritania","value":"Mauritania"},{"label":"Mauritius","value":"Mauritius"},{"label":"Mexico","value":"Mexico"},{"label":"Midway Islands","value":"Midway Islands"},{"label":"Moldova","value":"Moldova"},{"label":"Monaco","value":"Monaco"},{"label":"Mongolia","value":"Mongolia"},{"label":"Montenegro","value":"Montenegro"},{"label":"Montserrat","value":"Montserrat"},{"label":"Morocco","value":"Morocco"},{"label":"Mozambique","value":"Mozambique"},{"label":"Namibia","value":"Namibia"},{"label":"Nauru","value":"Nauru"},{"label":"Navassa Island","value":"Navassa Island"},{"label":"Nepal","value":"Nepal"},{"label":"Netherlands","value":"Netherlands"},{"label":"New Caledonia","value":"New Caledonia"},{"label":"New Zealand","value":"New Zealand"},{"label":"Nicaragua","value":"Nicaragua"},{"label":"Niger","value":"Niger"},{"label":"Nigeria","value":"Nigeria"},{"label":"Niue","value":"Niue"},{"label":"Norfolk Island","value":"Norfolk Island"},{"label":"Northern Mariana Islands","value":"Northern Mariana Islands"},{"label":"Norway","value":"Norway"},{"label":"Oman","value":"Oman"},{"label":"Other Country","value":"Other Country"},{"label":"Pakistan","value":"Pakistan"},{"label":"Palau","value":"Palau"},{"label":"Palmyra Atoll","value":"Palmyra Atoll"},{"label":"Panama","value":"Panama"},{"label":"Papua-New Guinea","value":"Papua-New Guinea"},{"label":"Paracel Islands","value":"Paracel Islands"},{"label":"Paraguay","value":"Paraguay"},{"label":"Peru","value":"Peru"},{"label":"Philippines","value":"Philippines"},{"label":"Pitcairn Islands","value":"Pitcairn Islands"},{"label":"Poland","value":"Poland"},{"label":"Portugal","value":"Portugal"},{"label":"Puerto Rico","value":"Puerto Rico"},{"label":"Qatar","value":"Qatar"},{"label":"Romania","value":"Romania"},{"label":"Russia","value":"Russia"},{"label":"Rwanda","value":"Rwanda"},{"label":"Saint Barthelemy","value":"Saint Barthelemy"},{"label":"Saint Martin","value":"Saint Martin"},{"label":"Samoa","value":"Samoa"},{"label":"San Marino","value":"San Marino"},{"label":"Sao Tome and Principe","value":"Sao Tome and Principe"},{"label":"Saudi Arabia","value":"Saudi Arabia"},{"label":"Senegal","value":"Senegal"},{"label":"Serbia","value":"Serbia"},{"label":"Seychelles","value":"Seychelles"},{"label":"Sierra Leone","value":"Sierra Leone"},{"label":"Singapore","value":"Singapore"},{"label":"Sint Maarten","value":"Sint Maarten"},{"label":"Slovakia","value":"Slovakia"},{"label":"Slovenia","value":"Slovenia"},{"label":"Solomon Islands","value":"Solomon Islands"},{"label":"Somalia","value":"Somalia"},{"label":"South Africa","value":"South Africa"},{"label":"South Georgia and the South Sandwich Islands","value":"South Georgia and the South Sandwich Islands"},{"label":"South Sudan","value":"South Sudan"},{"label":"Spain","value":"Spain"},{"label":"Spratly Islands","value":"Spratly Islands"},{"label":"Sri Lanka","value":"Sri Lanka"},{"label":"St. Helena","value":"St. Helena"},{"label":"St. Kitts and Nevis","value":"St. Kitts and Nevis"},{"label":"St. Lucia Island","value":"St. Lucia Island"},{"label":"St. Pierre and Miquelon","value":"St. Pierre and Miquelon"},{"label":"St. Vincent and the Grenadines","value":"St. Vincent and the Grenadines"},{"label":"Sudan","value":"Sudan"},{"label":"Suriname","value":"Suriname"},{"label":"Svalbard","value":"Svalbard"},{"label":"Swaziland","value":"Swaziland"},{"label":"Sweden","value":"Sweden"},{"label":"Switzerland","value":"Switzerland"},{"label":"Syria","value":"Syria"},{"label":"Taiwan","value":"Taiwan"},{"label":"Tajikistan","value":"Tajikistan"},{"label":"Tanzania","value":"Tanzania"},{"label":"Thailand","value":"Thailand"},{"label":"Togo","value":"Togo"},{"label":"Tokelau","value":"Tokelau"},{"label":"Tonga","value":"Tonga"},{"label":"Trinidad and Tobago","value":"Trinidad and Tobago"},{"label":"Tunisia","value":"Tunisia"},{"label":"Turkey","value":"Turkey"},{"label":"Turkmenistan","value":"Turkmenistan"},{"label":"Turks and Caicos Islands","value":"Turks and Caicos Islands"},{"label":"Tuvalu","value":"Tuvalu"},{"label":"Uganda","value":"Uganda"},{"label":"Ukraine","value":"Ukraine"},{"label":"United Arab Emirates","value":"United Arab Emirates"},{"label":"United Kingdom (England, Northern Ireland, Scotland, and Wales)","value":"United Kingdom (England, Northern Ireland, Scotland, and Wales)"},{"label":"Uruguay","value":"Uruguay"},{"label":"Uzbekistan","value":"Uzbekistan"},{"label":"Vanuatu","value":"Vanuatu"},{"label":"Venezuela","value":"Venezuela"},{"label":"Vietnam","value":"Vietnam"},{"label":"Virgin Islands","value":"Virgin Islands"},{"label":"Wake Island","value":"Wake Island"},{"label":"Wallis and Futuna","value":"Wallis and Futuna"},{"label":"Western Sahara","value":"Western Sahara"},{"label":"Yemen (Aden)","value":"Yemen (Aden)"},{"label":"Zambia","value":"Zambia"},{"label":"Zimbabwe","value":"Zimbabwe"},{"label":"United States","value":"United States"}],"state_codes":[{"label":"AL - Alabama","value":"AL"},{"label":"AK - Alaska","value":"AK"},{"label":"AS - American Samoa","value":"AS"},{"label":"AZ - Arizona","value":"AZ"},{"label":"AR - Arkansas","value":"AR"},{"label":"CA - California","value":"CA"},{"label":"CO - Colorado","value":"CO"},{"label":"MP - Commonwealth of the Northern Mariana Islands","value":"MP"},{"label":"CT - Connecticut","value":"CT"},{"label":"DE - Delaware","value":"DE"},{"label":"DC - District of Columbia","value":"DC"},{"label":"FM - Federated States of Micronesia","value":"FM"},{"label":"FL - Florida","value":"FL"},{"label":"GA - Georgia","value":"GA"},{"label":"GU - Guam","value":"GU"},{"label":"HI - Hawaii","value":"HI"},{"label":"ID - Idaho","value":"ID"},{"label":"IL - Illinois","value":"IL"},{"label":"IN - Indiana","value":"IN"},{"label":"IA - Iowa","value":"IA"},{"label":"KS - Kansas","value":"KS"},{"label":"KY - Kentucky","value":"KY"},{"label":"LA - Louisiana","value":"LA"},{"label":"ME - Maine","value":"ME"},{"label":"MH - Marshall Islands","value":"MH"},{"label":"MD - Maryland","value":"MD"},{"label":"MA - Massachusetts","value":"MA"},{"label":"MI - Michigan","value":"MI"},{"label":"MN - Minnesota","value":"MN"},{"label":"MS - Mississippi","value":"MS"},{"label":"MO - Missouri","value":"MO"},{"label":"MT - Montana","value":"MT"},{"label":"NE - Nebraska","value":"NE"},{"label":"NV - Nevada","value":"NV"},{"label":"NH - New Hampshire","value":"NH"},{"label":"NJ - New Jersey","value":"NJ"},{"label":"NM - New Mexico","value":"NM"},{"label":"NY - New York","value":"NY"},{"label":"NC - North Carolina","value":"NC"},{"label":"ND - North Dakota","value":"ND"},{"label":"OH - Ohio","value":"OH"},{"label":"OK - Oklahoma","value":"OK"},{"label":"OR - Oregon","value":"OR"},{"label":"PW - Palau","value":"PW"},{"label":"PA - Pennsylvania","value":"PA"},{"label":"PR - Puerto Rico","value":"PR"},{"label":"RI - Rhode Island","value":"RI"},{"label":"SC - South Carolina","value":"SC"},{"label":"SD - South Dakota","value":"SD"},{"label":"TN - Tennessee","value":"TN"},{"label":"TX - Texas","value":"TX"},{"label":"VI - U.S. Virgin Islands","value":"VI"},{"label":"UT - Utah","value":"UT"},{"label":"VT - Vermont","value":"VT"},{"label":"VA - Virginia","value":"VA"},{"label":"WA - Washington","value":"WA"},{"label":"WV - West Virginia","value":"WV"},{"label":"WI - Wisconsin","value":"WI"},{"label":"WY - Wyoming","value":"WY"},{"label":"AA - Armed Forces the Americas","value":"AA"},{"label":"AE - Armed Forces Europe","value":"AE"},{"label":"AP - Armed Forces Pacific","value":"AP"}]},"proposals":[{"accept_label":"Yes, use these dates","change_label":"No, let me change them","id":"where_you_lived.proposed_test","label":"You meet the 330-day test","lead":"From the addresses you gave, you spent at least 330 full days in foreign countries between {answer:3} and {answer:4}. If other dates suit you better, or you were settled abroad for a whole calendar year, you can change this.","members":[{"question_id":"where_you_lived.uses_physical_presence","value":true},{"question_id":"where_you_lived.uses_bona_fide_residence","value":false},{"question_id":"where_you_lived.physical_presence.test_period_start","value_from":"where_you_lived.address_window_start"},{"question_id":"where_you_lived.physical_presence.test_period_end","value_from":"where_you_lived.address_window_end"}],"when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"accept_label":"Yes, that is right","change_label":"No, let me change it","id":"where_you_lived.proposed_tax_home","label":"Your main place of work","lead":"From your address abroad, your main place of work was in {answer:2}, {answer:1}, from {answer:3}. If your work was based somewhere else or began on another day, you can change this.","members":[{"question_id":"where_you_lived.residency.tax_home.country","value_from":"where_you_lived.stints_one_country"},{"question_id":"where_you_lived.residency.tax_home.city","value_from":"where_you_lived.one_country_city"},{"question_id":"where_you_lived.residency.tax_home.established_on","value_from":"where_you_lived.one_country_start"}],"when":{"op":"derived","ref":"where_you_lived.stints_one_country"}},{"accept_label":"Yes, use these dates","change_label":"No, let me change them","id":"spouse_abroad.proposed_test","label":"Your spouse meets the 330-day test","lead":"From the addresses you gave, your spouse spent at least 330 full days in foreign countries between {answer:3} and {answer:4}. If other dates suit them better, or they were settled abroad for a whole calendar year, you can change this.","members":[{"question_id":"spouse_abroad.uses_physical_presence","value":true},{"question_id":"spouse_abroad.uses_bona_fide_residence","value":false},{"question_id":"spouse_abroad.spouse_physical_presence.test_period_start","value_from":"spouse_abroad.address_window_start"},{"question_id":"spouse_abroad.spouse_physical_presence.test_period_end","value_from":"spouse_abroad.address_window_end"}],"when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}}],"schema_version":"15","screened_exclusion_codes":["complex_ftc","complex_feie_election","statutory_employee","limited_itemized_deduction","claimed_as_dependent","qcd_split_interest","complex_state_refund","dependent_care_benefits","complex_self_employed_health_insurance","form_8283_section_b","special_amt_or_niit_election","military_abroad_extension","schedule_a_named_other_deduction"],"screens":[{"id":"fit.residence_status","label":"Your residence status","member_ids":["fit.status_changed_during_year","fit.has_nonresident_return"]},{"id":"about_you.wizard_spouse","label":"Filing with your spouse","member_ids":["about_you.filing_status_wizard.treat_spouse_as_resident","about_you.filing_status_wizard.dual_status_choice","about_you.filing_status_wizard.file_jointly"]},{"id":"about_you.name","label":"Your name and occupation","member_ids":["about_you.taxpayer.first_name","about_you.taxpayer.middle_initial","about_you.taxpayer.last_name","about_you.taxpayer.occupation"],"parts":[{"kind":"name","member_ids":["about_you.taxpayer.first_name","about_you.taxpayer.middle_initial","about_you.taxpayer.last_name"]}]},{"id":"about_you.number_and_birth","label":"Your number and birth date","member_ids":["about_you.taxpayer.ssn_or_itin","about_you.taxpayer.date_of_birth"]},{"id":"about_you.facts","label":"A few facts about you","member_ids":["about_you.taxpayer.claimable_as_dependent_of_another","about_you.taxpayer.us_citizen_or_national","about_you.taxpayer.is_blind"]},{"id":"about_you.contact","label":"How can the IRS reach you?","member_ids":["about_you.taxpayer.phone","about_you.taxpayer.mailing_address"]},{"id":"about_you.citizenship_and_last_return","label":"Your citizenship and last return","member_ids":["about_you.citizenship_country","about_you.filed_last_year"]},{"id":"about_you.more_irs_facts","label":"Two more questions every return answers","member_ids":["about_you.digital_assets_received_or_disposed","about_you.foreign_trust_activity"]},{"id":"household.spouse","label":"Your spouse's name","member_ids":["household.spouse.first_name","household.spouse.middle_initial","household.spouse.last_name"],"parts":[{"kind":"name","member_ids":["household.spouse.first_name","household.spouse.middle_initial","household.spouse.last_name"]}]},{"id":"household.spouse_number","label":"Your spouse's number and birth date","member_ids":["household.spouse.ssn_or_itin","household.spouse.date_of_birth"]},{"id":"household.spouse_work","label":"Your spouse's work and status","member_ids":["household.spouse.occupation","household.spouse.is_nonresident_alien"]},{"id":"household.spouse_return","label":"Your spouse's own return","member_ids":["household.spouse.had_no_gross_income","household.spouse.is_filing_return"]},{"id":"household.spouse_other_returns","label":"Your spouse and other returns","member_ids":["household.spouse.claimable_as_dependent_of_another","household.spouse_itemizes_on_separate_return"]},{"id":"household.dependent","label":"This dependent","member_ids":["household.dependents.first_name","household.dependents.last_name","household.dependents.ssn_or_itin_or_atin"],"parts":[{"kind":"name","member_ids":["household.dependents.first_name","household.dependents.last_name"]}]},{"id":"household.dependent_birth","label":"Their birth date and relationship","member_ids":["household.dependents.date_of_birth","household.dependents.relationship"]},{"id":"household.qualifying_person_age","label":"Their birth date and months with you","member_ids":["household.qualifying_person_not_dependent.date_of_birth","household.qualifying_person_not_dependent.months_lived_with_taxpayer"]},{"id":"household.qualifying_person","label":"The person you kept a home for","member_ids":["household.qualifying_person_not_dependent.first_name","household.qualifying_person_not_dependent.middle_initial","household.qualifying_person_not_dependent.last_name"],"parts":[{"kind":"name","member_ids":["household.qualifying_person_not_dependent.first_name","household.qualifying_person_not_dependent.middle_initial","household.qualifying_person_not_dependent.last_name"]}]},{"id":"household.qualifying_person_number","label":"Their number and relationship","member_ids":["household.qualifying_person_not_dependent.ssn_or_itin","household.qualifying_person_not_dependent.relationship"]},{"id":"household.taxpayer_itin_birth_name","label":"Your name at birth","member_ids":["household.taxpayer.itin_application.birth_name.first_name","household.taxpayer.itin_application.birth_name.last_name","household.taxpayer.itin_application.birth_name.middle_name"],"parts":[{"kind":"name","member_ids":["household.taxpayer.itin_application.birth_name.first_name","household.taxpayer.itin_application.birth_name.last_name"]}]},{"id":"household.taxpayer_itin_birthplace","label":"Your place of birth","member_ids":["household.taxpayer.itin_application.birth_country","household.taxpayer.itin_application.birth_city"],"parts":[{"kind":"place","member_ids":["household.taxpayer.itin_application.birth_country","household.taxpayer.itin_application.birth_city"]}]},{"id":"household.taxpayer_itin_visa","label":"Your United States visa","member_ids":["household.taxpayer.itin_application.us_visa.classification","household.taxpayer.itin_application.us_visa.number"]},{"id":"household.taxpayer_itin_first_document","label":"Your first identity document","member_ids":["household.taxpayer.itin_application.first_document.kind","household.taxpayer.itin_application.first_document.issued_by"]},{"id":"household.taxpayer_itin_first_document_details","label":"Your first document number and expiry","member_ids":["household.taxpayer.itin_application.first_document.number","household.taxpayer.itin_application.first_document.expires_on"]},{"id":"household.taxpayer_itin_second_document","label":"Your second identity document","member_ids":["household.taxpayer.itin_application.second_document.kind","household.taxpayer.itin_application.second_document.issued_by"]},{"id":"household.taxpayer_itin_second_document_details","label":"Your second document number and expiry","member_ids":["household.taxpayer.itin_application.second_document.number","household.taxpayer.itin_application.second_document.expires_on"]},{"id":"household.spouse_itin_birth_name","label":"Your spouse's name at birth","member_ids":["household.spouse.itin_application.birth_name.first_name","household.spouse.itin_application.birth_name.last_name","household.spouse.itin_application.birth_name.middle_name"],"parts":[{"kind":"name","member_ids":["household.spouse.itin_application.birth_name.first_name","household.spouse.itin_application.birth_name.last_name"]}]},{"id":"household.spouse_itin_birthplace","label":"Your spouse's place of birth","member_ids":["household.spouse.itin_application.birth_country","household.spouse.itin_application.birth_city"],"parts":[{"kind":"place","member_ids":["household.spouse.itin_application.birth_country","household.spouse.itin_application.birth_city"]}]},{"id":"household.spouse_itin_visa","label":"Your spouse's United States visa","member_ids":["household.spouse.itin_application.us_visa.classification","household.spouse.itin_application.us_visa.number"]},{"id":"household.spouse_itin_first_document","label":"Your spouse's first identity document","member_ids":["household.spouse.itin_application.first_document.kind","household.spouse.itin_application.first_document.issued_by"]},{"id":"household.spouse_itin_first_document_details","label":"Your spouse's first document number and expiry","member_ids":["household.spouse.itin_application.first_document.number","household.spouse.itin_application.first_document.expires_on"]},{"id":"household.spouse_itin_second_document","label":"Your spouse's second identity document","member_ids":["household.spouse.itin_application.second_document.kind","household.spouse.itin_application.second_document.issued_by"]},{"id":"household.spouse_itin_second_document_details","label":"Your spouse's second document number and expiry","member_ids":["household.spouse.itin_application.second_document.number","household.spouse.itin_application.second_document.expires_on"]},{"id":"household.dependent_itin_birth_name","label":"Your dependent's name at birth","member_ids":["household.dependents.itin_application.birth_name.first_name","household.dependents.itin_application.birth_name.last_name","household.dependents.itin_application.birth_name.middle_name"],"parts":[{"kind":"name","member_ids":["household.dependents.itin_application.birth_name.first_name","household.dependents.itin_application.birth_name.last_name"]}]},{"id":"household.dependent_itin_birthplace","label":"Your dependent's place of birth","member_ids":["household.dependents.itin_application.birth_country","household.dependents.itin_application.birth_city"],"parts":[{"kind":"place","member_ids":["household.dependents.itin_application.birth_country","household.dependents.itin_application.birth_city"]}]},{"id":"household.dependent_itin_visa","label":"Your dependent's United States visa","member_ids":["household.dependents.itin_application.us_visa.classification","household.dependents.itin_application.us_visa.number"]},{"id":"household.dependent_itin_first_document","label":"Your dependent's first identity document","member_ids":["household.dependents.itin_application.first_document.kind","household.dependents.itin_application.first_document.issued_by"]},{"id":"household.dependent_itin_first_document_details","label":"Your dependent's first document number and expiry","member_ids":["household.dependents.itin_application.first_document.number","household.dependents.itin_application.first_document.expires_on"]},{"id":"household.dependent_itin_second_document","label":"Your dependent's second identity document","member_ids":["household.dependents.itin_application.second_document.kind","household.dependents.itin_application.second_document.issued_by"]},{"id":"household.dependent_itin_second_document_details","label":"Your dependent's second document number and expiry","member_ids":["household.dependents.itin_application.second_document.number","household.dependents.itin_application.second_document.expires_on"]},{"help":"From the business's own books, in dollars. We add up the totals.","id":"income_sources.self_employment.branch_balance_start","label":"This business's balance sheet on January 1","member_ids":["income_sources.self_employment.foreign_branch.cash_and_current_assets_begin","income_sources.self_employment.foreign_branch.other_assets_begin","income_sources.self_employment.foreign_branch.liabilities_begin"]},{"help":"From the business's own books, in dollars.","id":"income_sources.self_employment.branch_balance_end","label":"This business's balance sheet on December 31","member_ids":["income_sources.self_employment.foreign_branch.cash_and_current_assets_end","income_sources.self_employment.foreign_branch.other_assets_end","income_sources.self_employment.foreign_branch.liabilities_end"]},{"id":"income_sources.capital_loss_carryover","label":"Last year's capital loss","member_ids":["income_sources.capital_loss_carryover.prior_year_agi","income_sources.capital_loss_carryover.prior_year_deductions"]},{"id":"income_sources.capital_loss_carryover_lines","label":"Last year's Schedule D","member_ids":["income_sources.capital_loss_carryover.schedule_d_line_7","income_sources.capital_loss_carryover.schedule_d_line_15"]},{"id":"income_sources.capital_loss_carryover_deducted","label":"Last year's deducted loss","member_ids":["income_sources.capital_loss_carryover.schedule_d_line_21","income_sources.capital_loss_carryover.prior_year_separate_now_joint","income_sources.capital_loss_carryover.prior_year_joint_now_separate"]},{"id":"income_sources.social_security","label":"Your Form SSA-1099","member_ids":["income_sources.social_security.is_railroad_retirement","income_sources.social_security.gross_benefits"]},{"id":"income_sources.social_security_taken_off","label":"What was taken off your benefits","member_ids":["income_sources.social_security.federal_income_tax_withheld","income_sources.social_security.medicare_premiums_deducted"]},{"id":"income_sources.social_security_about","label":"About your benefits","member_ids":["income_sources.social_security.received_form_rrb_1099_r","income_sources.social_security.lump_sum_for_earlier_year"]},{"id":"income_sources.state_refund","label":"Your state or local tax refund","member_ids":["income_sources.prior_year_state_refund.refund_amount","income_sources.prior_year_state_refund.refund_for_tax_year","income_sources.prior_year_state_refund.itemized_in_refund_year"]},{"id":"income_sources.state_refund_year","label":"The year the refund was for","member_ids":["income_sources.prior_year_state_refund.prior_year_state_local_income_tax_deducted","income_sources.prior_year_state_refund.prior_year_itemized_total","income_sources.prior_year_state_refund.prior_year_standard_deduction"]},{"id":"income_sources.state_refund_limits","label":"That year's limits","member_ids":["income_sources.prior_year_state_refund.prior_year_salt_capped_out_amount","income_sources.prior_year_state_refund.prior_year_zero_tax_from_capital_gain_rate","income_sources.prior_year_state_refund.other_pub_525_exception"]},{"id":"income_sources.wages.job","label":"This job","member_ids":["income_sources.wages.owner","income_sources.wages.is_foreign_employer"]},{"id":"income_sources.wages.employer","label":"Your employer","member_ids":["income_sources.wages.employer_name","income_sources.wages.employer_address"]},{"id":"income_sources.wages.pay","label":"Your pay","member_ids":["income_sources.wages.earned_in_country","income_sources.wages.gross_wages"]},{"id":"income_sources.wages.employer_abroad","label":"About this work","member_ids":["income_sources.wages.employer_foreign_tax_id","income_sources.wages.work_performed_while_residing_in_us"]},{"id":"income_sources.wages.w2_number_and_withholding","label":"Form W-2 boxes b and 2","member_ids":["income_sources.wages.employer_ein","income_sources.wages.federal_income_tax_withheld"]},{"id":"income_sources.wages.social_security_and_medicare","label":"Form W-2 boxes 3 and 4","member_ids":["income_sources.wages.social_security_wages","income_sources.wages.social_security_tax_withheld"]},{"id":"income_sources.wages.medicare","label":"Form W-2 boxes 5 and 6","member_ids":["income_sources.wages.medicare_wages","income_sources.wages.medicare_tax_withheld"]},{"id":"income_sources.wages.box_12_entry","label":"This box 12 entry","member_ids":["income_sources.wages.box_12.code","income_sources.wages.box_12.amount"]},{"id":"income_sources.wages.box_14_entry","label":"This box 14 entry","member_ids":["income_sources.wages.box_14.label","income_sources.wages.box_14.amount"]},{"id":"income_sources.wages.state_line","label":"This state line","member_ids":["income_sources.wages.state_tax_records.state","income_sources.wages.state_tax_records.employer_state_id","income_sources.wages.state_tax_records.state_wages","income_sources.wages.state_tax_records.state_income_tax"]},{"id":"income_sources.self_employment.business","label":"This business","member_ids":["income_sources.self_employment.foreign_sourced","income_sources.self_employment.business_name","income_sources.self_employment.principal_business_code"]},{"id":"income_sources.self_employment.income","label":"This business's income","member_ids":["income_sources.self_employment.gross_receipts","income_sources.self_employment.returns_and_allowances"]},{"id":"income_sources.self_employment.other_income_and_withholding","label":"Other income and tax withheld","member_ids":["income_sources.self_employment.other_income","income_sources.self_employment.federal_income_tax_withheld"]},{"id":"income_sources.self_employment.inventory","label":"How you count your stock","member_ids":["income_sources.self_employment.inventory.valuation_changed","income_sources.self_employment.inventory.beginning_matches_last_year"]},{"id":"income_sources.self_employment.stock","label":"Your stock","member_ids":["income_sources.self_employment.inventory.beginning","income_sources.self_employment.inventory.purchases"]},{"id":"income_sources.self_employment.production_costs","label":"Your production costs","member_ids":["income_sources.self_employment.inventory.labor","income_sources.self_employment.inventory.materials","income_sources.self_employment.inventory.other_costs"]},{"id":"income_sources.self_employment.vehicle","label":"This vehicle","member_ids":["income_sources.self_employment.vehicles.placed_in_service","income_sources.self_employment.vehicles.standard_mileage_rate"]},{"id":"income_sources.self_employment.miles","label":"Your business miles","member_ids":["income_sources.self_employment.vehicles.business_miles","income_sources.self_employment.vehicles.business_miles_january_to_june","income_sources.self_employment.vehicles.business_miles_july_to_december"]},{"id":"income_sources.self_employment.other_miles","label":"Your other miles","member_ids":["income_sources.self_employment.vehicles.commuting_miles","income_sources.self_employment.vehicles.other_miles"]},{"id":"income_sources.self_employment.vehicle_use","label":"Personal use and records","member_ids":["income_sources.self_employment.vehicles.available_off_duty","income_sources.self_employment.vehicles.another_vehicle_available","income_sources.self_employment.vehicles.has_evidence"]},{"id":"income_sources.businesses.about","label":"About this business","member_ids":["income_sources.businesses.separate_business_name","income_sources.businesses.principal_product_or_service"]},{"id":"income_sources.businesses.when_and_where","label":"When and where you run it","member_ids":["income_sources.businesses.started_on","income_sources.businesses.conducted_from_home_address"]},{"id":"income_sources.businesses.address","label":"Address and number","member_ids":["income_sources.businesses.business_address","income_sources.businesses.ein"]},{"id":"income_sources.businesses.participation","label":"Your part in the business","member_ids":["income_sources.businesses.materially_participated","income_sources.businesses.all_investment_at_risk"]},{"id":"income_sources.businesses.home_office","label":"Your home office","member_ids":["income_sources.businesses.home_office.simplified_method_elected","income_sources.businesses.home_office.total_home_area_sqft","income_sources.businesses.home_office.business_area_sqft"]},{"id":"income_sources.businesses.daycare_hours","label":"Your daycare hours","member_ids":["income_sources.businesses.home_office.total_hours_available","income_sources.businesses.home_office.total_hours_business_used"]},{"id":"income_sources.businesses.home_use_dates","label":"When the business use began and ended","member_ids":["income_sources.businesses.home_office.business_use_began_on","income_sources.businesses.home_office.business_use_ended_on"]},{"id":"income_sources.businesses.home_carryovers","label":"Last year's carryovers","member_ids":["income_sources.businesses.home_office.carryover_operating_expenses","income_sources.businesses.home_office.carryover_excess_casualty_depreciation"]},{"id":"income_sources.businesses.home_cost","label":"Your home's cost","member_ids":["income_sources.businesses.home_office.home_asset.description","income_sources.businesses.home_office.home_asset.placed_in_service_on","income_sources.businesses.home_office.home_asset.cost_or_other_basis"]},{"id":"income_sources.businesses.home_value","label":"Land and market value","member_ids":["income_sources.businesses.home_office.home_asset.land_value","income_sources.businesses.home_office.home_asset.fair_market_value_at_conversion"]},{"id":"income_sources.businesses.asset","label":"This asset","member_ids":["income_sources.businesses.depreciable_assets.description","income_sources.businesses.depreciable_assets.asset_class"]},{"id":"income_sources.businesses.asset_cost","label":"Start date and cost","member_ids":["income_sources.businesses.depreciable_assets.placed_in_service_on","income_sources.businesses.depreciable_assets.cost_or_other_basis"]},{"id":"income_sources.businesses.asset_sale","label":"Selling this asset","member_ids":["income_sources.businesses.depreciable_assets.disposal_proceeds","income_sources.businesses.depreciable_assets.disposal_expenses","income_sources.businesses.depreciable_assets.disposal_land_proceeds","income_sources.businesses.depreciable_assets.form_1099s_gross_proceeds"]},{"id":"income_sources.businesses.asset_sale_terms","label":"How the sale is taxed","member_ids":["income_sources.businesses.depreciable_assets.disposal_to_related_party","income_sources.businesses.depreciable_assets.disposal_fully_taxable"]},{"id":"income_sources.businesses.asset_sale_kind","label":"What went, and how you got it","member_ids":["income_sources.businesses.depreciable_assets.disposed_part_only","income_sources.businesses.depreciable_assets.acquired_by"]},{"id":"income_sources.businesses.asset_method","label":"How you depreciate it","member_ids":["income_sources.businesses.depreciable_assets.method","income_sources.businesses.depreciable_assets.recovery_period_years","income_sources.businesses.depreciable_assets.bonus_depreciation_elected"]},{"id":"income_sources.investment_income.payment","label":"This interest or dividend","member_ids":["income_sources.investment_income.payer","income_sources.investment_income.kind"]},{"id":"income_sources.investment_income.where_and_how_much","label":"Where it came from and how much","member_ids":["income_sources.investment_income.foreign_source","income_sources.investment_income.amount"]},{"id":"income_sources.investment_income.country_and_tax","label":"Its country and tax","member_ids":["income_sources.investment_income.source_country","income_sources.investment_income.tax_exempt","income_sources.investment_income.any_tax_taken_off"]},{"id":"income_sources.investment_income.foreign_tax","label":"The foreign tax on this payment","member_ids":["income_sources.investment_income.foreign_tax_on_form_1099","income_sources.investment_income.foreign_tax_also_on_foreign_tax_page"]},{"id":"income_sources.investment_income.boxes","label":"Other amounts on the form","member_ids":["income_sources.investment_income.federal_income_tax_withheld","income_sources.investment_income.section_199a_dividends","income_sources.investment_income.unrecaptured_section_1250_gain"]},{"id":"income_sources.investment_income.gain_boxes","label":"The gains on the form","member_ids":["income_sources.investment_income.section_1202_gain","income_sources.investment_income.collectibles_gain"]},{"id":"income_sources.investment_income.foreign_dividend","label":"About this dividend from abroad","member_ids":["income_sources.investment_income.foreign_fund","income_sources.investment_income.us_broker_reported_box_1b"]},{"id":"income_sources.investment_income.dividend_tests","label":"Where the payer is based","member_ids":["income_sources.investment_income.qualified_foreign_company","income_sources.investment_income.return_of_capital_statement"]},{"id":"income_sources.passive_income.payment","label":"This income","member_ids":["income_sources.passive_income.kind","income_sources.passive_income.payer","income_sources.passive_income.amount","income_sources.passive_income.source"]},{"id":"income_sources.passive_income.more","label":"Country and the tax withheld","member_ids":["income_sources.passive_income.source_country","income_sources.passive_income.federal_income_tax_withheld"]},{"id":"income_sources.capital_transactions.home_tests","label":"The ownership and use tests","member_ids":["income_sources.capital_transactions.home_sale.owned_two_of_five_years","income_sources.capital_transactions.home_sale.lived_two_of_five_years"]},{"id":"income_sources.capital_transactions.spouse_home_tests","label":"Your spouse's ownership and use tests","member_ids":["income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"]},{"id":"income_sources.capital_transactions.home_days","label":"The days you counted","member_ids":["income_sources.capital_transactions.home_sale.days_lived_in_five_years","income_sources.capital_transactions.home_sale.days_since_last_exclusion"]},{"id":"income_sources.capital_transactions.spouse_home_days","label":"The days your spouse counted","member_ids":["income_sources.capital_transactions.home_sale.spouse_days_lived_in_five_years","income_sources.capital_transactions.home_sale.spouse_days_owned","income_sources.capital_transactions.home_sale.spouse_days_since_last_exclusion"]},{"id":"income_sources.capital_transactions.business_part","label":"The business part of your home","member_ids":["income_sources.capital_transactions.home_sale.business_part_percent","income_sources.capital_transactions.home_sale.business_part_adjusted_basis","income_sources.capital_transactions.home_sale.business_part_land_price","income_sources.capital_transactions.home_sale.business_part_land_basis"]},{"id":"income_sources.capital_transactions.sale","label":"When you bought and sold it","member_ids":["income_sources.capital_transactions.acquired_on","income_sources.capital_transactions.sold_on"]},{"id":"income_sources.capital_transactions.amounts","label":"What you got and paid","member_ids":["income_sources.capital_transactions.proceeds","income_sources.capital_transactions.cost_basis"]},{"id":"income_sources.capital_transactions.gift","label":"The gift you received","member_ids":["income_sources.capital_transactions.gift.donor_adjusted_basis","income_sources.capital_transactions.gift.fair_market_value","income_sources.capital_transactions.gift.donor_acquired_on"]},{"id":"income_sources.capital_transactions.adjustments","label":"Other figures on the form","member_ids":["income_sources.capital_transactions.wash_sale_disallowed","income_sources.capital_transactions.federal_income_tax_withheld","income_sources.capital_transactions.adjustment_amount"]},{"id":"income_sources.retirement_distributions.form","label":"This Form 1099-R","member_ids":["income_sources.retirement_distributions.owner","income_sources.retirement_distributions.payer","income_sources.retirement_distributions.payer_ein","income_sources.retirement_distributions.gross_distribution"]},{"id":"income_sources.retirement_distributions.taxable","label":"The taxable amount and tax withheld","member_ids":["income_sources.retirement_distributions.taxable_amount","income_sources.retirement_distributions.federal_income_tax_withheld"]},{"id":"income_sources.retirement_distributions.less_common","label":"Boxes 3 to 6 of the form","member_ids":["income_sources.retirement_distributions.capital_gain_amount","income_sources.retirement_distributions.employee_contributions_basis","income_sources.retirement_distributions.net_unrealized_appreciation"]},{"id":"income_sources.retirement_distributions.box_8_and_9","label":"Boxes 8 and 9a of the form","member_ids":["income_sources.retirement_distributions.other_amount","income_sources.retirement_distributions.other_percent","income_sources.retirement_distributions.total_distribution_percent"]},{"id":"income_sources.retirement_distributions.less_common_more","label":"Boxes 9b, 10 and 14","member_ids":["income_sources.retirement_distributions.total_employee_contributions","income_sources.retirement_distributions.irr_allocable_amount","income_sources.retirement_distributions.state_income_tax_withheld"]},{"id":"income_sources.retirement_distributions.annuity","label":"Your annuity","member_ids":["income_sources.retirement_distributions.simplified_method.annuity_starting_date","income_sources.retirement_distributions.simplified_method.qualified_plan","income_sources.retirement_distributions.simplified_method.annuity_kind","income_sources.retirement_distributions.simplified_method.age_at_annuity_start"]},{"id":"income_sources.pensions_and_annuities.pension","label":"This pension","member_ids":["income_sources.pensions_and_annuities.owner","income_sources.pensions_and_annuities.payer","income_sources.pensions_and_annuities.source"]},{"id":"income_sources.pensions_and_annuities.pension_tax","label":"Amount and tax","member_ids":["income_sources.pensions_and_annuities.gross_amount","income_sources.pensions_and_annuities.taxable_amount","income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"]},{"id":"income_sources.pensions_and_annuities.pension_country","label":"Country and US tax","member_ids":["income_sources.pensions_and_annuities.source_country","income_sources.pensions_and_annuities.federal_income_tax_withheld","income_sources.pensions_and_annuities.paid_for_work"]},{"id":"income_sources.foreign_social_security.payment","label":"This social security abroad","member_ids":["income_sources.foreign_social_security.owner","income_sources.foreign_social_security.country","income_sources.foreign_social_security.payer"]},{"id":"income_sources.foreign_social_security.payment_amount","label":"The amount you received","member_ids":["income_sources.foreign_social_security.amount","income_sources.foreign_social_security.received_while_residing_in_us"]},{"id":"income_sources.rentals.property","label":"This property","member_ids":["income_sources.rentals.property_description","income_sources.rentals.location_country","income_sources.rentals.property_type"]},{"id":"income_sources.rentals.use","label":"Days rented and used","member_ids":["income_sources.rentals.fair_rental_days","income_sources.rentals.personal_use_days"]},{"id":"income_sources.rentals.rent","label":"Rent received and tax withheld","member_ids":["income_sources.rentals.rents_received","income_sources.rentals.federal_income_tax_withheld"]},{"id":"income_sources.rentals.asset","label":"This asset","member_ids":["income_sources.rentals.assets.description","income_sources.rentals.assets.asset_class"]},{"id":"income_sources.rentals.asset_cost","label":"Start date and cost","member_ids":["income_sources.rentals.assets.placed_in_service_on","income_sources.rentals.assets.cost_or_other_basis"]},{"id":"income_sources.rentals.asset_sale","label":"Selling this asset","member_ids":["income_sources.rentals.assets.disposal_proceeds","income_sources.rentals.assets.disposal_expenses"]},{"id":"income_sources.rentals.asset_sale_land","label":"The land and Form 1099-S","member_ids":["income_sources.rentals.assets.disposal_land_proceeds","income_sources.rentals.assets.form_1099s_gross_proceeds"]},{"id":"income_sources.rentals.asset_sale_terms","label":"How the sale is taxed","member_ids":["income_sources.rentals.assets.disposal_to_related_party","income_sources.rentals.assets.disposal_fully_taxable"]},{"id":"income_sources.rentals.asset_sale_kind","label":"What went, and how you got it","member_ids":["income_sources.rentals.assets.disposed_part_only","income_sources.rentals.assets.acquired_by"]},{"id":"income_sources.rentals.expense","label":"This expense","member_ids":["income_sources.rentals.expenses.key","income_sources.rentals.expenses.value","income_sources.rentals.expenses.schedule_e_line"]},{"id":"income_sources.royalty","label":"This royalty","member_ids":["income_sources.royalties.payer","income_sources.royalties.from_own_trade_or_business","income_sources.royalties.source"]},{"id":"income_sources.royalty_amount","label":"Country and amount","member_ids":["income_sources.royalties.source_country","income_sources.royalties.royalties_received","income_sources.royalties.federal_income_tax_withheld"]},{"id":"income_sources.royalty_expense","label":"This expense","member_ids":["income_sources.royalties.expenses.key","income_sources.royalties.expenses.value","income_sources.royalties.expenses.schedule_e_line"]},{"id":"income_sources.unemployment_pay","label":"This unemployment pay","member_ids":["income_sources.unemployment.payer","income_sources.unemployment.government_plan","income_sources.unemployment.source"]},{"id":"income_sources.unemployment_amounts","label":"The amounts on the form","member_ids":["income_sources.unemployment.source_country","income_sources.unemployment.amount"]},{"id":"income_sources.unemployment_tax","label":"Tax and contributions","member_ids":["income_sources.unemployment.federal_income_tax_withheld","income_sources.unemployment.contributed_to_government_program"]},{"id":"income_sources.other_income_amount","label":"Country and amount","member_ids":["income_sources.other_income.source_country","income_sources.other_income.amount"]},{"id":"income_sources.foreign_gift_giver","label":"Who gave you this gift","member_ids":["income_sources.foreign_gift_facts.gifts.owner","income_sources.foreign_gift_facts.gifts.giver_kind","income_sources.foreign_gift_facts.gifts.giver_name"]},{"id":"income_sources.foreign_gift_received","label":"What you received","member_ids":["income_sources.foreign_gift_facts.gifts.received_on","income_sources.foreign_gift_facts.gifts.description","income_sources.foreign_gift_facts.gifts.value"]},{"id":"income_sources.foreign_gift_real_giver","label":"The giver your gift came from","member_ids":["income_sources.foreign_gift_facts.gifts.real_giver_name","income_sources.foreign_gift_facts.gifts.real_giver_address","income_sources.foreign_gift_facts.gifts.real_giver_tin"]},{"id":"income_sources.foreign_gift_giver_address","label":"Your giver's address","member_ids":["income_sources.foreign_gift_facts.gifts.giver_address","income_sources.foreign_gift_facts.gifts.giver_tin"]},{"id":"income_sources.pfic_holdings.fund","label":"This fund","member_ids":["income_sources.pfic_holdings.name","income_sources.pfic_holdings.reference_id","income_sources.pfic_holdings.share_class"]},{"id":"income_sources.pfic_holdings.year_end","label":"Your shares on 31 December","member_ids":["income_sources.pfic_holdings.shares_at_year_end","income_sources.pfic_holdings.value_at_year_end"]},{"id":"income_sources.pfic_holdings.qef_statement","label":"The fund's annual statement","member_ids":["income_sources.pfic_holdings.fund_year_end","income_sources.pfic_holdings.qef_ordinary_earnings","income_sources.pfic_holdings.qef_net_capital_gain"]},{"id":"income_sources.pfic_holdings.blocks.purchase","label":"This purchase","member_ids":["income_sources.pfic_holdings.blocks.acquired_on","income_sources.pfic_holdings.blocks.shares","income_sources.pfic_holdings.blocks.cost"]},{"id":"income_sources.pfic_holdings.blocks.sale","label":"The sale","member_ids":["income_sources.pfic_holdings.blocks.sold_on","income_sources.pfic_holdings.blocks.proceeds"]},{"id":"income_sources.pfic_holdings.blocks.earlier_payments","label":"Earlier payments on these shares","member_ids":["income_sources.pfic_holdings.blocks.prior_distributions","income_sources.pfic_holdings.blocks.prior_excess_not_included"]},{"id":"income_sources.pfic_holdings.distributions.payment","label":"This payment","member_ids":["income_sources.pfic_holdings.distributions.paid_on","income_sources.pfic_holdings.distributions.amount","income_sources.pfic_holdings.distributions.amount_usd","income_sources.pfic_holdings.distributions.foreign_tax"]},{"id":"income_sources.pfic_holdings.gain_tax","label":"The tax abroad on your gain","member_ids":["income_sources.pfic_holdings.gain_taxed_by_country","income_sources.pfic_holdings.gain_foreign_tax_at_least_10_percent"]},{"id":"income_sources.k1_entity","label":"Who sent your K-1","member_ids":["income_sources.schedule_k1s.entity_name","income_sources.schedule_k1s.ein"]},{"id":"income_sources.k1_other_item","label":"The box and its code","member_ids":["income_sources.schedule_k1s.other_items.box","income_sources.schedule_k1s.other_items.code"]},{"id":"income_sources.k1_boxes_1_2","label":"Business and rental real estate","member_ids":["income_sources.schedule_k1s.ordinary_business_income","income_sources.schedule_k1s.net_rental_real_estate_income"]},{"id":"income_sources.k1_boxes_3_royalties","label":"Other rentals and royalties","member_ids":["income_sources.schedule_k1s.other_net_rental_income","income_sources.schedule_k1s.royalties"]},{"id":"income_sources.k1_guaranteed_payments","label":"Guaranteed payments","member_ids":["income_sources.schedule_k1s.guaranteed_payments_services","income_sources.schedule_k1s.guaranteed_payments_capital"]},{"id":"income_sources.k1_interest_dividends","label":"Interest and dividends","member_ids":["income_sources.schedule_k1s.interest_income","income_sources.schedule_k1s.ordinary_dividends"]},{"id":"income_sources.k1_capital_gains","label":"Capital gains and losses","member_ids":["income_sources.schedule_k1s.net_short_term_capital_gain","income_sources.schedule_k1s.net_long_term_capital_gain"]},{"id":"income_sources.k1_capital_gain_parts","label":"Parts of the long-term amount","member_ids":["income_sources.schedule_k1s.collectibles_gain","income_sources.schedule_k1s.unrecaptured_section_1250_gain"]},{"id":"income_sources.k1_tax_exempt","label":"Income free of tax","member_ids":["income_sources.schedule_k1s.tax_exempt_interest","income_sources.schedule_k1s.other_tax_exempt_income"]},{"id":"income_sources.k1_basis_items","label":"Costs and payouts","member_ids":["income_sources.schedule_k1s.nondeductible_expenses","income_sources.schedule_k1s.distributions"]},{"id":"income_sources.k1_section_199a","label":"Section 199A statement","member_ids":["income_sources.schedule_k1s.qualified_business_income","income_sources.schedule_k1s.section_199a_dividends"]},{"id":"income_sources.k1_prior_passive_loss","label":"The loss carried in","member_ids":["income_sources.schedule_k1s.prior_year_passive_loss","income_sources.schedule_k1s.prior_year_passive_loss_box"]},{"id":"income_sources.k1_basis","label":"Your basis","member_ids":["income_sources.schedule_k1s.basis_at_start","income_sources.schedule_k1s.contributions"]},{"id":"income_sources.k1_liabilities","label":"Your share of its debts","member_ids":["income_sources.schedule_k1s.liabilities_at_start","income_sources.schedule_k1s.liabilities_at_end"]},{"id":"income_sources.k1_recharacterized","label":"Income treated as not passive","member_ids":["income_sources.schedule_k1s.recharacterized_kind","income_sources.schedule_k1s.recharacterized_amount"]},{"id":"foreign_tax.carryover_papers","label":"Your earlier returns","member_ids":["foreign_tax.ftc_last_schedule_b","foreign_tax.ftc_deducted_in_later_year"]},{"id":"foreign_tax.carryover_filing","label":"How those years were filed","member_ids":["foreign_tax.ftc_carryover_joint_history","foreign_tax.has_ftc_carryback_change"]},{"id":"foreign_tax.carryback_schedule","label":"This Schedule B","member_ids":["foreign_tax.ftc_carryback_adjustments.basket","foreign_tax.ftc_carryback_adjustments.amt"]},{"id":"foreign_tax.carryback_amounts","label":"The amounts carried back","member_ids":["foreign_tax.ftc_carryback_adjustments.estimated","foreign_tax.ftc_carryback_adjustments.actual"]},{"id":"foreign_tax.carryover_year","label":"This earlier year","member_ids":["foreign_tax.ftc_carryover_rows.year","foreign_tax.ftc_carryover_rows.basket"]},{"id":"foreign_tax.carryover_amounts","label":"The amounts for this year","member_ids":["foreign_tax.ftc_carryover_rows.amt","foreign_tax.ftc_carryover_rows.remaining","foreign_tax.ftc_carryover_rows.foreign_taxes_paid"]},{"id":"foreign_tax.carryover_credit","label":"The credit for this year","member_ids":["foreign_tax.ftc_carryover_rows.foreign_taxes_disallowed","foreign_tax.ftc_carryover_rows.credit_claimed"]},{"id":"foreign_tax.loss_balance","label":"This balance","member_ids":["foreign_tax.earlier_loss_balances.kind","foreign_tax.earlier_loss_balances.category"]},{"id":"foreign_tax.tax","label":"This foreign tax","member_ids":["foreign_tax.foreign_taxes.country","foreign_tax.foreign_taxes.basket","foreign_tax.foreign_taxes.paid_or_accrued"]},{"id":"foreign_tax.kind_and_year","label":"This tax","member_ids":["foreign_tax.foreign_taxes.tax_kind","foreign_tax.foreign_taxes.tax_year_paid"]},{"id":"foreign_tax.whose","label":"Whose income it was on","member_ids":["foreign_tax.foreign_taxes.owner","foreign_tax.foreign_taxes.joint_assessment"]},{"id":"foreign_tax.which_income","label":"Which income it was on","member_ids":["foreign_tax.foreign_taxes.joint_assessment_share","foreign_tax.foreign_taxes.income_scope"]},{"id":"foreign_tax.amount","label":"How much you paid","member_ids":["foreign_tax.foreign_taxes.foreign_currency","foreign_tax.foreign_taxes.foreign_amount"],"parts":[{"kind":"figure","member_ids":["foreign_tax.foreign_taxes.foreign_currency","foreign_tax.foreign_taxes.foreign_amount"]}]},{"id":"foreign_tax.dollars","label":"Its value in dollars","member_ids":["foreign_tax.foreign_taxes.usd_amount","foreign_tax.foreign_taxes.conversion_rate_basis"]},{"id":"foreign_tax.income","label":"The income the tax was on","member_ids":["foreign_tax.foreign_taxes.gross_income_from_sources","foreign_tax.foreign_taxes.deductible_expenses_allocable"]},{"id":"foreign_tax.coverage","label":"Your social security coverage abroad","member_ids":["foreign_tax.totalization_coverage.country","foreign_tax.totalization_coverage.certificate_obtained"]},{"id":"foreign_tax.spouse_coverage","label":"Your spouse's coverage abroad","member_ids":["foreign_tax.spouse_totalization_coverage.country","foreign_tax.spouse_totalization_coverage.certificate_obtained"]},{"id":"foreign_tax.housing","label":"Your housing abroad","member_ids":["foreign_tax.housing_facts.housing_location_country","foreign_tax.housing_facts.housing_location_city","foreign_tax.housing_facts.qualified_housing_expenses"],"parts":[{"kind":"place","member_ids":["foreign_tax.housing_facts.housing_location_country","foreign_tax.housing_facts.housing_location_city"]}]},{"id":"foreign_tax.second_household","label":"Your second household","member_ids":["foreign_tax.housing_facts.second_household.country","foreign_tax.housing_facts.second_household.city","foreign_tax.housing_facts.second_household.days"],"parts":[{"kind":"place","member_ids":["foreign_tax.housing_facts.second_household.country","foreign_tax.housing_facts.second_household.city"]}]},{"id":"foreign_tax.spouse_housing","label":"Your spouse's housing abroad","member_ids":["foreign_tax.spouse_housing_facts.housing_location_country","foreign_tax.spouse_housing_facts.housing_location_city","foreign_tax.spouse_housing_facts.qualified_housing_expenses"],"parts":[{"kind":"place","member_ids":["foreign_tax.spouse_housing_facts.housing_location_country","foreign_tax.spouse_housing_facts.housing_location_city"]}]},{"id":"foreign_tax.spouse_second_household","label":"Your spouse's second household","member_ids":["foreign_tax.spouse_housing_facts.second_household.country","foreign_tax.spouse_housing_facts.second_household.city","foreign_tax.spouse_housing_facts.second_household.days"],"parts":[{"kind":"place","member_ids":["foreign_tax.spouse_housing_facts.second_household.country","foreign_tax.spouse_housing_facts.second_household.city"]}]},{"id":"foreign_tax.treaty_position","label":"This treaty position","member_ids":["foreign_tax.treaty_positions.treaty_country","foreign_tax.treaty_positions.treaty_article","foreign_tax.treaty_positions.position_summary"]},{"id":"foreign_tax.treaty_effect","label":"Its effect","member_ids":["foreign_tax.treaty_positions.effect","foreign_tax.treaty_positions.income_amount","foreign_tax.treaty_positions.is_disclosure_required"]},{"id":"foreign_tax.treaty_disclosure","label":"Disclosing this position","member_ids":["foreign_tax.treaty_positions.disclosed_under_section_6114","foreign_tax.treaty_positions.dual_resident_disclosure_7701b","foreign_tax.treaty_positions.reporting_specifically_required_6114_1b"]},{"id":"where_you_lived.stay","label":"Where you lived abroad","member_ids":["where_you_lived.residency.stints.address","where_you_lived.residency.stints.start_date","where_you_lived.residency.stints.end_date"],"parts":[{"kind":"period","member_ids":["where_you_lived.residency.stints.start_date","where_you_lived.residency.stints.end_date"]}]},{"id":"where_you_lived.filing_date_and_history","label":"Your deadline and earlier returns","member_ids":["where_you_lived.claims_automatic_2month_extension","where_you_lived.feie_prior_claims.previously_filed"]},{"id":"where_you_lived.tax_home","label":"Where and since when","member_ids":["where_you_lived.residency.tax_home.city","where_you_lived.residency.tax_home.established_on"]},{"id":"where_you_lived.stretch","label":"Your time abroad and your work","member_ids":["where_you_lived.abroad_whole_period","where_you_lived.tax_home_given_up"]},{"id":"where_you_lived.stretch_edges","label":"First and last day","member_ids":["where_you_lived.abroad_when_stretch_began","where_you_lived.abroad_when_stretch_ended"]},{"id":"where_you_lived.trip","label":"This trip","member_ids":["where_you_lived.physical_presence.trips.country","where_you_lived.physical_presence.trips.arrived_on","where_you_lived.physical_presence.trips.left_on"],"parts":[{"kind":"period","member_ids":["where_you_lived.physical_presence.trips.arrived_on","where_you_lived.physical_presence.trips.left_on"]}]},{"id":"where_you_lived.trip_more","label":"Where this trip took you","member_ids":["where_you_lived.physical_presence.trips.in_us_transit","where_you_lived.physical_presence.trips.in_international_waters"]},{"id":"where_you_lived.travel_day","label":"This travel day","member_ids":["where_you_lived.physical_presence.travel_days.day","where_you_lived.physical_presence.travel_days.country"]},{"id":"where_you_lived.travel_day_where","label":"Where you were that day","member_ids":["where_you_lived.physical_presence.travel_days.in_us_transit","where_you_lived.physical_presence.travel_days.in_international_waters"]},{"id":"where_you_lived.residence","label":"Your residence abroad","member_ids":["where_you_lived.bona_fide_residence.country_of_residence","where_you_lived.bona_fide_residence.residence_began_on","where_you_lived.bfr_residence_abroad_ended"]},{"id":"where_you_lived.home_abroad","label":"Your home abroad","member_ids":["where_you_lived.bona_fide_residence.living_quarters_type","where_you_lived.bona_fide_residence.family_present","where_you_lived.bfr_travel_away"]},{"id":"where_you_lived.bfr_trip","label":"This trip","member_ids":["where_you_lived.bona_fide_residence.trips.country","where_you_lived.bona_fide_residence.trips.arrived_on","where_you_lived.bona_fide_residence.trips.left_on"],"parts":[{"kind":"period","member_ids":["where_you_lived.bona_fide_residence.trips.arrived_on","where_you_lived.bona_fide_residence.trips.left_on"]}]},{"id":"where_you_lived.bfr_trip_more","label":"Where this trip took you","member_ids":["where_you_lived.bona_fide_residence.trips.in_us_transit","where_you_lived.bona_fide_residence.trips.in_international_waters"]},{"id":"where_you_lived.bfr_travel_day","label":"This travel day","member_ids":["where_you_lived.bona_fide_residence.travel_days.day","where_you_lived.bona_fide_residence.travel_days.country"]},{"id":"where_you_lived.bfr_travel_day_where","label":"Where you were that day","member_ids":["where_you_lived.bona_fide_residence.travel_days.in_us_transit","where_you_lived.bona_fide_residence.travel_days.in_international_waters"]},{"id":"where_you_lived.us_home","label":"Your home in the United States","member_ids":["where_you_lived.bona_fide_residence.us_home_address","where_you_lived.bona_fide_residence.us_home_rented"]},{"id":"where_you_lived.us_home_occupant","label":"This person","member_ids":["where_you_lived.bona_fide_residence.us_home_occupants.first_name","where_you_lived.bona_fide_residence.us_home_occupants.last_name","where_you_lived.bona_fide_residence.us_home_occupants.relationship"],"parts":[{"kind":"name","member_ids":["where_you_lived.bona_fide_residence.us_home_occupants.first_name","where_you_lived.bona_fide_residence.us_home_occupants.last_name"]}]},{"id":"where_you_lived.visa","label":"Your visa and contract","member_ids":["where_you_lived.bona_fide_residence.contractual_terms","where_you_lived.bona_fide_residence.visa_type","where_you_lived.bona_fide_residence.visa_limits_stay"]},{"id":"where_you_lived.earlier_claims","label":"Your earlier claims","member_ids":["where_you_lived.feie_prior_claims.last_year_filed","where_you_lived.feie_prior_claims.housing_claimed_last_year"]},{"id":"where_you_lived.revocation","label":"This revocation","member_ids":["where_you_lived.feie_prior_claims.revocations.exclusion","where_you_lived.feie_prior_claims.revocations.effective_tax_year"]},{"id":"spouse_abroad.tax_home_country","label":"Your spouse's main place of work","member_ids":["spouse_abroad.spouse_residency.tax_home.country","spouse_abroad.tax_home_given_up"]},{"id":"spouse_abroad.tax_home","label":"Where and since when","member_ids":["spouse_abroad.spouse_residency.tax_home.city","spouse_abroad.spouse_residency.tax_home.established_on"]},{"id":"spouse_abroad.residence","label":"Your spouse's residence abroad","member_ids":["spouse_abroad.spouse_bona_fide_residence.country_of_residence","spouse_abroad.spouse_bona_fide_residence.residence_began_on","spouse_abroad.bfr_residence_abroad_ended"]},{"id":"spouse_abroad.home_abroad","label":"Your spouse's home abroad","member_ids":["spouse_abroad.spouse_bona_fide_residence.living_quarters_type","spouse_abroad.spouse_bona_fide_residence.family_present","spouse_abroad.bfr_travel_away"]},{"id":"spouse_abroad.us_home","label":"Your spouse's home in the United States","member_ids":["spouse_abroad.spouse_bona_fide_residence.us_home_address","spouse_abroad.spouse_bona_fide_residence.us_home_rented"]},{"id":"spouse_abroad.visa","label":"Your spouse's visa and contract","member_ids":["spouse_abroad.spouse_bona_fide_residence.contractual_terms","spouse_abroad.spouse_bona_fide_residence.visa_type","spouse_abroad.spouse_bona_fide_residence.visa_limits_stay"]},{"id":"spouse_abroad.earlier_claims","label":"Your spouse's earlier claims","member_ids":["spouse_abroad.spouse_feie_prior_claims.last_year_filed","spouse_abroad.spouse_feie_prior_claims.housing_claimed_last_year"]},{"id":"spouse_abroad.stay","label":"Where your spouse lived abroad","member_ids":["spouse_abroad.spouse_residency.stints.address","spouse_abroad.spouse_residency.stints.start_date","spouse_abroad.spouse_residency.stints.end_date"],"parts":[{"kind":"period","member_ids":["spouse_abroad.spouse_residency.stints.start_date","spouse_abroad.spouse_residency.stints.end_date"]}]},{"id":"spouse_abroad.stretch_edges","label":"First and last day","member_ids":["spouse_abroad.abroad_when_stretch_began","spouse_abroad.abroad_when_stretch_ended"]},{"id":"spouse_abroad.trip","label":"This trip","member_ids":["spouse_abroad.spouse_physical_presence.trips.country","spouse_abroad.spouse_physical_presence.trips.arrived_on","spouse_abroad.spouse_physical_presence.trips.left_on"],"parts":[{"kind":"period","member_ids":["spouse_abroad.spouse_physical_presence.trips.arrived_on","spouse_abroad.spouse_physical_presence.trips.left_on"]}]},{"id":"spouse_abroad.trip_more","label":"Where this trip took your spouse","member_ids":["spouse_abroad.spouse_physical_presence.trips.in_us_transit","spouse_abroad.spouse_physical_presence.trips.in_international_waters"]},{"id":"spouse_abroad.travel_day","label":"This travel day","member_ids":["spouse_abroad.spouse_physical_presence.travel_days.day","spouse_abroad.spouse_physical_presence.travel_days.country"]},{"id":"spouse_abroad.travel_day_where","label":"Where your spouse was that day","member_ids":["spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"]},{"id":"spouse_abroad.bfr_trip","label":"This trip","member_ids":["spouse_abroad.spouse_bona_fide_residence.trips.country","spouse_abroad.spouse_bona_fide_residence.trips.arrived_on","spouse_abroad.spouse_bona_fide_residence.trips.left_on"],"parts":[{"kind":"period","member_ids":["spouse_abroad.spouse_bona_fide_residence.trips.arrived_on","spouse_abroad.spouse_bona_fide_residence.trips.left_on"]}]},{"id":"spouse_abroad.bfr_trip_more","label":"Where this trip took your spouse","member_ids":["spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"]},{"id":"spouse_abroad.bfr_travel_day","label":"This travel day","member_ids":["spouse_abroad.spouse_bona_fide_residence.travel_days.day","spouse_abroad.spouse_bona_fide_residence.travel_days.country"]},{"id":"spouse_abroad.bfr_travel_day_where","label":"Where your spouse was that day","member_ids":["spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"]},{"id":"spouse_abroad.us_home_occupant","label":"This person","member_ids":["spouse_abroad.spouse_bona_fide_residence.us_home_occupants.first_name","spouse_abroad.spouse_bona_fide_residence.us_home_occupants.last_name","spouse_abroad.spouse_bona_fide_residence.us_home_occupants.relationship"],"parts":[{"kind":"name","member_ids":["spouse_abroad.spouse_bona_fide_residence.us_home_occupants.first_name","spouse_abroad.spouse_bona_fide_residence.us_home_occupants.last_name"]}]},{"id":"spouse_abroad.revocation","label":"This revocation","member_ids":["spouse_abroad.spouse_feie_prior_claims.revocations.exclusion","spouse_abroad.spouse_feie_prior_claims.revocations.effective_tax_year"]},{"id":"deductions_credits.taxes_and_medical","label":"Medical costs and income taxes","member_ids":["deductions_credits.itemized_deductions.medical_and_dental_expenses","deductions_credits.itemized_deductions.state_local_income_or_sales_taxes","deductions_credits.itemized_deductions.elected_general_sales_taxes"]},{"id":"deductions_credits.property_taxes","label":"Property and other taxes","member_ids":["deductions_credits.itemized_deductions.real_estate_taxes","deductions_credits.itemized_deductions.personal_property_taxes","deductions_credits.itemized_deductions.other_taxes"]},{"id":"deductions_credits.interest_and_gifts","label":"Interest you paid","member_ids":["deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","deductions_credits.itemized_deductions.investment_interest"]},{"id":"deductions_credits.home_loans","label":"Your home loans","member_ids":["deductions_credits.itemized_deductions.mortgage_interest_without_form_1098_paid_to","deductions_credits.itemized_deductions.mortgage_proceeds_all_used_for_home","deductions_credits.itemized_deductions.home_loans_highest_balance","deductions_credits.itemized_deductions.home_loans_over_home_value"]},{"id":"deductions_credits.gifts","label":"Gifts and other costs","member_ids":["deductions_credits.itemized_deductions.gifts_by_cash_or_check","deductions_credits.itemized_deductions.gifts_other_than_cash","deductions_credits.itemized_deductions.other_itemized_deductions"]},{"id":"deductions_credits.donation_recipient","label":"Who received it","member_ids":["deductions_credits.itemized_deductions.noncash_donations.donee_name","deductions_credits.itemized_deductions.noncash_donations.donee_address"]},{"id":"deductions_credits.donation","label":"This donation","member_ids":["deductions_credits.itemized_deductions.noncash_donations.property_description","deductions_credits.itemized_deductions.noncash_donations.contribution_date"]},{"id":"deductions_credits.donation_value","label":"How you got it and its cost","member_ids":["deductions_credits.itemized_deductions.noncash_donations.how_acquired","deductions_credits.itemized_deductions.noncash_donations.cost_or_basis"]},{"id":"deductions_credits.donation_valuation","label":"How you valued it","member_ids":["deductions_credits.itemized_deductions.noncash_donations.valuation_method","deductions_credits.itemized_deductions.noncash_donations.is_vehicle"]},{"id":"deductions_credits.employee_tips","label":"These tips","member_ids":["deductions_credits.additional_deductions.employee_tips.owner","deductions_credits.additional_deductions.employee_tips.employer_ein","deductions_credits.additional_deductions.employee_tips.w2_or_4070_amount","deductions_credits.additional_deductions.employee_tips.form_4137_amount"]},{"id":"deductions_credits.tips_payer","label":"This payer","member_ids":["deductions_credits.additional_deductions.business_tips.payers.payer_tin","deductions_credits.additional_deductions.business_tips.payers.amount"]},{"id":"deductions_credits.overtime_w2","label":"This overtime","member_ids":["deductions_credits.additional_deductions.overtime_w2_rows.owner","deductions_credits.additional_deductions.overtime_w2_rows.employer_ein","deductions_credits.additional_deductions.overtime_w2_rows.amount"]},{"id":"deductions_credits.car_loan","label":"This car loan","member_ids":["deductions_credits.additional_deductions.vehicle_loans.vin","deductions_credits.additional_deductions.vehicle_loans.interest_paid","deductions_credits.additional_deductions.vehicle_loans.deducted_elsewhere"]},{"id":"deductions_credits.car","label":"This car","member_ids":["deductions_credits.additional_deductions.vehicle_loans.original_use_started_with_filer","deductions_credits.additional_deductions.vehicle_loans.final_assembly_in_us"]},{"id":"deductions_credits.health_insurance","label":"Your health insurance","member_ids":["deductions_credits.self_employed_health_insurance.owner","deductions_credits.self_employed_health_insurance.premiums","deductions_credits.self_employed_health_insurance.long_term_care_premiums"]},{"id":"deductions_credits.health_insurance_policy","label":"About the policy","member_ids":["deductions_credits.self_employed_health_insurance.long_term_care_insured_age","deductions_credits.self_employed_health_insurance.establishing_business_name"]},{"id":"deductions_credits.care_months","label":"Months you studied or could not work","member_ids":["deductions_credits.child_dependent_care.taxpayer_student_or_disabled_months","deductions_credits.child_dependent_care.spouse_student_or_disabled_months"]},{"id":"deductions_credits.care_student_months","label":"Months you studied","member_ids":["deductions_credits.child_dependent_care.taxpayer_student_months","deductions_credits.child_dependent_care.spouse_student_months"]},{"id":"deductions_credits.care_period","label":"When you paid for care","member_ids":["deductions_credits.child_dependent_care.mfs_meets_unmarried_exception","deductions_credits.child_dependent_care.worked_for_whole_care_period"]},{"id":"deductions_credits.care_provider_pay","label":"What you paid this provider","member_ids":["deductions_credits.child_dependent_care.care_providers.is_ineligible_relative","deductions_credits.child_dependent_care.care_providers.is_household_employee","deductions_credits.child_dependent_care.care_providers.amount_paid"]},{"id":"deductions_credits.cared_for","label":"This person's care","member_ids":["deductions_credits.child_dependent_care.qualifying_persons.died","deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"]},{"id":"deductions_credits.care_cost","label":"The cost and protection number","member_ids":["deductions_credits.child_dependent_care.qualifying_persons.spends_8_hours_a_day_in_your_home","deductions_credits.child_dependent_care.qualifying_persons.qualified_expenses","deductions_credits.child_dependent_care.qualifying_persons.identity_protection_pin"]},{"id":"deductions_credits.student_tests","label":"The student's studies","member_ids":["deductions_credits.education_credits.students.prior_year_aotc_claimed_four_years","deductions_credits.education_credits.students.enrolled_half_time_degree_program"]},{"id":"deductions_credits.student_history","label":"Earlier years and conduct","member_ids":["deductions_credits.education_credits.students.completed_first_four_years","deductions_credits.education_credits.students.felony_drug_conviction"]},{"id":"deductions_credits.student_credit","label":"The credit for this student","member_ids":["deductions_credits.education_credits.students.credit","deductions_credits.education_credits.students.adjusted_qualified_expenses","deductions_credits.education_credits.students.prior_credit_disallowed"]},{"id":"deductions_credits.school","label":"This school","member_ids":["deductions_credits.education_credits.students.institutions.name","deductions_credits.education_credits.students.institutions.address","deductions_credits.education_credits.students.institutions.ein"]},{"id":"deductions_credits.school_forms","label":"Forms and aid","member_ids":["deductions_credits.education_credits.students.institutions.received_1098t_current_year","deductions_credits.education_credits.students.institutions.received_1098t_prior_year","deductions_credits.education_credits.students.institutions.participates_us_aid_program"]},{"id":"deductions_credits.roth_amounts","label":"What went into a Roth IRA","member_ids":["deductions_credits.roth_ira_contribution","deductions_credits.spouse_roth_ira_contribution"]},{"id":"deductions_credits.roth_moved_in","label":"Money moved from a traditional IRA","member_ids":["deductions_credits.roth_ira_recharacterized_in","deductions_credits.spouse_roth_ira_recharacterized_in"]},{"id":"deductions_credits.roth_moved_in_dates","label":"When your contribution moved","member_ids":["deductions_credits.roth_ira_recharacterized_paid_in_on","deductions_credits.roth_ira_recharacterized_on"]},{"id":"deductions_credits.spouse_roth_moved_in_dates","label":"When your spouse's contribution moved","member_ids":["deductions_credits.spouse_roth_ira_recharacterized_paid_in_on","deductions_credits.spouse_roth_ira_recharacterized_on"]},{"id":"deductions_credits.roth_returned","label":"Money taken back out","member_ids":["deductions_credits.roth_ira_returned","deductions_credits.spouse_roth_ira_returned"]},{"id":"deductions_credits.roth_returned_detail","label":"What came back to you","member_ids":["deductions_credits.roth_ira_returned_paid_out","deductions_credits.roth_ira_returned_on"]},{"id":"deductions_credits.spouse_roth_returned_detail","label":"What came back to your spouse","member_ids":["deductions_credits.spouse_roth_ira_returned_paid_out","deductions_credits.spouse_roth_ira_returned_on"]},{"id":"deductions_credits.roth_stipend","label":"Study grants and the IRA limits","member_ids":["deductions_credits.roth_stipend_compensation","deductions_credits.spouse_roth_stipend_compensation"]},{"id":"deductions_credits.roth_value","label":"Roth IRA value at year end","member_ids":["deductions_credits.roth_ira_year_end_value","deductions_credits.spouse_roth_ira_year_end_value"]},{"id":"deductions_credits.ira_prior_excess","label":"Extra IRA money from earlier years","member_ids":["deductions_credits.traditional_ira_prior_excess","deductions_credits.roth_ira_prior_excess"]},{"id":"deductions_credits.spouse_ira_prior_excess","label":"Your spouse's extra IRA money","member_ids":["deductions_credits.spouse_traditional_ira_prior_excess","deductions_credits.spouse_roth_ira_prior_excess"]},{"id":"deductions_credits.ira_prior_excess_untaxed","label":"Extra money that came back","member_ids":["deductions_credits.traditional_ira_prior_excess_taken_out_untaxed","deductions_credits.spouse_traditional_ira_prior_excess_taken_out_untaxed"]},{"id":"deductions_credits.ira_prior_excess_returned","label":"Extra money returned untaxed","member_ids":["deductions_credits.traditional_ira_prior_excess_returned_amount","deductions_credits.traditional_ira_prior_excess_years"]},{"id":"deductions_credits.spouse_ira_prior_excess_returned","label":"Your spouse's extra money returned","member_ids":["deductions_credits.spouse_traditional_ira_prior_excess_returned_amount","deductions_credits.spouse_traditional_ira_prior_excess_years"]},{"id":"deductions_credits.traditional_amounts","label":"What went into a traditional IRA","member_ids":["deductions_credits.traditional_ira_contribution","deductions_credits.spouse_traditional_ira_contribution"]},{"id":"deductions_credits.roth_conversion_amounts","label":"Money converted to a Roth IRA","member_ids":["deductions_credits.roth_conversion_amount","deductions_credits.spouse_roth_conversion_amount"]},{"id":"deductions_credits.traditional_moved_in","label":"Money moved from a Roth IRA","member_ids":["deductions_credits.traditional_ira_recharacterized_in","deductions_credits.spouse_traditional_ira_recharacterized_in"]},{"id":"deductions_credits.traditional_moved_in_dates","label":"When your Roth IRA contribution moved","member_ids":["deductions_credits.traditional_ira_recharacterized_paid_in_on","deductions_credits.traditional_ira_recharacterized_on"]},{"id":"deductions_credits.spouse_traditional_moved_in_dates","label":"When your spouse's Roth IRA contribution moved","member_ids":["deductions_credits.spouse_traditional_ira_recharacterized_paid_in_on","deductions_credits.spouse_traditional_ira_recharacterized_on"]},{"id":"deductions_credits.traditional_returned","label":"Traditional IRA money taken back out","member_ids":["deductions_credits.traditional_ira_returned","deductions_credits.spouse_traditional_ira_returned"]},{"id":"deductions_credits.traditional_returned_detail","label":"Traditional IRA money that came back","member_ids":["deductions_credits.traditional_ira_returned_paid_out","deductions_credits.traditional_ira_returned_on"]},{"id":"deductions_credits.spouse_traditional_returned_detail","label":"Your spouse's money that came back","member_ids":["deductions_credits.spouse_traditional_ira_returned_paid_out","deductions_credits.spouse_traditional_ira_returned_on"]},{"id":"deductions_credits.traditional_paid_after","label":"Paid in after the year ended","member_ids":["deductions_credits.traditional_ira_paid_after_year_end","deductions_credits.spouse_traditional_ira_paid_after_year_end"]},{"id":"deductions_credits.traditional_order","label":"Which payments are not deducted","member_ids":["deductions_credits.traditional_ira_nondeductible_paid_in_year_first","deductions_credits.spouse_traditional_ira_nondeductible_paid_in_year_first"]},{"id":"deductions_credits.traditional_basis","label":"Money never deducted","member_ids":["deductions_credits.traditional_ira_basis_before_year","deductions_credits.spouse_traditional_ira_basis_before_year"]},{"id":"deductions_credits.traditional_value","label":"Traditional IRA value at year end","member_ids":["deductions_credits.traditional_ira_year_end_value","deductions_credits.spouse_traditional_ira_year_end_value"]},{"id":"deductions_credits.plan_coverage","label":"Retirement plans at work","member_ids":["deductions_credits.covered_by_plan_without_w2","deductions_credits.spouse_covered_by_plan_without_w2","deductions_credits.mfs_spouse_covered_by_retirement_plan"]},{"id":"deductions_credits.roth_part_iii","label":"What you put into Roth IRAs","member_ids":["deductions_credits.roth_contribution_basis_before_year","deductions_credits.roth_conversion_basis_before_year"]},{"id":"deductions_credits.spouse_roth_part_iii","label":"What your spouse put into Roth IRAs","member_ids":["deductions_credits.spouse_roth_contribution_basis_before_year","deductions_credits.spouse_roth_conversion_basis_before_year"]},{"id":"deductions_credits.roth_conversion_history","label":"Earlier Roth IRA conversions","member_ids":["deductions_credits.roth_converted_in_four_years_before","deductions_credits.spouse_roth_converted_in_four_years_before"]},{"id":"deductions_credits.roth_converted_4_years_before","label":"Your conversions four years back","member_ids":["deductions_credits.roth_converted_4_years_before_taxable","deductions_credits.roth_converted_4_years_before_untaxed"]},{"id":"deductions_credits.roth_converted_3_years_before","label":"Your conversions three years back","member_ids":["deductions_credits.roth_converted_3_years_before_taxable","deductions_credits.roth_converted_3_years_before_untaxed"]},{"id":"deductions_credits.roth_converted_2_years_before","label":"Your conversions two years back","member_ids":["deductions_credits.roth_converted_2_years_before_taxable","deductions_credits.roth_converted_2_years_before_untaxed"]},{"id":"deductions_credits.roth_converted_1_years_before","label":"Your conversions last year","member_ids":["deductions_credits.roth_converted_1_years_before_taxable","deductions_credits.roth_converted_1_years_before_untaxed"]},{"id":"deductions_credits.spouse_roth_converted_4_years_before","label":"Your spouse's conversions four years back","member_ids":["deductions_credits.spouse_roth_converted_4_years_before_taxable","deductions_credits.spouse_roth_converted_4_years_before_untaxed"]},{"id":"deductions_credits.spouse_roth_converted_3_years_before","label":"Your spouse's conversions three years back","member_ids":["deductions_credits.spouse_roth_converted_3_years_before_taxable","deductions_credits.spouse_roth_converted_3_years_before_untaxed"]},{"id":"deductions_credits.spouse_roth_converted_2_years_before","label":"Your spouse's conversions two years back","member_ids":["deductions_credits.spouse_roth_converted_2_years_before_taxable","deductions_credits.spouse_roth_converted_2_years_before_untaxed"]},{"id":"deductions_credits.spouse_roth_converted_1_years_before","label":"Your spouse's conversions last year","member_ids":["deductions_credits.spouse_roth_converted_1_years_before_taxable","deductions_credits.spouse_roth_converted_1_years_before_untaxed"]},{"id":"deductions_credits.roth_first_home","label":"A first home","member_ids":["deductions_credits.roth_first_home_expenses","deductions_credits.roth_prior_first_home_distributions"]},{"id":"deductions_credits.spouse_roth_first_home","label":"Your spouse's first home","member_ids":["deductions_credits.spouse_roth_first_home_expenses","deductions_credits.spouse_roth_prior_first_home_distributions"]},{"id":"deductions_credits.savers_student","label":"Students and the saver's credit","member_ids":["deductions_credits.savers_credit_student","deductions_credits.spouse_savers_credit_student"]},{"id":"deductions_credits.savers_dependent","label":"Claimed as a dependent","member_ids":["deductions_credits.savers_credit_claimed_as_dependent","deductions_credits.spouse_savers_credit_claimed_as_dependent"]},{"id":"deductions_credits.savers_contributions","label":"Other money you paid in","member_ids":["deductions_credits.savers_credit_able_contributions","deductions_credits.savers_credit_other_contributions"]},{"id":"deductions_credits.spouse_savers_contributions","label":"Other money your spouse paid in","member_ids":["deductions_credits.spouse_savers_credit_able_contributions","deductions_credits.spouse_savers_credit_other_contributions"]},{"id":"deductions_credits.savers_457b","label":"Government plan deferrals in box 12","member_ids":["deductions_credits.savers_credit_457b_deferrals","deductions_credits.spouse_savers_credit_457b_deferrals"]},{"id":"deductions_credits.savers_distributions","label":"Money taken out in other years","member_ids":["deductions_credits.savers_credit_other_distributions","deductions_credits.spouse_savers_credit_other_distributions"]},{"id":"deductions_credits.savers_left_out","label":"Payments the credit leaves out","member_ids":["deductions_credits.savers_credit_left_out_distributions","deductions_credits.spouse_savers_credit_left_out_distributions"]},{"id":"deductions_credits.disabled_person_tests","label":"Who this person is to you","member_ids":["deductions_credits.child_dependent_care.qualifying_persons.lived_with_you_over_half_year","deductions_credits.child_dependent_care.qualifying_persons.claimable_but_for_income"]},{"id":"deductions_credits.care_last_year_form","label":"Last year's care costs","member_ids":["deductions_credits.child_dependent_care.prior_year_line_3","deductions_credits.child_dependent_care.prior_year_two_or_more_persons","deductions_credits.child_dependent_care.prior_year_benefits_excluded"]},{"id":"deductions_credits.care_last_year_costs","label":"Last year's care costs","member_ids":["deductions_credits.child_dependent_care.prior_year_expenses_paid_last_year","deductions_credits.child_dependent_care.prior_year_benefits_line_25"]},{"id":"deductions_credits.care_last_year_income","label":"Last year's income and credit","member_ids":["deductions_credits.child_dependent_care.prior_year_smaller_earned_income","deductions_credits.child_dependent_care.prior_year_line_6","deductions_credits.child_dependent_care.prior_year_agi"]},{"id":"deductions_credits.care_last_year_person","label":"Who the care was for","member_ids":["deductions_credits.child_dependent_care.prior_year_care_payments.person_first_name","deductions_credits.child_dependent_care.prior_year_care_payments.person_last_name","deductions_credits.child_dependent_care.prior_year_care_payments.person_ssn","deductions_credits.child_dependent_care.prior_year_care_payments.person_over_age12_and_disabled"]},{"id":"deductions_credits.care_last_year_provider","label":"Who provided the care","member_ids":["deductions_credits.child_dependent_care.prior_year_care_payments.provider_name","deductions_credits.child_dependent_care.prior_year_care_payments.provider_address","deductions_credits.child_dependent_care.prior_year_care_payments.provider_tin"]},{"id":"deductions_credits.care_last_year_paid","label":"What you paid","member_ids":["deductions_credits.child_dependent_care.prior_year_care_payments.provider_household_employee","deductions_credits.child_dependent_care.prior_year_care_payments.amount_paid"]},{"id":"deductions_credits.educator_amounts","label":"Classroom costs","member_ids":["deductions_credits.educator_expenses.taxpayer_expenses","deductions_credits.educator_expenses.spouse_expenses"]},{"id":"deductions_credits.hsa_months","label":"Months of coverage","member_ids":["deductions_credits.health_savings_account.months_self_only","deductions_credits.health_savings_account.months_family"]},{"id":"deductions_credits.spouse_hsa_months","label":"Your spouse's months of coverage","member_ids":["deductions_credits.spouse_health_savings_account.months_self_only","deductions_credits.spouse_health_savings_account.months_family"]},{"id":"deductions_credits.solar_costs","label":"Solar, wind and geothermal","member_ids":["deductions_credits.residential_energy.solar_electric_costs","deductions_credits.residential_energy.solar_water_heating_costs","deductions_credits.residential_energy.small_wind_costs","deductions_credits.residential_energy.geothermal_heat_pump_costs"]},{"id":"foreign_accounts.balances","label":"Your balances abroad","member_ids":["foreign_accounts.fbar_facts.filer_over_10k","foreign_accounts.fbar_facts.spouse_over_10k"]},{"id":"foreign_accounts.signatures","label":"Your signature for the FBAR","member_ids":["foreign_accounts.fbar_facts.filer_authorization.signature","foreign_accounts.fbar_facts.filer_authorization.signed_on"]},{"id":"foreign_accounts.spouse_signature","label":"Your spouse's signature","member_ids":["foreign_accounts.fbar_facts.spouse_authorization.signature","foreign_accounts.fbar_facts.spouse_authorization.signed_on"]},{"id":"foreign_accounts.account","label":"This account","member_ids":["foreign_accounts.foreign_accounts.owner","foreign_accounts.foreign_accounts.institution_name","foreign_accounts.foreign_accounts.account_number"]},{"id":"foreign_accounts.more","label":"Kind, opened or closed","member_ids":["foreign_accounts.foreign_accounts.account_type","foreign_accounts.foreign_accounts.opened_or_closed"]},{"id":"foreign_accounts.opened_closed","label":"When it opened or closed","member_ids":["foreign_accounts.foreign_accounts.account_opened_on","foreign_accounts.foreign_accounts.account_closed_on"]},{"id":"foreign_accounts.value","label":"How much it held","member_ids":["foreign_accounts.foreign_accounts.max_value_during_year","foreign_accounts.foreign_accounts.year_end_value"]},{"id":"foreign_accounts.holder","label":"Who holds it","member_ids":["foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse","foreign_accounts.foreign_accounts.signature_authority_only"]},{"id":"foreign_accounts.other_holder_and_bank","label":"Other holders and the bank","member_ids":["foreign_accounts.foreign_accounts.held_with_someone_else","foreign_accounts.foreign_accounts.maintained_by_us_payer"]},{"id":"foreign_accounts.joint_owner","label":"The other owner","member_ids":["foreign_accounts.foreign_accounts.joint_owner.first_name","foreign_accounts.foreign_accounts.joint_owner.last_name","foreign_accounts.foreign_accounts.joint_owner.organization_name","foreign_accounts.foreign_accounts.joint_owner_address_known"],"parts":[{"kind":"name","member_ids":["foreign_accounts.foreign_accounts.joint_owner.first_name","foreign_accounts.foreign_accounts.joint_owner.last_name"]}]},{"id":"foreign_accounts.principal_owner","label":"The account's owner","member_ids":["foreign_accounts.foreign_accounts.principal_owner.first_name","foreign_accounts.foreign_accounts.principal_owner.last_name","foreign_accounts.foreign_accounts.principal_owner.organization_name"],"parts":[{"kind":"name","member_ids":["foreign_accounts.foreign_accounts.principal_owner.first_name","foreign_accounts.foreign_accounts.principal_owner.last_name"]}]},{"id":"foreign_accounts.principal_owner_id","label":"Their address and number","member_ids":["foreign_accounts.foreign_accounts.principal_owner.address","foreign_accounts.foreign_accounts.principal_owner.id_kind"]},{"id":"foreign_accounts.currency_address","label":"Currency and address","member_ids":["foreign_accounts.foreign_accounts.foreign_currency","foreign_accounts.foreign_accounts.institution_address"]},{"id":"foreign_accounts.exchange_rate","label":"The rate you used","member_ids":["foreign_accounts.foreign_accounts.exchange_rate","foreign_accounts.foreign_accounts.exchange_rate_source"]},{"id":"foreign_accounts.country_income","label":"Where it is and what it paid","member_ids":["foreign_accounts.foreign_accounts.institution_country","foreign_accounts.foreign_accounts.reported_income_items"]},{"id":"foreign_accounts.asset","label":"This asset","member_ids":["foreign_accounts.foreign_assets.description","foreign_accounts.foreign_assets.kind","foreign_accounts.foreign_assets.country"]},{"id":"foreign_accounts.asset_identity","label":"Number, issuer and date","member_ids":["foreign_accounts.foreign_assets.identifier","foreign_accounts.foreign_assets.issuer_name","foreign_accounts.foreign_assets.acquired_on"]},{"id":"foreign_accounts.asset_value","label":"How much it was worth","member_ids":["foreign_accounts.foreign_assets.max_value_during_year","foreign_accounts.foreign_assets.year_end_value","foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"]},{"id":"foreign_accounts.asset_issuer","label":"Currency and issuer's address","member_ids":["foreign_accounts.foreign_assets.foreign_currency","foreign_accounts.foreign_assets.issuer_address"]},{"id":"foreign_accounts.asset_exchange_rate","label":"The rate you used","member_ids":["foreign_accounts.foreign_assets.exchange_rate","foreign_accounts.foreign_assets.exchange_rate_source"]},{"id":"foreign_accounts.excepted_forms","label":"The forms you filed","member_ids":["foreign_accounts.excepted_forms.form_3520a","foreign_accounts.excepted_forms.form_5471","foreign_accounts.excepted_forms.form_8865"]},{"id":"payments_refund.prepayments","label":"Payments you already made","member_ids":["payments_refund.payments.prior_year_overpayment_applied","payments_refund.payments.amount_paid_with_extension"]},{"id":"payments_refund.relief_payments","label":"Relief payments you received","member_ids":["payments_refund.payments.economic_impact_payment_1","payments_refund.payments.economic_impact_payment_2","payments_refund.payments.economic_impact_payment_3","payments_refund.payments.advance_child_tax_credit_received"]},{"id":"payments_refund.letter_6419","label":"Your Letter 6419","member_ids":["payments_refund.child_tax_credit_2021.letter_6419_amount","payments_refund.child_tax_credit_2021.letter_6419_children"]},{"id":"payments_refund.spouse_letter_6419","label":"Your spouse's Letter 6419","member_ids":["payments_refund.child_tax_credit_2021.spouse_letter_6419_amount","payments_refund.child_tax_credit_2021.spouse_letter_6419_children"]},{"id":"payments_refund.bank_account","label":"Your bank account","member_ids":["payments_refund.refund_disbursement.routing_number","payments_refund.refund_disbursement.account_number"]}],"sections":[{"blurb":"No documents needed yet. Your answers tell us which parts of the return you need.","id":"fit","nodes":[{"clears":["where_you_lived","spouse_abroad","fit.earned_money_abroad"],"currency_pickable":false,"derived_from_presence":["residency"],"help":"Count any time abroad, even a few months, and a posting your employer arranged.","help_lines":[],"help_when":[],"id":"fit.lived_abroad","includes_united_states":false,"kind":"yesno","label":"Did you live outside the United States at any time during {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Choose the one that was true on the last day of the tax year. Living outside the United States does not change it: a citizen or a green card holder is still one after years abroad. If your status changed part way through the year, choose what you were on December 31 and we will ask about the change next.","help_lines":[],"help_when":[],"id":"fit.citizenship_or_residency","includes_united_states":false,"kind":"choice","label":"Which of these are you, for United States tax?","label_when":[],"off_ramp":{"body":"We prepare the Form 1040 return that United States citizens and residents file. Your situation needs a different return, which we do not prepare.","code":"citizenship_not_supported","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare returns for citizens and residents","when":{"op":"in","ref":"fit.citizenship_or_residency","values":["other","gave_up_citizenship"]}},"options":[{"label":"I am a United States citizen, wherever I live.","value":"us_citizen"},{"help":"I am not a citizen, but I hold a green card, or I spent enough days in the United States during the year to count as a resident there for tax. A green card makes you one wherever you live.","label":"I have a green card, or I spent enough days in the United States to count as a resident.","value":"resident_alien"},{"help":"Choose this if you gave up your citizenship, or it was ended, during the tax year. You may also have to file Form 8854, which we do not prepare.","label":"I gave up my citizenship this year.","value":"gave_up_citizenship"},{"help":"Choose this only if you are not a citizen, you have no green card, and you did not spend enough days in the United States to count as a resident. Married to a citizen or resident and want to file one return together? Start the return in your spouse's name instead: they answer here as the citizen or resident, and you are added as their spouse.","label":"Neither of those.","value":"other"}],"prefills":[],"required":true,"screening_key":"citizenship_or_residency","suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Any of these makes a year a part-year. A filer in that position may have to file Form 1040-NR for the part of the year they were not a resident, and that is not the return we prepare. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":["The year you first received a green card.","The year you gave one up.","A year in which the number of days you spent in the United States first made you a resident, or stopped doing so: that count is 31 days in the year itself and 183 days across the three years."],"help_when":[],"id":"fit.status_changed_during_year","includes_united_states":false,"kind":"yesno","label":"Did you become a United States resident, or stop being one, this year?","label_when":[],"off_ramp":{"body":"The Form 1040 instructions say a filer whose status changed during the year may have to file Form 1040-NR for the part of the year they were not a resident, and Form 1040-NR is not the return we prepare.","code":"nonresident_return","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"A part-year status needs a different return","when":{"op":"truthy","ref":"fit.status_changed_during_year"}},"options":[],"prefills":[],"required":true,"screening_key":"has_nonresident_return","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"fit.citizenship_or_residency","value":"resident_alien"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A nonresident alien is someone who is neither a United States citizen nor a green card holder and did not spend enough days in the United States to count as a resident.","help_lines":["A green card holder answers no, even after years abroad: living outside the country does not make you a nonresident alien.","Say yes only if you are neither a citizen nor a green card holder.","That filer uses Form 1040-NR, which we do not prepare.","Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no."],"help_when":[],"id":"fit.has_nonresident_return","includes_united_states":false,"kind":"yesno","label":"Are you a nonresident alien (neither a citizen nor a green card holder, and not in the United States long enough to count as a resident) for tax?","label_when":[],"off_ramp":{"body":"The nonresident return, Form 1040-NR, follows different rules from the Form 1040 return we prepare.","code":"nonresident_return","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"A nonresident return is a different return","when":{"op":"truthy","ref":"fit.has_nonresident_return"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"has_nonresident_return","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"ne","ref":"fit.citizenship_or_residency","value":"us_citizen"}},{"clears":["where_you_lived","spouse_abroad"],"currency_pickable":false,"derived_from_presence":["residency","spouse_residency"],"help":"Count pay from a job, from your own business, or from work either of you did for yourselves while abroad.","help_lines":["Say yes if that is true of either of you, even if it is not true of you both.","We ask about each of you separately further on, and neither answer stands in for the other.","Say no if you were abroad but all your money came from the United States, or from investments, a pension or rent."],"help_when":[],"id":"fit.earned_money_abroad","includes_united_states":false,"kind":"yesno","label":"Did you or your spouse earn pay for work done abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"fit.lived_abroad"}},{"clears":["foreign_tax"],"currency_pickable":false,"derived_from_presence":["foreign_taxes[]","ftc_carryover_rows[]","treaty_positions[]","ftc_carryback_adjustments[]","schedule_k1s[].k3_foreign_rows[]","totalization_coverage","spouse_totalization_coverage","housing_facts","spouse_housing_facts"],"help":"Your foreign payslip, tax assessment or advisor's letter shows the tax you paid. Say yes too if you rely on a tax treaty between the United States and another country; we ask about it further on.","help_lines":[],"help_when":[],"id":"fit.paid_foreign_tax","includes_united_states":false,"kind":"yesno","label":"Did you pay income tax to another country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["fit.military_abroad_extension"],"currency_pickable":false,"derived_from_presence":["taxpayer.date_of_death"],"help":"Say yes if either one might describe your return, and we ask about each one on its own. Say no if neither does.","help_lines":["The person the return is for died during the year or after it ended.","You file later because you serve in, or support, the armed forces in a designated combat zone or contingency operation."],"help_when":[],"id":"fit.has_unusual_situation","includes_united_states":false,"kind":"yesno","label":"Is this return for someone who died, or are you serving in a combat zone?","label_when":[],"off_ramp":{"body":"We need a yes or no on a question you marked Not sure before we can prepare your return.","code":"screening_answer_needs_review","next_step":"Save your answers. Answer that question yes or no once you have checked the document it names.","severity":"review","title":"Please answer one question we left open","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"answered","ref":"fit.status_changed_during_year"},{"op":"eq","ref":"fit.status_changed_during_year"}]},{"op":"and","rules":[{"op":"answered","ref":"fit.has_nonresident_return"},{"op":"eq","ref":"fit.has_nonresident_return"}]},{"op":"and","rules":[{"op":"answered","ref":"fit.military_abroad_extension"},{"op":"eq","ref":"fit.military_abroad_extension"}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.complex_state_refund"},{"op":"eq","ref":"income_sources.complex_state_refund"}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.qcd_split_interest"},{"op":"eq","ref":"income_sources.qcd_split_interest"}]},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.complex_self_employed_health_insurance"},{"op":"eq","ref":"deductions_credits.complex_self_employed_health_insurance"}]},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.limited_itemized_deduction"},{"op":"eq","ref":"deductions_credits.limited_itemized_deduction"}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.has_like_kind_exchange_if_unsure"},{"op":"eq","ref":"income_sources.has_like_kind_exchange_if_unsure"}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.has_unmodeled_income_if_unsure"},{"op":"eq","ref":"income_sources.has_unmodeled_income_if_unsure"}]},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.dependent_care_benefits_if_unsure"},{"op":"eq","ref":"deductions_credits.dependent_care_benefits_if_unsure"}]},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.special_amt_or_niit_election_if_unsure"},{"op":"eq","ref":"deductions_credits.special_amt_or_niit_election_if_unsure"}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.complex_ftc_if_unsure"},{"op":"eq","ref":"income_sources.complex_ftc_if_unsure"}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.foreign_company_officer_or_owner_form_5471"},{"op":"eq","ref":"income_sources.foreign_company_officer_or_owner_form_5471"}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your orders name the zone or the operation. Say yes too if you support the armed forces there rather than serve in them.","help_lines":["Pub. 3 covers the extra time it gives you.","Answer no if you are simply living abroad.","Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no."],"help_when":[],"id":"fit.military_abroad_extension","includes_united_states":false,"kind":"yesno","label":"Are you filing later because you serve in, or support, the armed forces in a designated combat zone or contingency operation?","label_when":[],"off_ramp":{"body":"The extra time that service in a combat zone or a contingency operation gives you is not something we apply here.","code":"military_abroad_extension","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns under a military filing extension","when":{"op":"truthy","ref":"fit.military_abroad_extension"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"exclusions.military_abroad_extension","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"fit.has_unusual_situation","value":false}]}}],"review":false,"title":"A few quick questions first"},{"blurb":"Have your Social Security card and last year's tax return nearby. We copy your answers onto the return exactly as you type them.","id":"about_you","nodes":[{"clears":["about_you.taxpayer.date_of_death"],"currency_pickable":false,"derived_from_presence":["taxpayer.date_of_death"],"help":"Say yes only if the person the return is for did not live to file it themselves, whether they died during the year or after it ended. The questions that follow then ask for their name, their number and their date of birth, not yours.","help_lines":[],"help_when":[],"id":"about_you.filing_for_someone_who_died","includes_united_states":false,"kind":"yesno","label":"Is your return for someone who died this year or since?","label_when":[],"off_ramp":{"body":"A return for someone who has died is signed by their surviving spouse or by their personal representative, with the box for a person who has died checked and the date of death entered. We do not prepare that signature here, so this return cannot be filed electronically through us.","code":"deceased_filer","next_step":"Save your answers. A return like this can be filed on paper, and the Form 1040 instructions explain what it needs under Death of a Taxpayer.","severity":"block","title":"We cannot file a return for someone who has died","when":{"op":"truthy","ref":"about_you.filing_for_someone_who_died"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"fit.has_unusual_situation","value":false}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"folded_into":{"label":"I'm not sure, help me choose","question_id":"about_you.filing_status"},"help":"Say no if you already know your status. Say yes and we suggest one from the Form 1040 instructions' tests; you can still change it.","help_lines":[],"help_when":[],"id":"about_you.filing_status_help","includes_united_states":false,"kind":"yesno","label":"Would you like us to work out your filing status with a few questions?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A divorce that was not final by the last day of the year still counts as married, and so does living apart without a court decree.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.marital_status","includes_united_states":false,"kind":"choice","label":"On the last day of the year, which of these were you?","label_when":[],"off_ramp":{"body":"Your answers on this page about your marriage on the last day of the year, your spouse and where you lived rule out the filing status you chose, under the Form 1040 instructions' tests for each status.","code":"filing_status_contradicts_answers","next_step":"Choose another filing status, or change the answer on this page that is not right.","severity":"block","title":"The filing status you chose does not fit your answers here","when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"single"},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"during_the_year"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":true}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"answered","ref":"about_you.filing_status_wizard.marital_status"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]}]}]}]}},"options":[{"label":"Not married: never married, divorced, or legally separated under a court decree.","value":"not_married"},{"label":"Married, even if you lived apart.","value":"married"},{"label":"Widowed, and not remarried.","value":"widowed"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"about_you.filing_status_help"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The year on the death certificate. A death during the tax year still lets you file jointly for that year.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.spouse_died","includes_united_states":false,"kind":"choice","label":"When did your spouse die?","label_when":[],"options":[{"label":"During the tax year this return is for.","value":"during_the_year"},{"label":"In one of the two years before it.","value":"one_or_two_years_before"},{"label":"Earlier than that.","value":"earlier"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A green card makes someone a United States resident, and so can the substantial presence test, which counts the days spent in the United States. Publication 519 has the details. Choose part of the year if your spouse became, or stopped being, a citizen or resident during the year.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.spouse_us_status","includes_united_states":false,"kind":"choice","label":"Was your spouse a United States citizen or resident during the year?","label_when":[],"options":[{"label":"Yes, for the whole year.","value":"whole_year"},{"label":"For part of the year only.","value":"part_of_year"},{"label":"No, at no time during the year.","value":"not_at_all"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The choice lets you file one return together. You both sign a statement and attach it to a joint return, and your spouse's income then goes on the return with yours. Once made, the choice stays in effect for later years until it is ended. If you made it in an earlier year and it is still in effect, answer yes.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.treat_spouse_as_resident","includes_united_states":false,"kind":"yesno","label":"Are you both choosing to treat your spouse as a resident all year?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"This choice is open when both of you are citizens or residents on the last day of the year and either of you was not at the start of it, and it covers this year only.","help_lines":["If your spouse was a resident at the start of the year but not at the end, the choice for a nonresident spouse applies instead, and it stays in effect for later years.","Either way the choice lets you file one return together: you both sign a statement attached to a joint return, and your spouse's income goes on the return with yours."],"help_when":[],"id":"about_you.filing_status_wizard.dual_status_choice","includes_united_states":false,"kind":"yesno","label":"Are you both choosing to be treated as United States residents all year?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A joint return usually gives the lower tax. Both of you sign it, and each of you is then responsible for the whole tax on it, which is why some couples file separately.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.file_jointly","includes_united_states":false,"kind":"yesno","label":"Will you and your spouse file one return together?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Time away for work, medical care, school or military service still counts as time living in the home.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.lived_apart_last_six_months","includes_united_states":false,"kind":"yesno","label":"Did you live apart from your spouse for all of the last six months?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Claiming them means claiming them as your dependent.","help_lines":["Answer yes too if you could claim the child except that the other parent claims them under the rules for children of divorced or separated parents.","Time away at school, on vacation or in hospital counts as time at home."],"help_when":[],"id":"about_you.filing_status_wizard.child_at_home_more_than_half","includes_united_states":false,"kind":"yesno","label":"Was your home the main home of your child, stepchild or foster child over half the year, and can you claim them?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":true}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A foster child does not count for this. A child born or adopted during the year counts if your home was their home the whole time since. Time away at school, on vacation or in hospital counts as time at home.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.qualifying_relative_gross_income_limit","value":0},"Answer yes too if you could claim your child except that their gross income was {context.qualifying_relative_gross_income_limit} or more, or they filed a joint return."]],"id":"about_you.filing_status_wizard.qss_child_lived_all_year","includes_united_states":false,"kind":"yesno","label":"Did a child or stepchild you can claim live in your home all year?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Time away at school, on vacation, in hospital or on military service counts as time at home.","help_lines":["A person who counts as your dependent only because they lived with you all year does not qualify you, and neither does a child you claim only because the other parent released the claim to you.","Your own child who lived with you counts even when you do not claim them."],"help_when":[],"id":"about_you.filing_status_wizard.relative_lived_with_you","includes_united_states":false,"kind":"yesno","label":"Did a dependent child or relative live with you over half the year?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 1040 instructions send you to Publication 501 for what counts as a cost of keeping up a home. Your own records of what the household spent are the evidence.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.paid_over_half_home_cost","includes_united_states":false,"kind":"yesno","label":"Did you pay over half the cost of keeping up your home this year?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]},{"op":"truthy","ref":"about_you.filing_status_wizard.relative_lived_with_you"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":true}]},{"op":"truthy","ref":"about_you.filing_status_wizard.child_at_home_more_than_half"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your parent does not have to live with you.","help_lines":["A parent you claim only under a multiple support agreement does not count."],"help_when":[],"id":"about_you.filing_status_wizard.parent_home","includes_united_states":false,"kind":"yesno","label":"Did you pay over half of a dependent parent's main home costs all year?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.relative_lived_with_you","value":false},{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_wizard.relative_lived_with_you"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Almost every married couple could. Answer no only if something would have stopped a joint return that year.","help_lines":[],"help_when":[],"id":"about_you.filing_status_wizard.could_have_filed_jointly","includes_united_states":false,"kind":"yesno","label":"Could you have filed jointly with your spouse for the year they died?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"truthy","ref":"about_you.filing_status_wizard.paid_over_half_home_cost"}]}]}},{"binds":"filing_status","clears":["household.has_spouse"],"currency_pickable":false,"derived_from_presence":[],"help":"Your situation on December 31 decides this. If more than one fits, you may choose the one that gives you the lower tax.","help_lines":["Single: you were not married on the last day of the year. If your spouse died during the year and you did not remarry in it, you can file jointly instead.","Married filing jointly or separately: you were married on the last day of the year, and you file one return together or you each file your own. If your spouse died during the year and you did not remarry in it, you can still file jointly.","Head of household: you were unmarried, or the law treats you as unmarried, and you paid more than half the cost of a home for a parent you can claim, or of the home you shared for more than half of the year with a child or relative who qualifies.","Qualifying surviving spouse: your spouse died in one of the two previous years, you have not remarried, and a child or stepchild you can claim lived in your home all year, and you paid over half the cost of keeping up that home.","The law treats you as unmarried for head of household in three cases: you were legally separated under a decree at the end of the year; you lived apart from your spouse for the last six months, file a separate return and paid more than half the cost of the home your child, stepchild or foster child lived in for more than half of the year; or your spouse is neither a United States citizen nor a United States resident and you have not chosen to have them treated as one.","For head of household, a parent you can claim does not have to live with you. Anyone else has to be a child or a relative who lived with you for more than half of the year, and someone who counts as your dependent only because they lived with you all year does not qualify you.","For a qualifying surviving spouse, a foster child does not count, although a foster child can still be a dependent on the return."],"help_when":[],"id":"about_you.filing_status","includes_united_states":false,"kind":"choice","label":"{name}, which filing status will you use?","label_when":[],"off_ramp":{"body":"You are married to someone who was neither a United States citizen nor a United States resident at some time during the year, you have not chosen to have them treated as one, and you have listed someone you support who may qualify you. The Form 1040 instructions treat a filer in that position as unmarried for head of household, which usually gives a lower tax than filing separately.","code":"head_of_household_may_apply","next_step":"Check the head of household tests in the Form 1040 instructions, and change your filing status on this page if you meet them.","severity":"info","title":"You may be able to file as head of household","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"eq","ref":"household.spouse.is_nonresident_alien","value":true},{"op":"eq","ref":"household.spouse.elected_to_be_treated_as_resident","value":false},{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"eq","ref":"household.dependents.relationship","value":"parent"},{"op":"gt","ref":"household.dependents.months_lived_with_taxpayer","value":6}]}]}]}},"options":[{"label":"Single: unmarried at the end of the year, and not widowed this year.","value":"single"},{"label":"Married filing jointly: married at year end or widowed this year; one joint return.","value":"mfj"},{"label":"Married filing separately: married at year end; separate returns.","value":"mfs"},{"help":"The law treats you as unmarried for this status in three cases. You were legally separated under a decree of divorce or separate maintenance at the end of the year. Or you lived apart from your spouse for the last six months of the year, you file a separate return, and you paid more than half the cost of the home your child, stepchild or foster child lived in for more than half of the year. Or your spouse was neither a United States citizen nor a United States resident at some time during the year and you have not chosen to have them treated as one. A parent you can claim does not have to live with you. Anyone else has to be a child or a relative who lived with you for more than half of the year, and someone who counts as your dependent only because they lived with you all year does not qualify you. Time away at school, on vacation, in hospital or on military service still counts as time at home.","label":"Head of household: unmarried or treated as unmarried, and you paid over half the cost of a home for a parent you can claim, or of your home shared over half the year with a qualifying child or relative.","value":"hoh"},{"help":"A foster child does not count for this status, although a foster child can still be a dependent on the return.","label":"Qualifying surviving spouse: widowed in either of the two previous years, not remarried, paying over half the cost of your home, where a child or stepchild you can claim lived all year.","value":"qss"}],"prefills":[{"confirm":true,"exact":false,"note":"We suggest qualifying surviving spouse. From your answers: your spouse died in one of the two years before this one and you have not remarried, your child or stepchild lived in your home all year, you paid more than half the cost of keeping up that home, and you could have filed jointly the year your spouse died. Those are the Form 1040 instructions' tests for this status, which uses the joint rates. Keep it, or choose any other status you qualify for.","value":"qss","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"truthy","ref":"about_you.filing_status_wizard.paid_over_half_home_cost"},{"op":"truthy","ref":"about_you.filing_status_wizard.could_have_filed_jointly"}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing jointly. From your answers: you were married on the last day of the year and you want to file one return together, which the Form 1040 instructions allow even if you did not live together. Keep it, or choose any other status you qualify for.","value":"mfj","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"truthy","ref":"about_you.filing_status_wizard.file_jointly"}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing jointly. From your answers: you and your spouse choose to have your spouse treated as a United States resident for the whole year, and that choice is made on a joint return with a statement you both sign. Keep it, or choose any other status you qualify for.","value":"mfj","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"truthy","ref":"about_you.filing_status_wizard.treat_spouse_as_resident"}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing jointly. From your answers: your spouse was a United States citizen or resident for only part of the year, and the two of you choose to be treated as United States residents for the whole year. That choice is made on a joint return with a statement you both sign. Keep it, or choose any other status you qualify for.","value":"mfj","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"truthy","ref":"about_you.filing_status_wizard.dual_status_choice"}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing jointly. From your answers: your spouse died during the year and you have not remarried, and the Form 1040 instructions let you file a joint return for that year. Keep it, or choose any other status you qualify for.","value":"mfj","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"during_the_year"}]}]}},{"confirm":true,"exact":false,"note":"We suggest head of household. From your answers: you are unmarried, or the law treats you as unmarried for this status, a child or relative who qualifies you lived with you for more than half of the year, and you paid more than half the cost of keeping up that home. That is Test 2 for head of household in the Form 1040 instructions. Keep it, or choose any other status you qualify for.","value":"hoh","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]},{"op":"truthy","ref":"about_you.filing_status_wizard.relative_lived_with_you"},{"op":"truthy","ref":"about_you.filing_status_wizard.paid_over_half_home_cost"}]}]}},{"confirm":true,"exact":false,"note":"We suggest head of household. From your answers: you are unmarried, or the law treats you as unmarried for this status, and you paid more than half the cost of keeping up the main home of a parent you can claim as a dependent. That is Test 1 for head of household in the Form 1040 instructions, and your parent did not have to live with you. Keep it, or choose any other status you qualify for.","value":"hoh","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.relative_lived_with_you","value":false},{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_wizard.relative_lived_with_you"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]},{"op":"truthy","ref":"about_you.filing_status_wizard.parent_home"}]}]}},{"confirm":true,"exact":false,"note":"We suggest head of household. From your answers: you lived apart from your spouse for the last six months of the year, you file a separate return, you paid more than half the cost of keeping up your home, and it was the main home of your child for more than half of the year. The Form 1040 instructions treat you as unmarried for head of household in that case. Keep it, or choose any other status you qualify for.","value":"hoh","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":true}]},{"op":"truthy","ref":"about_you.filing_status_wizard.child_at_home_more_than_half"},{"op":"truthy","ref":"about_you.filing_status_wizard.paid_over_half_home_cost"}]}]}},{"confirm":true,"exact":false,"note":"We suggest head of household. From your answers: you are unmarried, your child lived with you all year, and you paid more than half the cost of keeping up your home. That is Test 2 for head of household in the Form 1040 instructions. Qualifying surviving spouse also needs that you could have filed jointly the year your spouse died, which you said you could not. Keep it, or choose any other status you qualify for.","value":"hoh","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"truthy","ref":"about_you.filing_status_wizard.paid_over_half_home_cost"},{"op":"eq","ref":"about_you.filing_status_wizard.could_have_filed_jointly","value":false}]}]}},{"confirm":true,"exact":false,"note":"We suggest single. From your answers: you were not married on the last day of the year, and none of the head of household tests is met. Keep it, or choose any other status you qualify for.","value":"single","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.relative_lived_with_you","value":false},{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_wizard.relative_lived_with_you"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]},{"op":"eq","ref":"about_you.filing_status_wizard.parent_home","value":false}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing separately. From your answers: you were married on the last day of the year, you want to file your own return, and you did not live apart from your spouse for the last six months of the year, so head of household is not open to you. Keep it, or choose any other status you qualify for.","value":"mfs","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":false}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing separately. From your answers: you were married on the last day of the year and you want to file your own return. Living apart opens head of household only when you also paid more than half the cost of a home that was your child's main home for more than half of the year, which your answers do not show. Keep it, or choose any other status you qualify for.","value":"mfs","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":true}]},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.child_at_home_more_than_half","value":false},{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_wizard.child_at_home_more_than_half"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]}]}]}},{"confirm":true,"exact":false,"note":"We suggest married filing separately. From your answers: you were married on the last day of the year, you are not choosing to have your spouse treated as a United States resident, and none of the head of household tests is met. If you change your mind about that choice, a joint return becomes open to you. Keep it, or choose any other status you qualify for.","value":"mfs","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"eq","ref":"about_you.filing_status_wizard.qss_child_lived_all_year","value":false}]}]},{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.relative_lived_with_you","value":false},{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_wizard.relative_lived_with_you"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]},{"op":"truthy","ref":"about_you.filing_status_wizard.qss_child_lived_all_year"},{"op":"eq","ref":"about_you.filing_status_wizard.paid_over_half_home_cost","value":false}]}]},{"op":"eq","ref":"about_you.filing_status_wizard.parent_home","value":false}]}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"head_of_household_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Head of household is open to someone unmarried, and to a married person the Form 1040 instructions treat as unmarried for this status. Which one applies changes your tax.","help_lines":[],"help_when":[],"id":"about_you.head_of_household_basis","includes_united_states":false,"kind":"choice","label":"On the last day of the year, which of these was true for you?","label_when":[],"off_ramp":{"body":"A married person who lived apart from their spouse can file as head of household only for their own child, stepchild or foster child who lived with them for more than half the year. A parent, a brother or sister, a grandchild or another relative does not count here, and nobody you have listed is your child, stepchild or foster child.","code":"hoh_lived_apart_needs_a_child","next_step":"Check the people you listed, or choose married filing jointly or separately.","severity":"block","title":"Living apart needs your child at home","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"answered","ref":"household.dependents.relationship"}]},{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"answered","ref":"household.qualifying_person_not_dependent.relationship"}]}]},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child"]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild","foster_child"]}]}]}]}},"options":[{"label":"I was not married: never married, divorced, legally separated under a court decree, or widowed before the year began.","value":"unmarried"},{"label":"I was married, my spouse did not live in my home at any time in the last six months of the year, and my child, stepchild or foster child lived with me for more than half the year.","value":"lived_apart"},{"label":"I was married to someone who was not a United States citizen or resident at some time in the year, and we did not choose to treat them as a resident.","value":"nonresident_alien_spouse"}],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answers on this page about your marriage. Change it if that was not right.","value":"unmarried","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"not_married"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"earlier"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"widowed"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_died","value":"one_or_two_years_before"}]}]}]}},{"confirm":false,"exact":true,"note":"Filled in from your answer on this page that you lived apart from your spouse for the last six months of the year. Change it if that was not right.","value":"lived_apart","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"},{"op":"eq","ref":"about_you.filing_status_wizard.file_jointly","value":false},{"op":"eq","ref":"about_you.filing_status_wizard.lived_apart_last_six_months","value":true}]}]}},{"confirm":false,"exact":true,"note":"Filled in from your answers on this page about your spouse. Change it if that was not right.","value":"nonresident_alien_spouse","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_status_help"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.marital_status","value":"married"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"},{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"},{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":false}]}]}]}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"hoh"}},{"binds":"taxpayer.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it letter for letter from your Social Security card, or the letter that issued your number. A different spelling can make the IRS reject the return.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.first_name","includes_united_states":false,"kind":"text","label":"What is your first name?","label_when":[],"options":[],"placeholder":"Morgan","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"]},{"binds":"taxpayer.middle_initial","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One letter from the name on the card. Leave it blank if there is no middle name.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.middle_initial","includes_united_states":false,"kind":"text","label":"What is your middle initial?","label_when":[],"options":[],"placeholder":"J","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"]},{"binds":"taxpayer.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it letter for letter from your Social Security card, or the letter that issued your number. A different spelling can make the IRS reject the return.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.last_name","includes_united_states":false,"kind":"text","label":"What is your last name?","label_when":[],"options":[],"placeholder":"Simple","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"]},{"binds":"taxpayer.occupation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words, like Software Engineer.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.occupation","includes_united_states":false,"kind":"text","label":"What do you do for work?","label_when":[],"options":[],"placeholder":"Software engineer","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"occupation":{"message":"Write the job in ordinary letters and numbers. A letter with an accent cannot be filed.","message_too_long":"Write the job in 35 characters or fewer, which is all the IRS form has room for."}},"validators":["occupation"]},{"binds":"taxpayer.ssn_or_itin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Find it on your Social Security card. If the IRS gave you a taxpayer number (ITIN) instead, enter that. The IRS uses it to match this return to you.","help_lines":["For someone who died with no number and who could not get a Social Security number, leave it blank: we then ask about applying for an ITIN for them on Form W-7, sent with the return on paper."],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.ssn_or_itin","includes_united_states":false,"kind":"ssn","label":"What is your Social Security number?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.identity.Person._check_number_or_application","required_when":{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id":{"message":"Check the nine digits on your card and type them again, with or without hyphens.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Check the nine digits on your card and type them again, with or without hyphens."}},"validators":["nine_digit_tin","issued_taxpayer_id"]},{"binds":"taxpayer.date_of_birth","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your passport or birth certificate.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.date_of_birth","includes_united_states":false,"kind":"date","label":"{name}, when were you born?","label_when":[],"options":[],"placeholder":"1992-03-15","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"taxpayer.itin_on_recent_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The three tax years before this one count. A number from the IRS that was on no federal return for three years in a row has expired and has to be renewed with this return.","help_lines":["Your copies of those returns show it."],"help_when":[],"id":"about_you.taxpayer.itin_on_recent_return","includes_united_states":false,"kind":"choice","label":"Was your number on a federal tax return in the past three years?","label_when":[],"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"derived","ref":"about_you.taxpayer.number_is_itin"}},{"binds":"taxpayer.itin_issued_before_2013","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A number from the IRS issued before 2013 and never renewed has expired and has to be renewed with this return.","help_lines":["The IRS letter that gave the number shows the date."],"help_when":[],"id":"about_you.taxpayer.itin_issued_before_2013","includes_united_states":false,"kind":"choice","label":"Was your number issued before 2013 and never renewed?","label_when":[],"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"}]}},{"binds":"taxpayer.trump_account_excess_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A Trump account is a kind of individual retirement account opened for someone under 18. When more goes into it in a year than the yearly limit allows, you can owe an extra tax on Form 5329 on the excess, and the earnings on an excess paid back out are taxed. We do not prepare that part of the form, so a yes means this return cannot be filed from here. Answer yes even if the excess was later paid back. Choose Not sure if you cannot tell: the return cannot be filed from here until you answer yes or no.","help_lines":["A qualified rollover (a direct transfer of the whole balance from the child's earlier Trump account to a new one), a qualified general contribution and a pilot program contribution do not count toward the limit.","Earnings on an excess paid back out are shown in box 7d of the Form 1099-R for the account."],"help_when":[],"id":"about_you.taxpayer.trump_account_excess_contributions","includes_united_states":false,"kind":"yesno","label":"Did your Trump account get over the yearly limit, or earnings on that excess?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.trump_account_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":18}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":18}]}},{"binds":"taxpayer.date_of_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on the death certificate you hold.","help_lines":[],"help_when":[],"id":"about_you.taxpayer.date_of_death","includes_united_states":false,"kind":"date","label":"On what date did the person you are filing for die?","label_when":[],"options":[],"placeholder":"2025-09-11","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"about_you.filing_for_someone_who_died"}},{"binds":"taxpayer.claimable_as_dependent_of_another","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Usually a parent who supports an adult child. If you paid more than half of your own living costs, no one can claim you. Your answer sets a box on page one and the size of your flat deduction.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.claimable_as_dependent_of_another","includes_united_states":false,"kind":"yesno","label":"{name}, can someone else claim you as a dependent on their return?","label_when":[],"off_ramp":{"body":"When another person claims you as a dependent, the deduction and credit rules on this return change in ways we do not compute here.","code":"claimed_as_dependent","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot file a return for someone another person can claim","when":{"op":"eq","ref":"about_you.taxpayer.claimable_as_dependent_of_another","value":true}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.line_12a_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"taxpayer.us_citizen_or_national","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your passport, birth certificate or naturalization certificate is the record. Choose Not sure if you cannot check any of them.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.us_citizen_or_national","includes_united_states":false,"kind":"yesno","label":"Are you a United States citizen or national?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page, where you said you are a United States citizen. Change it here if that was not right.","value":true,"when":{"op":"eq","ref":"fit.citizenship_or_residency","value":"us_citizen"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"taxpayer.is_blind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if you were legally blind on December 31.","help_lines":["Keep it with your records; we do not need it.","If you were not totally blind, the Form 1040 instructions want a statement from your eye doctor.","The statement has to say that you cannot see better than 20/200 in your better eye with glasses or contact lenses, or that your field of vision is 20 degrees or less."],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.is_blind","includes_united_states":false,"kind":"yesno","label":"Were you legally blind on the last day of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"taxpayer.qualified_alien","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From 2026 the return asks this alongside citizenship, and only of a filer claiming a refund of more tax than they paid. The categories come from the federal benefit rules rather than the tax rules, so the letter that granted your status, or your immigration lawyer, is the record. Choose Not sure if you cannot check it.","help_lines":[],"help_when":[],"id":"about_you.taxpayer.qualified_alien","includes_united_states":false,"kind":"yesno","label":"Are you a qualified alien (a lawfully present non-citizen in one of the categories federal benefit programs recognize)?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false},{"op":"gt","ref":"context.tax_year","value":2025}]}},{"binds":"taxpayer.phone","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter its ten digits. If you only have a number from another country, leave this blank, because it cannot be entered here.","help_lines":["The IRS only needs it to take a payment from your bank."],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.taxpayer.phone","includes_united_states":false,"kind":"text","label":"What is your United States phone number, if you have one?","label_when":[],"options":[],"placeholder":"2065550100","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"phone_ten_digits":{"message":"Enter ten digits with no spaces or parentheses, for example 2065550100."}},"validators":["phone_ten_digits"]},{"address_variant":"full","binds":"taxpayer.mailing_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the address on your most recent bill or bank statement. A foreign address is fine.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"truthy","ref":"household.spouse_died_during_year"}]},"Give the address the IRS should write to about this return, which is usually yours rather than theirs."]],"id":"about_you.taxpayer.mailing_address","includes_united_states":false,"kind":"address","label":"Where should the IRS send your mail about this return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"lived_in_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You said you lived outside the United States this year and gave a United States address for your mail. Pick the country you were living in on December 31.","help_lines":["Pick the United States if you had moved back by then."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, pick the country you both lived in."]],"id":"about_you.lived_in_country","includes_united_states":false,"kind":"country","label":"Which country did you live in at the end of {context.return_year}?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"or","rules":[{"op":"eq","ref":"fit.earned_money_abroad","value":false},{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"territory_bona_fide_resident","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The territories are Puerto Rico, Guam, the Northern Mariana Islands, American Samoa and the United States Virgin Islands. Answer yes if one of them was your settled home at any time during the year, even if you moved there or left during it.","help_lines":["Income there is taxed under that territory's own rules, or reported on a return filed with it, and we prepare neither, so a yes means the return cannot be filed from here.","Choose Not sure if you cannot tell."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, answer for your spouse too."]],"id":"about_you.territory_bona_fide_resident","includes_united_states":false,"kind":"yesno","label":"Were you a bona fide resident (someone whose settled home is there) of a United States territory this year?","label_when":[],"off_ramp":{"body":"A bona fide resident of Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands is taxed under rules we do not prepare.","code":"territory_resident_not_supported","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns for residents of a United States territory","when":{"op":"truthy","ref":"about_you.territory_bona_fide_resident"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_us_territory"},{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["PR","GU","MP","AS","VI"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["PR","GU","MP","AS","VI"]}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"derived","ref":"where_you_lived.stint_in_puerto_rico"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"derived","ref":"spouse_abroad.stint_in_puerto_rico"}]}]}]}},{"binds":"taxpayer.mailing_address.in_care_of_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS requires a name on this line for a return that carries a date of death, and it makes any refund payable to the name written here, so write your own name as the person handling this return, and nobody else's.","help_lines":["Write the name on its own, with no address and no wording in front of it.","Leave out a title that carries a period.","Write Mrs E Soto rather than Mrs. E. Soto."],"help_when":[],"id":"about_you.taxpayer.mailing_address.in_care_of_name","includes_united_states":false,"kind":"text","label":"What is your own name, for the IRS to address its mail to?","label_when":[],"options":[],"placeholder":"Morgan Simple","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.assembly.completeness_blocking_notes","required_when":{"op":"or","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_death"},{"op":"answered","ref":"household.spouse.date_of_death"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"in_care_of_name":{"message":"Use only letters, numbers and spaces for the name your mail should be addressed to. The IRS does not accept a period or a comma here, so write Mrs E Soto rather than Mrs. E. Soto.","message_too_long":"Write the name in 33 characters or fewer, which is all the IRS leaves on that line once it adds its own mark."}},"validators":["in_care_of_name"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"truthy","ref":"household.spouse_died_during_year"}]}},{"binds":"citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country that issued your passport. The exclusion form (Form 2555) asks for it.","help_lines":["It is line 7 of Form 2555, and an exclusion claimed without it can be refused."],"help_when":[],"id":"about_you.citizenship_country","includes_united_states":false,"kind":"choice","label":"Which country are you a citizen or national of?","label_when":[],"options":[],"options_ref":"country_names","prefill":{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page, where you said you are a United States citizen. Change it here if that was not right.","value":"United States","when":{"op":"eq","ref":"fit.citizenship_or_residency","value":"us_citizen"}},"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_a_form_2555_claim_names_a_citizenship","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]}},{"binds":"filed_a_prior_year_return","clears":["about_you.prior_year_agi"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if last year was your first year of having to file, or if you did not have to file. Choose Not sure if you cannot remember.","help_lines":[],"help_when":[[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},"Give their details here, not yours: this return is for someone who died."]],"id":"about_you.filed_last_year","includes_united_states":false,"kind":"yesno","label":"Did you file a United States return for last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"prior_year_agi","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The adjusted gross income line near the bottom of page one of last year's Form 1040. It is line 11 on the 2024 form and line 11a on the 2025 form.","help_lines":["The IRS uses it to check the return really came from you.","If you no longer have the return, you can get the figure from your IRS online account at IRS.gov/Account.","Cannot find it? Choose Not sure only if you will sign with last year's five-digit signature PIN, or an identity protection PIN from the IRS: the return cannot be signed without one of the three."],"help_when":[],"id":"about_you.prior_year_agi","includes_united_states":false,"kind":"money","label":"{name}, what was your adjusted gross income (income after adjustments) on last year's return?","label_when":[],"options":[],"placeholder":"48000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"ne","ref":"about_you.filed_last_year","value":false}},{"binds":"digital_assets_received_or_disposed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A digital asset is, for example, crypto. Every return answers this, so answer no if you hold none, or only bought them with money, held them, or moved them between your own wallets. Your exchange statements list every sale.","help_lines":["Answer yes if you sold, exchanged or gave away any digital asset, or if you received one as pay, a reward, or for staking or mining.","Digital assets you received as income go on the other income list, as digital assets, and the ones you sold go on your sales."],"help_when":[],"id":"about_you.digital_assets_received_or_disposed","includes_united_states":false,"kind":"yesno","label":"Did you receive, sell, exchange or otherwise dispose of any digital asset this year?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.mef.mappers.f1040._emit_digital_assets","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"foreign_trust_activity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A loan of cash or shares from the trust counts as money received. Your trustee's statement is the record.","help_lines":["Answer yes if you set up a trust outside the United States, or put money or property in one, and it existed at any time this year, even if nothing happened in it this year.","A gift or inheritance from a foreign person or company is not a trust: the income page asks about it, and works out whether it needs Form 3520.","Choose Not sure if you cannot check. A return that needs Schedule B cannot be filed with this unanswered."],"help_when":[],"id":"about_you.foreign_trust_activity","includes_united_states":false,"kind":"yesno","label":"Did you get money from, or set up, a foreign trust that existed this year?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.forms.package._blocking_issues","required_when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"truthy","ref":"foreign_accounts.has_anything_abroad"},{"op":"truthy","ref":"income_sources.has_investment_income"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"foreign_trust_payments_or_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A loan of cash or marketable securities from the trust counts as a payment. Income the trust earns is taxed to you if you set it up and you or your family can benefit from it. Your trustee's statement is the record.","help_lines":["Answer no only if the trust paid you nothing, lent you nothing and left you no income to report.","Answering Not sure means we cannot file this return: we do not work out a foreign trust's payments or income. After a yes we ask whether the trust is only a pension plan."],"help_when":[],"id":"about_you.foreign_trust_payments_or_income","includes_united_states":false,"kind":"yesno","label":"Did the trust pay or lend you money, or leave income taxed to you?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.sch_b.compute_schedule_b","required_when":{"op":"truthy","ref":"about_you.foreign_trust_activity"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"about_you.foreign_trust_activity"}},{"binds":"foreign_trust_only_freed_pension_plans","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if every foreign trust here is a retirement plan paying you a pension you list on the income page, it lent you nothing, and none of its other income is taxed to you.","help_lines":["We then check each such plan on the income page against the rules that free it from Form 3520. A yes files only where the plan behind every pension from abroad on that page is confirmed as freed from Form 3520.","Choose Not sure if you cannot tell. A return with a trust that is anything else, or Not sure, cannot be filed from here."],"help_when":[],"id":"about_you.foreign_trust_only_freed_pension_plans","includes_united_states":false,"kind":"yesno","label":"Is the trust only the plan that pays one of your pensions from abroad?","label_when":[],"off_ramp":{"body":"Money a foreign trust paid or lent you, and income taxed to you as the person who set the trust up, goes on your return and on Form 3520, which we do not work out.","code":"foreign_trust_dealings","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a foreign trust's payments or income","when":{"op":"eq","ref":"about_you.foreign_trust_only_freed_pension_plans","value":false}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.sch_b.compute_schedule_b","required_when":{"op":"truthy","ref":"about_you.foreign_trust_payments_or_income"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"about_you.foreign_trust_payments_or_income"}},{"binds":"affected_by_declared_disaster","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 4868 and Form 2350, the forms that ask for more time to file, have a box for this.","help_lines":["The IRS bases disaster filing or payment relief on a confirmed residence or business location inside an area that a state or the federal government designated as a disaster area.","If it is found later that you were not in such an area, the extension or relief may be adjusted.","That may result in additional penalties or interest."],"help_when":[],"id":"about_you.affected_by_declared_disaster","includes_united_states":false,"kind":"yesno","label":"Were you affected by a state or federally declared disaster?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}}],"review":true,"title":"About you"},{"blurb":"Have the Social Security card and birth date of your spouse and each person you support nearby. These answers decide which credits you can claim.","id":"household","nodes":[{"clears":[],"currency_pickable":false,"derived_from_presence":["taxpayer.itin_application"],"help":"Someone who died with no Social Security number, and who could not get one, can be given an ITIN on Form W-7 sent with their return. We prepare the form from your answers.","help_lines":["A return with that application is filed on paper, with the application attached to its front, and mailed to the IRS ITIN office in Austin, Texas.","Say no if they had a number, and enter it as their taxpayer number."],"help_when":[],"id":"household.taxpayer_applies_for_itin","includes_united_states":false,"kind":"yesno","label":"Are you applying for an ITIN (an IRS number for people who cannot get a Social Security number) for the person who died?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]}},{"binds":"taxpayer.itin_application.ssn_eligibility","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only someone who cannot get a Social Security number can have an ITIN. A United States citizen can get one, and so can someone the United States admitted for permanent residence or to work there.","help_lines":["If the Social Security Administration has refused you a number, the letter saying so is sent with the application."],"help_when":[],"id":"household.taxpayer.itin_application.ssn_eligibility","includes_united_states":false,"kind":"choice","label":"Can you get a Social Security number?","label_when":[],"off_ramp":{"body":"The IRS does not give an ITIN to anyone who can get a Social Security number, or who has applied for one and is waiting. The return needs that number instead.","code":"itin_applicant_can_get_an_ssn","next_step":"Enter the Social Security number as their taxpayer number once it is issued. Your answers stay saved.","severity":"block","title":"Someone who can get a Social Security number cannot have an ITIN","when":{"op":"eq","ref":"household.taxpayer.itin_application.ssn_eligibility","value":"eligible_or_applied"}},"options":[{"label":"No. They are not a United States citizen, and were never admitted to the United States for permanent residence or to work","value":"not_eligible"},{"label":"No. The Social Security Administration told them in writing that they cannot get one","value":"ssa_denied"},{"label":"Yes, or they have applied for one and are waiting","value":"eligible_or_applied"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on your identity documents. Leave it blank if you have none.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.middle_name","includes_united_states":false,"kind":"text","label":"What is your middle name, as on your passport?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["taxpayer.itin_application.birth_name"],"help":"Your birth certificate shows the name you were born with.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.birth_name_differs","includes_united_states":false,"kind":"yesno","label":"Was your name at birth different from your name now?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.birth_name.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on your birth certificate.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.birth_name.first_name","includes_united_states":false,"kind":"text","label":"What was your first name at birth?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.birth_name_differs"}]}},{"binds":"taxpayer.itin_application.birth_name.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on your birth certificate.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.birth_name.last_name","includes_united_states":false,"kind":"text","label":"What was your last name at birth?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.birth_name_differs"}]}},{"binds":"taxpayer.itin_application.birth_name.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on your birth certificate. Leave it blank if there was none.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.birth_name.middle_name","includes_united_states":false,"kind":"text","label":"What was your middle name at birth?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.birth_name_differs"}]}},{"binds":"taxpayer.itin_application.sex","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The application has those two boxes. Choose the one your passport or birth certificate shows.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.sex","includes_united_states":false,"kind":"choice","label":"Which box does your application check, male or female?","label_when":[],"options":[{"label":"Male","value":"male"},{"label":"Female","value":"female"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.birth_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As your passport or birth certificate shows it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.birth_country","includes_united_states":false,"kind":"country","label":"In which country were you born?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.birth_city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As your passport or birth certificate shows it, for example Lyon, Rhone.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.birth_city","includes_united_states":false,"kind":"text","label":"In which city, and state or province, were you born?","label_when":[],"options":[],"placeholder":"Lyon, Rhone","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country that issued your passport or national identity card.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.citizenship_country","includes_united_states":false,"kind":"country","label":"Which country are you a citizen of?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"in","ref":"about_you.citizenship_country","values":["Afghanistan","Akrotiri","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Ashmore and Cartier Islands","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Baker Island","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bosnia-Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","British Virgin Islands","Brunei","Bulgaria","Burkina Faso","Burma","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Clipperton Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo (Brazzaville)","Congo (Kinshasa)","Cook Islands","Coral Sea Islands","Costa Rica","Cote D'Ivoire (Ivory Coast)","Croatia","Cuba","Curacao","Cyprus","Czech Republic","Denmark","Dhekelia","Djibouti","Dominica","Dominican Republic","East Timor","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Islas Malvinas)","Faroe Islands","Federated States of Micronesia","Fiji","Finland","France","French Polynesia","French Southern and Antarctic Lands","Gabon","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See","Honduras","Hong Kong","Howland Island","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Jan Mayen","Japan","Jarvis Island","Jersey","Johnston Atoll","Jordan","Kazakhstan","Kenya","Kingman Reef","Kiribati","Korea, Democratic People's Republic of (North)","Korea, Republic of (South)","Kosovo","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Macau","Macedonia","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Man, Isle of","Marshall Islands","Mauritania","Mauritius","Mexico","Midway Islands","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Namibia","Nauru","Navassa Island","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Northern Mariana Islands","Norway","Oman","Other Country","Pakistan","Palau","Palmyra Atoll","Panama","Papua-New Guinea","Paracel Islands","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Puerto Rico","Qatar","Romania","Russia","Rwanda","Saint Barthelemy","Saint Martin","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Spratly Islands","Sri Lanka","St. Helena","St. Kitts and Nevis","St. Lucia Island","St. Pierre and Miquelon","St. Vincent and the Grenadines","Sudan","Suriname","Svalbard","Swaziland","Sweden","Switzerland","Syria","Taiwan","Tajikistan","Tanzania","Thailand","The Gambia","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom (England, Northern Ireland, Scotland, and Wales)","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Virgin Islands","Wake Island","Wallis and Futuna","Western Sahara","Yemen (Aden)","Zambia","Zimbabwe"]}]}]}]}},{"binds":"taxpayer.itin_application.other_citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only for a citizen of two countries. Leave it blank if you are a citizen of one country only.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.other_citizenship_country","includes_united_states":false,"kind":"country","label":"Which other country are you also a citizen of?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.foreign_tax_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a Canadian Social Insurance Number, from your tax card or tax statement. Leave it blank if you have none.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.foreign_tax_id","includes_united_states":false,"kind":"text","label":"What tax number has the country you live in given you?","label_when":[],"options":[],"placeholder":"123456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["taxpayer.itin_application.us_visa"],"help":"A visa to visit, study or work in the United States, in your passport.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.has_us_visa","includes_united_states":false,"kind":"yesno","label":"Do you hold a United States visa?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.us_visa.classification","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The type printed on the visa, for example F-1 or B-2.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.us_visa.classification","includes_united_states":false,"kind":"text","label":"What type of United States visa do you hold?","label_when":[],"options":[],"placeholder":"B-2","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_us_visa"}]}},{"binds":"taxpayer.itin_application.us_visa.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number printed on the visa in your passport.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.us_visa.number","includes_united_states":false,"kind":"text","label":"What is the number of your United States visa?","label_when":[],"options":[],"placeholder":"12345678","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_us_visa"}]}},{"binds":"taxpayer.itin_application.us_visa.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the visa in your passport.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.us_visa.expires_on","includes_united_states":false,"kind":"date","label":"When does your United States visa expire?","label_when":[],"options":[],"placeholder":"2027-06-30","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_us_visa"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["taxpayer.itin_application.mailing_address"],"help":"The IRS sends the ITIN letter and returns the original documents to this address. Say no to use the mailing address on your return.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.mail_elsewhere","includes_united_states":false,"kind":"yesno","label":"Should the IRS write to you somewhere other than this return's address?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"address_variant":"full","binds":"taxpayer.itin_application.mailing_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own mailing address, from a letter or bill sent to you there.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.mailing_address","includes_united_states":false,"kind":"address","label":"Where should the IRS write to you?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.mail_elsewhere"}]}},{"binds":"taxpayer.itin_application.first_document.kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A passport is enough on its own. Without one, the IRS needs two different documents from its list, and one of them has to show the country you are a citizen of.","help_lines":["Send the original, or a copy certified by the office that issued it. An embassy or consulate may be able to certify a copy.","It must not have expired on the day you send it."],"help_when":[],"id":"household.taxpayer.itin_application.first_document.kind","includes_united_states":false,"kind":"choice","label":"Which document will you send to prove your identity?","label_when":[],"options":[{"label":"Passport","value":"passport"},{"label":"National identity card with photo, address, birth date and expiry","value":"national_id_card"},{"label":"Civil birth certificate","value":"birth_certificate"},{"label":"Driver's license from another country","value":"foreign_drivers_license"},{"label":"United States driver's license","value":"us_drivers_license"},{"label":"United States state identity card","value":"us_state_id"},{"label":"United States visa","value":"us_visa"},{"label":"United States immigration photo identity card","value":"uscis_photo_id"},{"label":"Military identity card from another country","value":"foreign_military_id"},{"label":"United States military identity card","value":"us_military_id"},{"label":"Voter registration card from another country","value":"foreign_voter_card"},{"label":"Medical records, for a child under 6","value":"medical_records"},{"label":"School records, for a student under 24","value":"school_records"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.first_document.issued_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the document itself names it, for example France or New York State.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.first_document.issued_by","includes_united_states":false,"kind":"text","label":"Which country, state or office issued your first document?","label_when":[],"options":[],"placeholder":"France","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.first_document.issued_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A birth certificate, medical record or school record shows the country you are a citizen of only if it comes from outside the United States.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.first_document.issued_outside_us","includes_united_states":false,"kind":"yesno","label":"Was your first document issued outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"in","ref":"household.taxpayer.itin_application.first_document.kind","values":["birth_certificate","medical_records","school_records"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.taxpayer.itin_application.has_second_document"},{"op":"in","ref":"household.taxpayer.itin_application.second_document.kind","values":["foreign_military_id","foreign_voter_card","national_id_card","passport","us_visa","uscis_photo_id"]}]}]}]}},{"binds":"taxpayer.itin_application.first_document.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it from the document. Leave it blank if the document carries no number.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.first_document.number","includes_united_states":false,"kind":"text","label":"What number is printed on your first document?","label_when":[],"options":[],"placeholder":"18AB12345","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.first_document.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the document. Leave it blank for a document with no expiry date, such as a birth certificate.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.first_document.expires_on","includes_united_states":false,"kind":"date","label":"When does your first document expire?","label_when":[],"options":[],"placeholder":"2031-04-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["taxpayer.itin_application.second_document"],"help":"Without a passport the IRS needs at least two different documents from its list.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.has_second_document","includes_united_states":false,"kind":"yesno","label":"Will you send a second document for yourself?","label_when":[],"off_ramp":{"body":"The IRS accepts a passport on its own. Any other document needs a second one of a different kind from its list.","code":"itin_documents_not_enough","next_step":"Add a second document, or send the passport instead.","severity":"block","title":"One document is not enough without a passport","when":{"op":"and","rules":[{"op":"ne","ref":"household.taxpayer.itin_application.first_document.kind","value":"passport"},{"op":"eq","ref":"household.taxpayer.itin_application.has_second_document","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.second_document.kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It has to be a different kind of document from the first one.","help_lines":["Send the original, or a copy certified by the office that issued it. An embassy or consulate may be able to certify a copy.","It must not have expired on the day you send it."],"help_when":[],"id":"household.taxpayer.itin_application.second_document.kind","includes_united_states":false,"kind":"choice","label":"Which second document will you send for yourself?","label_when":[],"options":[{"label":"Passport","value":"passport"},{"label":"National identity card with photo, address, birth date and expiry","value":"national_id_card"},{"label":"Civil birth certificate","value":"birth_certificate"},{"label":"Driver's license from another country","value":"foreign_drivers_license"},{"label":"United States driver's license","value":"us_drivers_license"},{"label":"United States state identity card","value":"us_state_id"},{"label":"United States visa","value":"us_visa"},{"label":"United States immigration photo identity card","value":"uscis_photo_id"},{"label":"Military identity card from another country","value":"foreign_military_id"},{"label":"United States military identity card","value":"us_military_id"},{"label":"Voter registration card from another country","value":"foreign_voter_card"},{"label":"Medical records, for a child under 6","value":"medical_records"},{"label":"School records, for a student under 24","value":"school_records"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_second_document"}]}},{"binds":"taxpayer.itin_application.second_document.issued_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the document itself names it, for example France or New York State.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.second_document.issued_by","includes_united_states":false,"kind":"text","label":"Which country, state or office issued your second document?","label_when":[],"options":[],"placeholder":"France","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_second_document"}]}},{"binds":"taxpayer.itin_application.second_document.issued_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A birth certificate, medical record or school record shows the country you are a citizen of only if it comes from outside the United States.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.second_document.issued_outside_us","includes_united_states":false,"kind":"yesno","label":"Was your second document issued outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_second_document"}]},{"op":"in","ref":"household.taxpayer.itin_application.second_document.kind","values":["birth_certificate","medical_records","school_records"]},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"household.taxpayer.itin_application.first_document.kind","values":["foreign_military_id","foreign_voter_card","national_id_card","passport","us_visa","uscis_photo_id"]},{"op":"truthy","ref":"household.taxpayer.itin_application.first_document.issued_outside_us"}]}]}]}},{"binds":"taxpayer.itin_application.second_document.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it from the document. Leave it blank if the document carries no number.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.second_document.number","includes_united_states":false,"kind":"text","label":"What number is printed on your second document?","label_when":[],"options":[],"placeholder":"18AB12345","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_second_document"}]}},{"binds":"taxpayer.itin_application.second_document.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the document. Leave it blank for a document with no expiry date, such as a birth certificate.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.second_document.expires_on","includes_united_states":false,"kind":"date","label":"When does your second document expire?","label_when":[],"options":[],"placeholder":"2031-04-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.has_second_document"}]}},{"binds":"taxpayer.itin_application.us_entry_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your passport stamp or arrival record shows it. Give the full date you entered the United States for the purpose the ITIN is needed for, where there is one.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.us_entry_date","includes_united_states":false,"kind":"date","label":"On what date did you enter the United States?","label_when":[],"options":[],"placeholder":"2024-08-15","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"taxpayer.itin_application.itin_issued_under_current_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter that gave the number shows the name. The renewal gives that name.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.itin_issued_under_current_name","includes_united_states":false,"kind":"yesno","label":"Was your number issued under the name on this return?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"taxpayer.itin_application.itin_issued_name.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter that gave the number shows it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.itin_issued_name.first_name","includes_united_states":false,"kind":"text","label":"Under what first name was your number issued?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"taxpayer.itin_application.itin_issued_name.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter that gave the number shows it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.itin_issued_name.last_name","includes_united_states":false,"kind":"text","label":"Under what last name was your number issued?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"taxpayer.itin_application.also_has_irsn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An IRS number is one the IRS gave when someone filed or paid without a number. An IRS letter to you would show it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.also_has_irsn","includes_united_states":false,"kind":"yesno","label":"Did the IRS also give you an IRS number?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"taxpayer.itin_application.itin_issued_name.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter shows it. Leave it blank if it shows none.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.itin_issued_name.middle_name","includes_united_states":false,"kind":"text","label":"Under what middle name was your number issued?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"taxpayer.itin_application.earlier_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An ITIN, or an IRS number given when someone filed or paid without one. An IRS letter to you would show it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.earlier_number","includes_united_states":false,"kind":"choice","label":"Has the IRS ever given you a number of its own?","label_when":[],"off_ramp":{"body":"An ITIN the IRS has given is that person's number for good, so the return uses it rather than a new application. If it has expired, we prepare its renewal once it is entered.","code":"itin_applicant_has_an_itin","next_step":"Enter that ITIN as their taxpayer number. Your answers stay saved.","severity":"block","title":"An ITIN already given is the number to use","when":{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"itin"}},"options":[{"label":"No, or I do not know","value":"none_or_unknown"},{"label":"Yes, an IRS number given when they filed or paid without a number","value":"irsn"},{"label":"Yes, an individual taxpayer identification number","value":"itin"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]}},{"binds":"taxpayer.itin_application.irsn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Nine digits, from the IRS letter about the return or payment.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.irsn","includes_united_states":false,"kind":"text","label":"What is the IRS number the IRS gave you?","label_when":[],"options":[],"placeholder":"912345678","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.also_has_irsn","value":true}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.also_has_irsn"}]}]}},{"binds":"taxpayer.itin_application.irsn_first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter about that number shows it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.irsn_first_name","includes_united_states":false,"kind":"text","label":"Under what first name was your IRS number given?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]}},{"binds":"taxpayer.itin_application.irsn_middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter shows it. Leave it blank if it shows none.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.irsn_middle_name","includes_united_states":false,"kind":"text","label":"Under what middle name was your IRS number given?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]}},{"binds":"taxpayer.itin_application.irsn_last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter about that number shows it.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.irsn_last_name","includes_united_states":false,"kind":"text","label":"Under what last name was your IRS number given?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"eq","ref":"household.taxpayer.itin_application.earlier_number","value":"irsn"}]}},{"clears":["household.spouse.first_name","household.spouse.middle_initial","household.spouse.last_name","household.spouse.ssn_or_itin","household.spouse.is_nonresident_alien","household.spouse.resident_for_part_of_year","household.spouse.elected_to_be_treated_as_resident","household.spouse.date_of_birth","household.spouse.trump_account_excess_contributions","household.spouse_died_during_year","household.spouse.date_of_death","household.spouse.is_blind","household.spouse.had_no_gross_income","household.spouse.is_filing_return","household.spouse.claimable_as_dependent_of_another","household.spouse.occupation","spouse_abroad"],"currency_pickable":false,"derived_from_presence":["spouse"],"help":"Say yes if you are married, even when your spouse lives in another country and files nothing here.","help_lines":[],"help_when":[],"id":"household.has_spouse","includes_united_states":false,"kind":"yesno","label":"Does your spouse belong on this return?","label_when":[],"off_ramp":{"body":"You chose a married filing status. A joint return puts you and your spouse on one return, and a separate return names your spouse beside the filing status, so either way the return needs your spouse's details.","code":"joint_return_without_a_spouse","next_step":"Add your spouse here, or change your filing status on the About you page.","severity":"review","title":"Your filing status needs your spouse on the return","when":{"op":"and","rules":[{"op":"in","ref":"about_you.filing_status","values":["mfj","mfs"]},{"op":"eq","ref":"household.has_spouse","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"about_you.filing_status","values":["mfj","mfs"]}},{"binds":"spouse.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Exactly as on their Social Security card or the letter that issued it.","help_lines":[],"help_when":[],"id":"household.spouse.first_name","includes_united_states":false,"kind":"text","label":"What is your spouse's first name?","label_when":[],"options":[],"placeholder":"Jamie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"gt","ref":"income_sources.passive_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"gt","ref":"income_sources.capital_transactions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"gt","ref":"income_sources.pensions_and_annuities.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"gt","ref":"income_sources.royalties.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"gt","ref":"income_sources.unemployment.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"gt","ref":"income_sources.other_income.community_property_share_percent","value":0}]}]}]}]}},{"binds":"spouse.middle_initial","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One letter from the name on their card.","help_lines":[],"help_when":[],"id":"household.spouse.middle_initial","includes_united_states":false,"kind":"text","label":"What is your spouse's middle initial, if they use one?","label_when":[],"options":[],"placeholder":"R","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"truthy","ref":"household.has_spouse"}},{"binds":"spouse.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Exactly as on their Social Security card or the letter that issued it.","help_lines":[],"help_when":[],"id":"household.spouse.last_name","includes_united_states":false,"kind":"text","label":"What is your spouse's last name?","label_when":[],"options":[],"placeholder":"Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"gt","ref":"income_sources.passive_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"gt","ref":"income_sources.capital_transactions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"gt","ref":"income_sources.pensions_and_annuities.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"gt","ref":"income_sources.royalties.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"gt","ref":"income_sources.unemployment.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"gt","ref":"income_sources.other_income.community_property_share_percent","value":0}]}]}]}]}},{"binds":"spouse.ssn_or_itin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their card, or the letter the IRS sent when it issued the number.","help_lines":["On a joint return, leave it blank only if your spouse has no number and cannot get a Social Security number: we then ask about applying for an ITIN on Form W-7, sent with the return on paper.","On a separate return you can leave it blank only when your spouse is neither a United States citizen nor a United States resident and has never been issued one."],"help_when":[],"id":"household.spouse.ssn_or_itin","includes_united_states":false,"kind":"ssn","label":"What is your spouse's nine-digit taxpayer number?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_joint_return_has_both_spouses","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"household.spouse_applies_for_itin","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"eq","ref":"household.spouse.is_nonresident_alien","value":false}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id":{"message":"Check the nine digits on your spouse's card and type them again.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Check the nine digits on your spouse's card and type them again."}},"validators":["nine_digit_tin","issued_taxpayer_id"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"gt","ref":"income_sources.passive_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"gt","ref":"income_sources.capital_transactions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"gt","ref":"income_sources.pensions_and_annuities.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"gt","ref":"income_sources.royalties.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"gt","ref":"income_sources.unemployment.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"gt","ref":"income_sources.other_income.community_property_share_percent","value":0}]}]}]}]}},{"binds":"spouse.date_of_birth","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their passport or birth certificate. A joint return cannot be filed without it, because the IRS matches it against your spouse's own record.","help_lines":[],"help_when":[],"id":"household.spouse.date_of_birth","includes_united_states":false,"kind":"date","label":"What is your spouse's date of birth?","label_when":[],"options":[],"placeholder":"1986-09-01","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_joint_return_has_both_spouses","required_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"household.has_spouse"}},{"binds":"spouse.trump_account_excess_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A Trump account is a kind of individual retirement account opened for someone under 18. When more goes into it in a year than the yearly limit allows, you can owe an extra tax on Form 5329 on the excess, and the earnings on an excess paid back out are taxed. We do not prepare that part of the form, so a yes means this return cannot be filed from here. Answer yes even if the excess was later paid back. Choose Not sure if you cannot tell: the return cannot be filed from here until you answer yes or no.","help_lines":["A qualified rollover (a direct transfer of the whole balance from the child's earlier Trump account to a new one), a qualified general contribution and a pilot program contribution do not count toward the limit.","Earnings on an excess paid back out are shown in box 7d of the Form 1099-R for the account."],"help_when":[],"id":"household.spouse.trump_account_excess_contributions","includes_united_states":false,"kind":"yesno","label":"Did your spouse's Trump account get over the limit, or earnings on that excess?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.trump_account_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"age_lt","ref":"household.spouse.date_of_birth","value":18}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"age_lt","ref":"household.spouse.date_of_birth","value":18}]}]}},{"clears":["household.spouse.date_of_death","household.surviving_spouse_filing"],"currency_pickable":false,"derived_from_presence":["spouse.date_of_death"],"help":"We only ask so the return is signed and marked correctly. Say yes if your spouse died during the year or after it ended, before this return is filed. Say no if your spouse is alive.","help_lines":[],"help_when":[],"id":"household.spouse_died_during_year","includes_united_states":false,"kind":"yesno","label":"Did your spouse die, during the year or since?","label_when":[],"off_ramp":{"body":"A joint return for a spouse who has died is signed by you as the surviving spouse, with the box for a person who has died checked beside your spouse's name, the date of death entered, and Filing as surviving spouse written where you sign. We do not prepare that signature here, so this return cannot be filed electronically through us.","code":"deceased_filer","next_step":"Save your answers. A return like this can be filed on paper, and the Form 1040 instructions explain what it needs under Death of a Taxpayer.","severity":"block","title":"We cannot file a joint return for a spouse who has died","when":{"op":"truthy","ref":"household.spouse_died_during_year"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"spouse.date_of_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on the death certificate.","help_lines":[],"help_when":[],"id":"household.spouse.date_of_death","includes_united_states":false,"kind":"date","label":"On what date did your spouse die?","label_when":[],"options":[],"placeholder":"2025-09-11","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"household.spouse_died_during_year"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"household.spouse_died_during_year"}},{"binds":"spouse.is_blind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If your spouse was not totally blind, the Form 1040 instructions want a statement from their eye doctor saying that they cannot see better than 20/200 in the better eye with glasses or contact lenses, or that the field of vision is 20 degrees or less. Keep it with your records; we do not need it.","help_lines":[],"help_when":[],"id":"household.spouse.is_blind","includes_united_states":false,"kind":"yesno","label":"Was your spouse legally blind on the last day of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"household.has_spouse"}},{"binds":"spouse_filed_a_prior_year_return","clears":["household.spouse_prior_year_agi"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if last year was their first year of having to file, or if they did not have to file. They may have filed separately from you, so this is their own answer. Choose Not sure if you cannot check with them.","help_lines":[],"help_when":[],"id":"household.spouse_filed_last_year","includes_united_states":false,"kind":"yesno","label":"Did your spouse file a United States return for last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"spouse_prior_year_agi","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The adjusted gross income line near the bottom of page one of the return they filed, line 11 on the 2024 form and line 11a on the 2025 form.","help_lines":["If you filed together last year it is the same figure as yours.","If they no longer have the return, the figure is in their IRS online account at IRS.gov/Account.","Choose Not sure if they no longer have it."],"help_when":[],"id":"household.spouse_prior_year_agi","includes_united_states":false,"kind":"money","label":"What was your spouse's adjusted gross income (their total income after the adjustments near the bottom of page one) on last year's return?","label_when":[],"options":[],"placeholder":"48000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"ne","ref":"household.spouse_filed_last_year","value":false}]}},{"binds":"spouse.occupation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from their employment contract or their own description of their trade.","help_lines":[],"help_when":[],"id":"household.spouse.occupation","includes_united_states":false,"kind":"text","label":"What is your spouse's occupation?","label_when":[],"options":[],"placeholder":"Designer","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"occupation":{"message":"Write the job in ordinary letters and numbers. A letter with an accent cannot be filed.","message_too_long":"Write the job in 35 characters or fewer, which is all the IRS form has room for."}},"validators":["occupation"],"visible_when":{"op":"truthy","ref":"household.has_spouse"}},{"binds":"spouse.is_nonresident_alien","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if your spouse was neither a United States citizen nor a United States resident for all or part of the year, including a spouse who became, or stopped being, one during the year. A green card makes someone a United States resident, and so can the substantial presence test, which counts the days spent in the United States (Publication 519 has the details). Their passport, their immigration papers and their travel dates show which applies.","help_lines":[],"help_when":[],"id":"household.spouse.is_nonresident_alien","includes_united_states":false,"kind":"yesno","label":"This year, was your spouse ever neither a United States citizen nor resident?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that your spouse was a United States citizen or resident for the whole year. Change it if that was not right.","value":false,"when":{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"whole_year"}},{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that your spouse was not a United States citizen or resident at any time during the year. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"}},{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that your spouse was a United States citizen or resident for only part of the year, so not for the rest of it. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"household.has_spouse"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You answered no to this before, about how things stood then. Only your answer about the whole year, above, is used now.","help_lines":[],"help_when":[],"id":"household.spouse.status_answer_before_version_7","includes_united_states":false,"kind":"yesno","label":"Is your spouse neither a United States citizen nor a United States resident?","label_when":[],"off_ramp":{"body":"You told us before that your spouse was a United States citizen or resident. The question now asks about any time during the year, so that answer is kept but no longer used.","code":"spouse_status_earlier_answer_kept","next_step":"Answer the question about your spouse during the whole year.","severity":"info","title":"Your earlier answer about your spouse is kept","when":{"op":"eq","ref":"household.spouse.status_answer_before_version_7","value":false}},"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"household.spouse.status_answer_before_version_7","value":false}},{"binds":"spouse.resident_for_part_of_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if your spouse became, or stopped being, a United States citizen or resident during the year. Their immigration papers and travel dates show it. It decides whether your return can show NRA in place of a number your spouse does not have, and how assets you own together abroad are counted. Choose Not sure if you cannot check.","help_lines":[],"help_when":[],"id":"household.spouse.resident_for_part_of_year","includes_united_states":false,"kind":"yesno","label":"Was your spouse a United States citizen or resident for part of the year?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that your spouse was a United States citizen or resident for part of the year. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"part_of_year"}},{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that your spouse was not a United States citizen or resident at any time during the year. Change it if that was not right.","value":false,"when":{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"}}],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}},{"binds":"spouse.elected_to_be_treated_as_resident","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is a choice to be treated as United States residents, made in a written statement you both sign and attach to a joint return. Say no if you have never made it.","help_lines":["The choice for a spouse who was not a resident at any time in the year stays in effect for later years until it is ended.","The choice for a spouse who was a citizen or resident on the last day of the year but not at its start covers that year only."],"help_when":[],"id":"household.spouse.elected_to_be_treated_as_resident","includes_united_states":false,"kind":"yesno","label":"Have you both chosen to be treated as residents for the whole year?","label_when":[],"off_ramp":{"body":"You chose married filing jointly, and your spouse was not a United States citizen or resident for some or all of the year. A couple in that position can file one return together only by choosing to be treated as United States residents for the whole year.","code":"joint_return_nonresident_spouse_needs_choice","next_step":"Make the choice and answer yes here, or change your filing status on the About you page.","severity":"block","title":"A joint return here needs the choice to be treated as residents","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"eq","ref":"household.spouse.elected_to_be_treated_as_resident","value":false}]}},"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that you and your spouse are choosing to have your spouse treated as a United States resident. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"about_you.filing_status_wizard.treat_spouse_as_resident","value":true}},{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that you and your spouse are choosing to be treated as United States residents for the whole year. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"about_you.filing_status_wizard.dual_status_choice","value":true}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"}]}},{"binds":"first_year_6013g_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first year needs a signed statement attached to the return. Your own copy of the statement will show the year. The choice for a spouse who became a resident during the year covers one year only, so answer yes for it.","help_lines":[],"help_when":[],"id":"household.first_year_6013g_election","includes_united_states":false,"kind":"yesno","label":"Is this the first year your choice treating your spouse as a resident applies?","label_when":[],"off_ramp":{"body":"The first year this choice applies, the IRS wants a statement signed by both of you saying that you are making it.","code":"nonresident_spouse_statement_required","next_step":"Upload the signed statement on the documents page before you send the return.","severity":"info","title":"You will need to attach a signed statement","when":{"op":"truthy","ref":"household.first_year_6013g_election"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}},{"binds":"niit_joint_return_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax on investment income has its own choice to use your joint return, made in a statement for the first year either of you owes that tax, and it stays in effect after that. Without it, that tax is worked out as if you filed separately.","help_lines":["Choose Not sure if you cannot tell. The return can then be filed only where the answer changes nothing."],"help_when":[],"id":"household.niit_joint_return_election","includes_united_states":false,"kind":"choice","label":"Have you both also chosen a joint return for the tax on investment income?","label_when":[],"options":[{"label":"Yes, and my spouse was not a United States citizen or resident on the last day of the year.","value":"section_6013g"},{"label":"Yes, and we were both United States citizens or residents on the last day of the year.","value":"section_6013h"},{"label":"No, we have not made that choice.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}},{"binds":"spouse_citizen_or_resident_at_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It decides what the signed statement for the first year says. Their immigration papers and travel dates show it. Choose Not sure if you cannot check; the return cannot be filed until it is answered.","help_lines":[],"help_when":[],"id":"household.spouse_citizen_or_resident_at_year_end","includes_united_states":false,"kind":"yesno","label":"Was your spouse a US citizen or resident when the year ended?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answer about the tax on investment income that your spouse was not a United States citizen or resident on the last day of the year. Change it if that was not right.","value":false,"when":{"op":"eq","ref":"household.niit_joint_return_election","value":"section_6013g"}},{"confirm":false,"exact":true,"note":"Filled in from your answer about the tax on investment income that you were both United States citizens or residents on the last day of the year. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"household.niit_joint_return_election","value":"section_6013h"}},{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page that your spouse was not a United States citizen or resident at any time during the year. Change it if that was not right.","value":false,"when":{"op":"eq","ref":"about_you.filing_status_wizard.spouse_us_status","value":"not_at_all"}}],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"},{"op":"truthy","ref":"household.first_year_6013g_election"}]}},{"binds":"spouse.itin_on_recent_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The three tax years before this one count. A number from the IRS that was on no federal return for three years in a row has expired, and we then renew it with this return.","help_lines":["Your copies of those returns show it."],"help_when":[],"id":"household.spouse.itin_on_recent_return","includes_united_states":false,"kind":"choice","label":"Was your spouse's number on a federal tax return in the past three years?","label_when":[],"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]}},{"binds":"spouse.itin_issued_before_2013","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A number from the IRS issued before 2013 and never renewed has expired, and we then renew it with this return.","help_lines":["The IRS letter that gave the number shows the date."],"help_when":[],"id":"household.spouse.itin_issued_before_2013","includes_united_states":false,"kind":"choice","label":"Was your spouse's number issued before 2013 and never renewed?","label_when":[],"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["spouse.itin_application"],"help":"A spouse who has no Social Security number and cannot get one applies for an ITIN on Form W-7, sent with your joint return. We prepare the form from your answers.","help_lines":["A return with that application is filed on paper, with the application attached to its front, and mailed to the IRS ITIN office in Austin, Texas.","Say no if your spouse has a number, and enter it as their taxpayer number."],"help_when":[],"id":"household.spouse_applies_for_itin","includes_united_states":false,"kind":"yesno","label":"Is your spouse applying for an ITIN (an IRS number for people who cannot get a Social Security number) with this return?","label_when":[],"off_ramp":{"body":"A return that carries an application for an ITIN is filed on paper, with the application attached to its front. We prepare both, and list the documents to send and the address to mail them to.","code":"itin_application_paper_route","next_step":"Continue. At the end you print, sign and mail the return and the application.","severity":"info","title":"This return will be filed on paper","when":{"op":"truthy","ref":"household.spouse_applies_for_itin"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]}},{"binds":"spouse.itin_application.ssn_eligibility","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only someone who cannot get a Social Security number can have an ITIN. A United States citizen can get one, and so can someone the United States admitted for permanent residence or to work there.","help_lines":["If the Social Security Administration has refused them a number, the letter saying so is sent with the application."],"help_when":[],"id":"household.spouse.itin_application.ssn_eligibility","includes_united_states":false,"kind":"choice","label":"Can your spouse get a Social Security number?","label_when":[],"off_ramp":{"body":"The IRS does not give an ITIN to anyone who can get a Social Security number, or who has applied for one and is waiting. The return needs that number instead.","code":"itin_applicant_can_get_an_ssn","next_step":"Enter the Social Security number as their taxpayer number once it is issued. Your answers stay saved.","severity":"block","title":"Someone who can get a Social Security number cannot have an ITIN","when":{"op":"eq","ref":"household.spouse.itin_application.ssn_eligibility","value":"eligible_or_applied"}},"options":[{"label":"No. They are not a United States citizen, and were never admitted to the United States for permanent residence or to work","value":"not_eligible"},{"label":"No. The Social Security Administration told them in writing that they cannot get one","value":"ssa_denied"},{"label":"Yes, or they have applied for one and are waiting","value":"eligible_or_applied"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their identity documents. Leave it blank if they have none.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.middle_name","includes_united_states":false,"kind":"text","label":"What is your spouse's middle name, as on their passport?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["spouse.itin_application.birth_name"],"help":"Their birth certificate shows the name they were born with.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.birth_name_differs","includes_united_states":false,"kind":"yesno","label":"Was your spouse's name at birth different from their name now?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.birth_name.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.birth_name.first_name","includes_united_states":false,"kind":"text","label":"What was your spouse's first name at birth?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.birth_name_differs"}]}},{"binds":"spouse.itin_application.birth_name.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.birth_name.last_name","includes_united_states":false,"kind":"text","label":"What was your spouse's last name at birth?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.birth_name_differs"}]}},{"binds":"spouse.itin_application.birth_name.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate. Leave it blank if there was none.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.birth_name.middle_name","includes_united_states":false,"kind":"text","label":"What was your spouse's middle name at birth?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.birth_name_differs"}]}},{"binds":"spouse.itin_application.sex","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The application has those two boxes. Choose the one their passport or birth certificate shows.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.sex","includes_united_states":false,"kind":"choice","label":"Which box does your spouse's application check, male or female?","label_when":[],"options":[{"label":"Male","value":"male"},{"label":"Female","value":"female"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.birth_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As their passport or birth certificate shows it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.birth_country","includes_united_states":false,"kind":"country","label":"In which country was your spouse born?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.birth_city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As their passport or birth certificate shows it, for example Lyon, Rhone.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.birth_city","includes_united_states":false,"kind":"text","label":"In which city, and state or province, was your spouse born?","label_when":[],"options":[],"placeholder":"Lyon, Rhone","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country that issued their passport or national identity card.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.citizenship_country","includes_united_states":false,"kind":"country","label":"Which country is your spouse a citizen of?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.other_citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only for a citizen of two countries. Leave it blank if they are a citizen of one country only.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.other_citizenship_country","includes_united_states":false,"kind":"country","label":"Which other country is your spouse also a citizen of?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.foreign_tax_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a Canadian Social Insurance Number, from their tax card or tax statement. Leave it blank if they have none.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.foreign_tax_id","includes_united_states":false,"kind":"text","label":"What tax number has the country your spouse lives in given them?","label_when":[],"options":[],"placeholder":"123456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["spouse.itin_application.us_visa"],"help":"A visa to visit, study or work in the United States, in their passport.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.has_us_visa","includes_united_states":false,"kind":"yesno","label":"Does your spouse hold a United States visa?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.us_visa.classification","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The type printed on the visa, for example F-1 or B-2.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.us_visa.classification","includes_united_states":false,"kind":"text","label":"What type of United States visa does your spouse hold?","label_when":[],"options":[],"placeholder":"B-2","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_us_visa"}]}},{"binds":"spouse.itin_application.us_visa.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number printed on the visa in their passport.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.us_visa.number","includes_united_states":false,"kind":"text","label":"What is the number of your spouse's United States visa?","label_when":[],"options":[],"placeholder":"12345678","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_us_visa"}]}},{"binds":"spouse.itin_application.us_visa.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the visa in their passport.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.us_visa.expires_on","includes_united_states":false,"kind":"date","label":"When does your spouse's United States visa expire?","label_when":[],"options":[],"placeholder":"2027-06-30","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_us_visa"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["spouse.itin_application.mailing_address"],"help":"The IRS sends the ITIN letter and returns the original documents to this address. Say no to use the mailing address on your return.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.mail_elsewhere","includes_united_states":false,"kind":"yesno","label":"Should the IRS write to your spouse at another address than yours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"address_variant":"full","binds":"spouse.itin_application.mailing_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their own mailing address, from a letter or bill sent to them there.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.mailing_address","includes_united_states":false,"kind":"address","label":"Where should the IRS write to your spouse?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.mail_elsewhere"}]}},{"binds":"spouse.itin_application.first_document.kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A passport is enough on its own. Without one, the IRS needs two different documents from its list, and one of them has to show the country they are a citizen of.","help_lines":["Send the original, or a copy certified by the office that issued it. An embassy or consulate may be able to certify a copy.","It must not have expired on the day you send it."],"help_when":[],"id":"household.spouse.itin_application.first_document.kind","includes_united_states":false,"kind":"choice","label":"Which document will you send to prove your spouse's identity?","label_when":[],"options":[{"label":"Passport","value":"passport"},{"label":"National identity card with photo, address, birth date and expiry","value":"national_id_card"},{"label":"Civil birth certificate","value":"birth_certificate"},{"label":"Driver's license from another country","value":"foreign_drivers_license"},{"label":"United States driver's license","value":"us_drivers_license"},{"label":"United States state identity card","value":"us_state_id"},{"label":"United States visa","value":"us_visa"},{"label":"United States immigration photo identity card","value":"uscis_photo_id"},{"label":"Military identity card from another country","value":"foreign_military_id"},{"label":"United States military identity card","value":"us_military_id"},{"label":"Voter registration card from another country","value":"foreign_voter_card"},{"label":"Medical records, for a child under 6","value":"medical_records"},{"label":"School records, for a student under 24","value":"school_records"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.first_document.issued_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the document itself names it, for example France or New York State.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.first_document.issued_by","includes_united_states":false,"kind":"text","label":"Which country, state or office issued your spouse's first document?","label_when":[],"options":[],"placeholder":"France","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.first_document.issued_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A birth certificate, medical record or school record shows the country they are a citizen of only if it comes from outside the United States.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.first_document.issued_outside_us","includes_united_states":false,"kind":"yesno","label":"Was your spouse's first document issued outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"in","ref":"household.spouse.itin_application.first_document.kind","values":["birth_certificate","medical_records","school_records"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.spouse.itin_application.has_second_document"},{"op":"in","ref":"household.spouse.itin_application.second_document.kind","values":["foreign_military_id","foreign_voter_card","national_id_card","passport","us_visa","uscis_photo_id"]}]}]}]}},{"binds":"spouse.itin_application.first_document.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it from the document. Leave it blank if the document carries no number.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.first_document.number","includes_united_states":false,"kind":"text","label":"What number is printed on your spouse's first document?","label_when":[],"options":[],"placeholder":"18AB12345","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.first_document.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the document. Leave it blank for a document with no expiry date, such as a birth certificate.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.first_document.expires_on","includes_united_states":false,"kind":"date","label":"When does your spouse's first document expire?","label_when":[],"options":[],"placeholder":"2031-04-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["spouse.itin_application.second_document"],"help":"Without a passport the IRS needs at least two different documents from its list.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.has_second_document","includes_united_states":false,"kind":"yesno","label":"Will you send a second document for your spouse?","label_when":[],"off_ramp":{"body":"The IRS accepts a passport on its own. Any other document needs a second one of a different kind from its list.","code":"itin_documents_not_enough","next_step":"Add a second document, or send the passport instead.","severity":"block","title":"One document is not enough without a passport","when":{"op":"and","rules":[{"op":"ne","ref":"household.spouse.itin_application.first_document.kind","value":"passport"},{"op":"eq","ref":"household.spouse.itin_application.has_second_document","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.second_document.kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It has to be a different kind of document from the first one.","help_lines":["Send the original, or a copy certified by the office that issued it. An embassy or consulate may be able to certify a copy.","It must not have expired on the day you send it."],"help_when":[],"id":"household.spouse.itin_application.second_document.kind","includes_united_states":false,"kind":"choice","label":"Which second document will you send for your spouse?","label_when":[],"options":[{"label":"Passport","value":"passport"},{"label":"National identity card with photo, address, birth date and expiry","value":"national_id_card"},{"label":"Civil birth certificate","value":"birth_certificate"},{"label":"Driver's license from another country","value":"foreign_drivers_license"},{"label":"United States driver's license","value":"us_drivers_license"},{"label":"United States state identity card","value":"us_state_id"},{"label":"United States visa","value":"us_visa"},{"label":"United States immigration photo identity card","value":"uscis_photo_id"},{"label":"Military identity card from another country","value":"foreign_military_id"},{"label":"United States military identity card","value":"us_military_id"},{"label":"Voter registration card from another country","value":"foreign_voter_card"},{"label":"Medical records, for a child under 6","value":"medical_records"},{"label":"School records, for a student under 24","value":"school_records"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_second_document"}]}},{"binds":"spouse.itin_application.second_document.issued_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the document itself names it, for example France or New York State.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.second_document.issued_by","includes_united_states":false,"kind":"text","label":"Which country, state or office issued your spouse's second document?","label_when":[],"options":[],"placeholder":"France","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_second_document"}]}},{"binds":"spouse.itin_application.second_document.issued_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A birth certificate, medical record or school record shows the country they are a citizen of only if it comes from outside the United States.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.second_document.issued_outside_us","includes_united_states":false,"kind":"yesno","label":"Was your spouse's second document issued outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_second_document"}]},{"op":"in","ref":"household.spouse.itin_application.second_document.kind","values":["birth_certificate","medical_records","school_records"]},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"household.spouse.itin_application.first_document.kind","values":["foreign_military_id","foreign_voter_card","national_id_card","passport","us_visa","uscis_photo_id"]},{"op":"truthy","ref":"household.spouse.itin_application.first_document.issued_outside_us"}]}]}]}},{"binds":"spouse.itin_application.second_document.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it from the document. Leave it blank if the document carries no number.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.second_document.number","includes_united_states":false,"kind":"text","label":"What number is printed on your spouse's second document?","label_when":[],"options":[],"placeholder":"18AB12345","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_second_document"}]}},{"binds":"spouse.itin_application.second_document.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the document. Leave it blank for a document with no expiry date, such as a birth certificate.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.second_document.expires_on","includes_united_states":false,"kind":"date","label":"When does your spouse's second document expire?","label_when":[],"options":[],"placeholder":"2031-04-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.has_second_document"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["spouse.itin_application.us_entry_date"],"help":"Their passport stamps or arrival records show it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.entered_united_states","includes_united_states":false,"kind":"yesno","label":"Has your spouse ever entered the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]}},{"binds":"spouse.itin_application.us_entry_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their passport stamp or arrival record shows it. Give the full date they entered the United States for the purpose the ITIN is needed for, where there is one.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.us_entry_date","includes_united_states":false,"kind":"date","label":"On what date did your spouse enter the United States?","label_when":[],"options":[],"placeholder":"2024-08-15","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"household.spouse.itin_application.entered_united_states"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.entered_united_states"}]}},{"binds":"spouse.itin_application.itin_issued_under_current_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter that gave the number shows the name. The renewal gives that name.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.itin_issued_under_current_name","includes_united_states":false,"kind":"yesno","label":"Was your spouse's number issued under the name on this return?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"spouse.itin_application.itin_issued_name.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter that gave the number shows it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.itin_issued_name.first_name","includes_united_states":false,"kind":"text","label":"Under what first name was your spouse's number issued?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"spouse.itin_application.itin_issued_name.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter that gave the number shows it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.itin_issued_name.last_name","includes_united_states":false,"kind":"text","label":"Under what last name was your spouse's number issued?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"spouse.itin_application.also_has_irsn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An IRS number is one the IRS gave when someone filed or paid without a number. An IRS letter to them would show it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.also_has_irsn","includes_united_states":false,"kind":"yesno","label":"Did the IRS also give your spouse an IRS number?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}},{"binds":"spouse.itin_application.itin_issued_name.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter shows it. Leave it blank if it shows none.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.itin_issued_name.middle_name","includes_united_states":false,"kind":"text","label":"Under what middle name was your spouse's number issued?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"spouse.itin_application.earlier_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An ITIN, or an IRS number given when someone filed or paid without one. An IRS letter to them would show it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.earlier_number","includes_united_states":false,"kind":"choice","label":"Has the IRS ever given your spouse a number of its own?","label_when":[],"off_ramp":{"body":"An ITIN the IRS has given is that person's number for good, so the return uses it rather than a new application. If it has expired, we prepare its renewal once it is entered.","code":"itin_applicant_has_an_itin","next_step":"Enter that ITIN as their taxpayer number. Your answers stay saved.","severity":"block","title":"An ITIN already given is the number to use","when":{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"itin"}},"options":[{"label":"No, or I do not know","value":"none_or_unknown"},{"label":"Yes, an IRS number given when they filed or paid without a number","value":"irsn"},{"label":"Yes, an individual taxpayer identification number","value":"itin"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]}},{"binds":"spouse.itin_application.irsn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Nine digits, from the IRS letter about the return or payment.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.irsn","includes_united_states":false,"kind":"text","label":"What is the IRS number the IRS gave your spouse?","label_when":[],"options":[],"placeholder":"912345678","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.also_has_irsn","value":true}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.also_has_irsn"}]}]}},{"binds":"spouse.itin_application.irsn_first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter about that number shows it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.irsn_first_name","includes_united_states":false,"kind":"text","label":"Under what first name was your spouse's IRS number given?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]}},{"binds":"spouse.itin_application.irsn_middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter shows it. Leave it blank if it shows none.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.irsn_middle_name","includes_united_states":false,"kind":"text","label":"Under what middle name was your spouse's IRS number given?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]}},{"binds":"spouse.itin_application.irsn_last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter about that number shows it.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.irsn_last_name","includes_united_states":false,"kind":"text","label":"Under what last name was your spouse's IRS number given?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"eq","ref":"household.spouse.itin_application.earlier_number","value":"irsn"}]}},{"binds":"spouse.had_no_gross_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their payslips, bank interest and any pension all count as income. Choose Not sure if you do not know.","help_lines":[],"help_when":[],"id":"household.spouse.had_no_gross_income","includes_united_states":false,"kind":"yesno","label":"Did your spouse have no income at all during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}},{"binds":"spouse.is_filing_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Ask your spouse, or check whether a return was prepared for them. Choose Not sure if you do not know.","help_lines":[],"help_when":[],"id":"household.spouse.is_filing_return","includes_united_states":false,"kind":"yesno","label":"Is your spouse filing a United States return of their own for this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}},{"binds":"spouse.claimable_as_dependent_of_another","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A parent who pays most of your spouse's living costs could claim them. On a joint return every return has to answer this for both of you, because it decides a box on the first page and the size of the flat deduction.","help_lines":[],"help_when":[],"id":"household.spouse.claimable_as_dependent_of_another","includes_united_states":false,"kind":"yesno","label":"Can someone else claim your spouse as a dependent on their return?","label_when":[],"off_ramp":{"body":"When another person claims your spouse as a dependent, the deduction and credit rules on this return change in ways we do not compute here.","code":"claimed_as_dependent","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot file a return whose spouse another person can claim","when":{"op":"eq","ref":"household.spouse.claimable_as_dependent_of_another","value":true}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.line_12a_refusals","required_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"in","ref":"about_you.filing_status","values":["mfj","mfs"]}]}},{"binds":"spouse_itemizes_on_separate_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Ask your spouse, or look at their return. If they list deductions one by one, you cannot take the flat amount on yours, so this changes what you can claim. Choose Not sure if you cannot find out.","help_lines":[],"help_when":[],"id":"household.spouse_itemizes_on_separate_return","includes_united_states":false,"kind":"yesno","label":"Is your spouse listing their deductions one by one on their own return?","label_when":[],"off_ramp":{"body":"If your spouse lists deductions one by one, your flat deduction is zero, so we cannot prepare your return until you know.","code":"mfs_spouse_itemizing_unknown","next_step":"Ask your spouse, then come back and answer yes or no.","severity":"review","title":"We need to know how your spouse is filing","when":{"op":"and","rules":[{"op":"answered","ref":"household.spouse_itemizes_on_separate_return"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfs"}},{"binds":"surviving_spouse_filing","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if nobody has been appointed by a court to handle the estate. Choose Not sure if a court case is still going on.","help_lines":[],"help_when":[],"id":"household.surviving_spouse_filing","includes_united_states":false,"kind":"yesno","label":"Will you sign this joint return yourself, rather than a representative a court appointed?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"truthy","ref":"about_you.taxpayer.date_of_death"},{"op":"truthy","ref":"household.spouse.date_of_death"}]}]}},{"binds":"community_property_domicile","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"They apply when your permanent home, or your spouse's, was in Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington or Wisconsin during the year.","help_lines":["Some other countries' marriage laws make what either of you earns belong to you both. Answer yes if that applies to your marriage.","On separate returns, and on a head of household return for a married person, that income is usually divided between you on Form 8958, which we do not prepare. We do prepare two cases: a spouse who is neither a United States citizen nor a resident, and a separate return when you lived apart all year and passed none of your pay or business income to each other. In those two cases your own pay, business profit, IRA payments (a Roth IRA included) and United States Social Security stay yours, and you report half of the other income from what you own together.","Choose Not sure if you cannot tell."],"help_when":[],"id":"household.community_property_domicile","includes_united_states":false,"kind":"yesno","label":"Did community property rules (shared ownership of a married couple's income) apply to you?","label_when":[],"off_ramp":{"body":"Under community property rules some of your spouse's income may belong on your return and some of yours on theirs, and that needs a form we do not prepare (Form 8958).","code":"community_property_not_prepared","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not divide community income between separate returns","when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"eq","ref":"household.lived_apart_from_spouse_entire_year","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"eq","ref":"household.hoh_lived_apart_entire_year","value":false}]},{"op":"truthy","ref":"household.community_earned_income_transferred"}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"or","rules":[{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]}},{"binds":"lived_apart_from_spouse_entire_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your lease, your bills and your travel records are the evidence. Choose Not sure if you cannot rule out a visit. If you receive Social Security benefits the answer decides how much of them is taxed, so the return then needs a yes or a no.","help_lines":["If you paid into a Roth IRA for the year, the answer also decides your Roth IRA limit, so give a yes or a no."],"help_when":[[{"op":"truthy","ref":"income_sources.has_rentals"},"Your lease, your bills and your travel records are the evidence. Choose Not sure if you cannot rule out a visit. If you receive Social Security benefits the answer decides how much of them is taxed, and if a rental makes a loss, how much of it comes off depends on this answer: the return cannot be built until you give it."]],"id":"household.lived_apart_from_spouse_entire_year","includes_united_states":false,"kind":"yesno","label":"Did you live apart from your spouse all year, not one night together?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.income_refusals.social_security_lived_apart_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"income_sources.has_social_security"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfs"}},{"binds":"hoh_lived_apart_entire_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your lease, your bills and your travel records are the evidence. Under community property rules this decides who reports your shared income.","help_lines":["Choose Not sure if you cannot rule out a visit."],"help_when":[],"id":"household.hoh_lived_apart_entire_year","includes_united_states":false,"kind":"yesno","label":"Did you live apart from your spouse all year, not one night together?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]}]}},{"binds":"community_earned_income_transferred","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave out child support and very small amounts. Say yes if, for example, one of you paid the other's bills from their pay.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"household.community_earned_income_transferred","includes_united_states":false,"kind":"yesno","label":"Did any pay or business income pass between you and your spouse this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]}]}},{"binds":"community_property_law","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A US state's rules give each of you half of the income from what you own together. We do not have other countries' rules.","help_lines":[],"help_when":[],"id":"household.community_property_law","includes_united_states":false,"kind":"choice","label":"Where do the community property rules you live under come from?","label_when":[],"options":[{"label":"A US state.","value":"us_state"},{"label":"Another country.","value":"other_country"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}},{"binds":"spouse_community_income_in_own_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example interest, dividends or rent. Half of that income is yours to report. If yes, add each payment on your income pages as if it were yours, and say there that it all comes from what you own together.","help_lines":["Choose Not sure if you do not know."],"help_when":[],"id":"household.spouse_community_income_in_own_name","includes_united_states":false,"kind":"yesno","label":"Did your spouse receive income in their own name from what you own together?","label_when":[],"off_ramp":{"body":"Half of the income your spouse received from what you own together is yours to report.","code":"community_spouse_income_to_add","next_step":"Add each such payment on your income pages with its full amount, and answer that all of it comes from what you own together. We then report your half.","severity":"info","title":"Add your spouse's shared income to your income pages","when":{"op":"truthy","ref":"household.spouse_community_income_in_own_name"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}},{"clears":["household.dependents"],"currency_pickable":false,"derived_from_presence":["dependents[]"],"help":"Add them here if you pay most of their living costs. Say no if it is just you.","help_lines":[],"help_when":[],"id":"household.has_dependents","includes_united_states":false,"kind":"yesno","label":"{name}, does anyone you support, like a child or parent, go on this return?","label_when":[],"off_ramp":{"body":"Head of household rests on a parent you can claim or on a child or relative who lived with you, and qualifying surviving spouse rests on your child or stepchild at home. The IRS wants that person named on the return: in the list of people you claim or, for a child you do not claim as a dependent, in your answer about a child you do not claim.","code":"hoh_qss_without_dependent","next_step":"Add the person here or in your answer about a child you do not claim, or change your filing status.","severity":"block","title":"Your filing status needs a person named","when":{"op":"and","rules":[{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]},{"op":"not","rules":[{"op":"count_gt","ref":"household.dependents","value":0}]},{"op":"not","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add a person","binds":"dependents[]","help":"Add a row for each child or relative you want to claim on this return.","id":"household.dependents","kind":"repeat","label":"Who else do you support?","min_rows":1,"nodes":[{"binds":"dependents[].first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Exactly as on their Social Security card or the letter that issued it.","help_lines":[],"help_when":[],"id":"household.dependents.first_name","includes_united_states":false,"kind":"text","label":"What is your dependent's first name?","label_when":[],"options":[],"placeholder":"Riley","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"dependents[].last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Exactly as on their Social Security card or the letter that issued it.","help_lines":[],"help_when":[],"id":"household.dependents.last_name","includes_united_states":false,"kind":"text","label":"What is your dependent's last name?","label_when":[],"options":[],"placeholder":"Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"dependents[].ssn_or_itin_or_atin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their card or IRS letter. Leave it blank only if no number has been issued yet.","help_lines":[],"help_when":[],"id":"household.dependents.ssn_or_itin_or_atin","includes_united_states":false,"kind":"ssn","label":"What is your dependent's nine-digit taxpayer number?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id_or_atin":{"message":"Check the nine digits on the card and type them again.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Check the nine digits on the card and type them again."}},"validators":["nine_digit_tin","issued_taxpayer_id_or_atin"]},{"binds":"dependents[].taxpayer_id_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their IRS letter says so. Leave it blank for an ordinary Social Security number or individual taxpayer identification number: the digits themselves tell us which of those two it is. If you cannot tell whether it is an adoption number, check the letter before you answer.","help_lines":[],"help_when":[],"id":"household.dependents.taxpayer_id_type","includes_united_states":false,"kind":"choice","label":"Is your dependent's number an adoption taxpayer identification number?","label_when":[],"off_ramp":{"body":"You said your dependent's number is an adoption taxpayer identification number, but the IRS gives those numbers only in a range this number is not in: they start with 9 and have 93 as the fourth and fifth digits.","code":"dependent_number_not_adoption_range","next_step":"Check the IRS letter. Correct the number if it was typed wrong, or clear this answer if it is an ordinary number.","severity":"review","title":"This number is not an adoption number","when":{"op":"and","rules":[{"op":"answered","ref":"household.dependents.taxpayer_id_type"},{"op":"not","rules":[{"op":"derived","ref":"household.dependents.number_is_atin"}]}]}},"options":[{"label":"Yes, it is an adoption taxpayer identification number.","value":"atin"}],"prefill":{"confirm":false,"exact":true,"note":"Filled in because the number is in the range the IRS uses for adoption numbers. Change it if that was not right.","value":"atin","when":{"op":"derived","ref":"household.dependents.number_is_atin"}},"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"derived","ref":"household.dependents.number_is_atin"},{"op":"answered","ref":"household.dependents.taxpayer_id_type"}]}},{"binds":"dependents[].date_of_birth","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate or passport.","help_lines":[],"help_when":[],"id":"household.dependents.date_of_birth","includes_united_states":false,"kind":"date","label":"What is your dependent's date of birth?","label_when":[],"options":[],"placeholder":"2018-05-05","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"dependents[].relationship","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Choose the closest match.","help_lines":[],"help_when":[],"id":"household.dependents.relationship","includes_united_states":false,"kind":"choice","label":"How is this person related to you?","label_when":[],"options":[{"label":"Son","value":"son"},{"label":"Daughter","value":"daughter"},{"label":"Stepchild","value":"stepchild"},{"label":"Foster child","value":"foster_child"},{"label":"Grandchild","value":"grandchild"},{"label":"Brother","value":"brother"},{"label":"Sister","value":"sister"},{"label":"Half brother","value":"half_brother"},{"label":"Half sister","value":"half_sister"},{"label":"Stepbrother","value":"stepbrother"},{"label":"Stepsister","value":"stepsister"},{"label":"Niece","value":"niece"},{"label":"Nephew","value":"nephew"},{"label":"Parent","value":"parent"},{"label":"Grandparent","value":"grandparent"},{"label":"Aunt","value":"aunt"},{"label":"Uncle","value":"uncle"},{"label":"Someone else, such as a step-parent, an in-law, a cousin or a friend who lived with you","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"dependents[].months_lived_with_taxpayer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count whole months from your own records.","help_lines":["A child born or who died during the year counts as living with you for the whole year if your home was their home the whole time they were alive.","Time away at school, on vacation, in hospital or on military service still counts as time at home.","Six whole months may or may not be more than half of the year, so a count of six does not decide it either way.","Choose Not sure if you cannot check it: the return cannot be filed from here until it is answered, and no credit is claimed or given up in the meantime."],"help_when":[],"id":"household.dependents.months_lived_with_taxpayer","includes_united_states":false,"kind":"integer","label":"How many months of the year did this person live with you?","label_when":[],"options":[],"placeholder":"12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"or","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"ne","ref":"household.dependents.relationship","value":"parent"}]}]}},{"binds":"dependents[].lived_with_more_than_half_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Six whole months may or may not be more than half. Count the days from your own records: 183 days or more is more than half. Time away at school, on vacation, in hospital or on military service counts as time at home.","help_lines":[],"help_when":[],"id":"household.dependents.lived_with_more_than_half_year","includes_united_states":false,"kind":"yesno","label":"Did your dependent live with you for more than half the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"household.dependents.months_lived_with_taxpayer","value":6}},{"binds":"dependents[].life_event_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A child born or adopted during the year, or placed with you during it, counts as living with you for more than half of the year if your home was theirs for more than half of the time since. The same goes for someone who died during the year, for the time they were alive.","help_lines":[],"help_when":[],"id":"household.dependents.life_event_in_year","includes_united_states":false,"kind":"choice","label":"Was your dependent born, adopted, placed with you or did they die this year?","label_when":[],"options":[{"label":"Born during the year.","value":"born"},{"label":"Died during the year.","value":"died"},{"label":"Born and died during the year.","value":"born_and_died"},{"label":"Adopted by you during the year.","value":"adopted"},{"label":"Placed with you for adoption during the year.","value":"placed_for_adoption"},{"label":"Placed with you as a foster child during the year.","value":"foster_placed"},{"label":"None of these.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":7},{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"age_lt","ref":"household.dependents.date_of_birth","value":1}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild"]}]},{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":12}]}]}},{"binds":"dependents[].lived_with_more_than_half_of_time_since_event","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is the time since they were born, adopted or placed with you, or the time they were alive. Time in hospital counts as time at home.","help_lines":[],"help_when":[],"id":"household.dependents.lived_with_more_than_half_of_time_since_event","includes_united_states":false,"kind":"yesno","label":"Was your home your dependent's home for over half of that time?","label_when":[],"off_ramp":{"body":"So they do not count as living with you for more than half of the year. That rules out the child tax credit for them and head of household on them.","code":"dependent_did_not_live_with_you","next_step":"Check your answers about the credits for this person.","severity":"info","title":"This person did not live with you for more than half of that time","when":{"op":"eq","ref":"household.dependents.lived_with_more_than_half_of_time_since_event","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"household.dependents.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption","foster_placed"]}},{"binds":"dependents[].lived_with_entire_time_since_event","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A qualifying surviving spouse needs a child at home all year. A child born, adopted or placed with you for adoption during the year counts as home all year if your home was theirs for the whole time since, or the whole time they were alive. Time in hospital counts as time at home.","help_lines":[],"help_when":[],"id":"household.dependents.lived_with_entire_time_since_event","includes_united_states":false,"kind":"yesno","label":"Was your home your child's home for the whole of that time?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild"]}]},{"op":"in","ref":"household.dependents.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption"]},{"op":"eq","ref":"household.dependents.lived_with_more_than_half_of_time_since_event","value":true}]}},{"binds":"dependents[].qualifies_ctc","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If you are not sure, choose Not sure: you cannot file until you answer, and nothing is claimed or given up meanwhile.","help_lines":["They have a Social Security number valid for work, issued before your return is due, or they were born and died during the year with no number.","They are a United States citizen, national or resident.","They were under {context.child_tax_credit_age} at the end of the year.","They lived with you for more than half the year. Time away at school, on vacation, in hospital or on military service counts as home. We cannot prepare a return that relies on the other parent's Form 8332 release."],"help_when":[[{"op":"gt","ref":"context.tax_year","value":2024},"You have a Social Security number valid for work, issued before your return is due. On a joint return one of you is enough, if the other has a Social Security number or an individual taxpayer identification number, or one applied for with this return by then."],[{"op":"not","rules":[{"op":"gt","ref":"context.tax_year","value":2024}]},"You have a Social Security number or an individual taxpayer identification number issued before your return is due, or one applied for with this return by then, and so does your spouse if you are filing jointly."]],"id":"household.dependents.qualifies_ctc","includes_united_states":false,"kind":"yesno","label":"Is each of these lines true for you?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":false,"note":"Filled in from the date of birth you gave, which puts this person past 16 at the end of the year, so the next question is the one that applies. Change it here if the date was not right.","value":false,"when":{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"ne","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":17}]}]}},{"confirm":false,"exact":false,"note":"Filled in from the date of birth you gave, which puts this person past 17 at the end of 2021, so the next question is the one that applies. Change it here if the date was not right.","value":false,"when":{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":18}]}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"dependents[].fails_citizenship_test","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their passport, their immigration papers or their address show this.","help_lines":["If you are a United States citizen or national, a child you adopted who lived with you all year as a member of your household counts as a citizen here."],"help_when":[],"id":"household.dependents.fails_citizenship_test","includes_united_states":false,"kind":"yesno","label":"Was your dependent neither a United States citizen, national or resident, nor a resident of Canada or Mexico?","label_when":[],"off_ramp":{"body":"The Form 1040 instructions stop at that answer: someone in that position cannot be claimed as your dependent, so they cannot be listed on your return or give you a credit or a filing status.","code":"dependent_tests_not_met","next_step":"Remove this person with the button on their row, or clear the box if it was not right.","severity":"block","title":"This person cannot be your dependent","when":{"op":"truthy","ref":"household.dependents.fails_citizenship_test"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"}]},{"op":"not","rules":[{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]}},{"binds":"dependents[].files_joint_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it clear if they are not married, or if they file a joint return only to get back tax that was withheld or estimated tax they paid.","help_lines":[],"help_when":[],"id":"household.dependents.files_joint_return","includes_united_states":false,"kind":"yesno","label":"Is your dependent married and filing a joint return for the year?","label_when":[],"off_ramp":{"body":"The Form 1040 instructions stop at that answer: someone in that position cannot be claimed as your dependent, so they cannot be listed on your return or give you a credit or a filing status.","code":"dependent_tests_not_met","next_step":"Remove this person with the button on their row, or clear the box if it was not right.","severity":"block","title":"This person cannot be your dependent","when":{"op":"truthy","ref":"household.dependents.files_joint_return"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"dependents[].provided_own_support","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Support is what was spent on their living costs: housing, food, clothing, schooling and medical care. The Form 1040 instructions send you to Publication 501 for how to count it.","help_lines":[],"help_when":[],"id":"household.dependents.provided_own_support","includes_united_states":false,"kind":"yesno","label":"Did your dependent pay over half of their own support this year?","label_when":[],"off_ramp":{"body":"The Form 1040 instructions stop at that answer: someone in that position cannot be claimed as your dependent, so they cannot be listed on your return or give you a credit or a filing status.","code":"dependent_tests_not_met","next_step":"Remove this person with the button on their row, or clear the box if it was not right.","severity":"block","title":"This person cannot be your dependent","when":{"op":"truthy","ref":"household.dependents.provided_own_support"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}},{"binds":"dependents[].full_time_student","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enrolled full time at a school, including a technical, trade or mechanical school, or on a full-time farm training course run by a school or a government agency. A course only on the internet, by correspondence or on the job does not count. The school's enrollment letter shows it.","help_lines":[],"help_when":[],"id":"household.dependents.full_time_student","includes_united_states":false,"kind":"yesno","label":"Was your dependent a full-time student for part of five months of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]},{"op":"age_lt","ref":"household.dependents.date_of_birth","value":24}]}},{"binds":"dependents[].permanently_disabled","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That means a physical or mental condition kept them from any substantial paid work, and a doctor has found it has lasted or is expected to last at least a year, or to lead to death. The doctor's letter is the record.","help_lines":[],"help_when":[],"id":"household.dependents.permanently_disabled","includes_united_states":false,"kind":"yesno","label":"Was your dependent permanently and totally disabled at any time during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]}]}},{"binds":"dependents[].qualifying_child_of_another","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A qualifying child is someone's son, daughter, stepchild, foster child, brother, sister, half brother, half sister, stepbrother or stepsister, or a descendant of any of them, who lived with that person for over half the year and meets their age and support tests.","help_lines":["Leave it clear if that person does not have to file a United States return and either does not file one or files only to get back tax withheld or estimated tax paid."],"help_when":[],"id":"household.dependents.qualifying_child_of_another","includes_united_states":false,"kind":"yesno","label":"Is your dependent another person's qualifying child for the year?","label_when":[],"off_ramp":{"body":"The Form 1040 instructions stop at that answer: someone in that position cannot be claimed as your dependent, so they cannot be listed on your return or give you a credit or a filing status.","code":"dependent_tests_not_met","next_step":"Remove this person with the button on their row, or clear the box if it was not right.","severity":"block","title":"This person cannot be your dependent","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"truthy","ref":"household.dependents.qualifying_child_of_another"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]}]},{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":7}]}]}]}},{"binds":"dependents[].gross_income_at_or_over_limit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their payslips, bank statements and pension or benefit letters show what they received. If they are permanently and totally disabled, some pay for work at a sheltered workshop may be left out, and Publication 501 explains which.","help_lines":[],"help_when":[],"id":"household.dependents.gross_income_at_or_over_limit","includes_united_states":false,"kind":"yesno","label":"Did your dependent have gross income of {context.qualifying_relative_gross_income_limit} or more this year?","label_when":[],"off_ramp":{"body":"The Form 1040 instructions stop at that answer: someone in that position cannot be claimed as your dependent, so they cannot be listed on your return or give you a credit or a filing status.","code":"dependent_tests_not_met","next_step":"Remove this person with the button on their row, or clear the box if it was not right.","severity":"block","title":"This person cannot be your dependent","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"truthy","ref":"household.dependents.gross_income_at_or_over_limit"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]}]},{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":7}]}]}]},{"op":"gt","ref":"context.qualifying_relative_gross_income_limit","value":0}]}},{"binds":"dependents[].you_paid_half_or_less_of_support","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you spent on their living costs against everything spent on them by anyone, them included.","help_lines":[],"help_when":[],"id":"household.dependents.you_paid_half_or_less_of_support","includes_united_states":false,"kind":"yesno","label":"Did you pay half or less of your dependent's support for the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]}]},{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":7}]}]}]}},{"binds":"dependents[].claimed_under_multiple_support_agreement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is when nobody paid over half of their support, but you and others together did, and the others signed a statement letting you claim them. Publication 501 explains it. A person claimed this way does not make you head of household.","help_lines":[],"help_when":[],"id":"household.dependents.claimed_under_multiple_support_agreement","includes_united_states":false,"kind":"yesno","label":"Do you claim your dependent under a multiple support agreement with others?","label_when":[],"off_ramp":{"body":"The IRS wants a declaration naming everyone who agreed not to claim this person attached to your return, on Form 2120 or a similar statement. We do not prepare it, so a return that claims someone this way cannot be filed from here.","code":"multiple_support_declaration","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the multiple support declaration","when":{"op":"truthy","ref":"household.dependents.claimed_under_multiple_support_agreement"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]}]},{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":7}]}]}]}},{"binds":"dependents[].step_parent_or_in_law","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is your stepfather or stepmother, or your son-, daughter-, father-, mother-, brother- or sister-in-law. Any of them can be your dependent without living with you. Leave it clear for a cousin, a friend or anyone else outside your family.","help_lines":[],"help_when":[],"id":"household.dependents.step_parent_or_in_law","includes_united_states":false,"kind":"yesno","label":"Is your dependent your step-parent or an in-law?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"household.dependents.relationship","value":"other"}},{"binds":"dependents[].not_household_member_all_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Time away at school, on vacation, in hospital or on military service counts as time at home. A relationship that breaks local law does not count as part of your household.","help_lines":[],"help_when":[],"id":"household.dependents.not_household_member_all_year","includes_united_states":false,"kind":"yesno","label":"Did your dependent live outside your household for part of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"household.dependents.relationship","value":"other"}},{"binds":"dependents[].qualifying_child_of_more_than_one","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That can happen when your dependent also lived for over half the year with another relative, such as their other parent or a grandparent. Leave it clear for your spouse on a joint return.","help_lines":["Only one person can take the child tax credit, head of household, the child care credit and the earned income credit for a child.","A parent keeps the child over anyone else. Between others, the rules turn on each person's income, which this return does not hold."],"help_when":[],"id":"household.dependents.qualifying_child_of_more_than_one","includes_united_states":false,"kind":"yesno","label":"Could someone not on this return also claim your dependent as their qualifying child?","label_when":[],"off_ramp":{"body":"Only one person can claim a child for these credits and head of household. When you are not the child's parent, a parent who claims the child keeps them, and otherwise the rules compare incomes, which this return does not hold, so it cannot be filed from here.","code":"qualifying_child_of_more_than_one","next_step":"Use another preparer for a return like this, for example a tax professional, or clear the box if it was not right. Your answers stay saved.","severity":"block","title":"We cannot settle who claims this child","when":{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.qualifying_child_of_more_than_one"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"household.dependents.relationship","value":"stepchild"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.relationship"},{"op":"not","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]}]}]},{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild","foster_child","grandchild","brother","sister","half_brother","half_sister","stepbrother","stepsister","niece","nephew","sibling","other_relative"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.dependents.date_of_birth","value":19}]}]},{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":7}]}]}]}]}]}},{"binds":"dependents[].dependent_tests_not_sure","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it if you cannot settle one of the other boxes yet. Nothing is decided either way: the return cannot be filed until you come back and settle it.","help_lines":[],"help_when":[],"id":"household.dependents.dependent_tests_not_sure","includes_united_states":false,"kind":"yesno","label":"Are you unsure whether one of these is true for your dependent?","label_when":[],"off_ramp":{"body":"Whether someone can be your dependent decides who is listed on your return, your credits and your filing status, so nothing is decided while one of the tests is open.","code":"dependent_tests_not_settled","next_step":"Check whether the test is true, then come back and check the box or leave it clear.","severity":"block","title":"That test has to be settled before we can file","when":{"op":"truthy","ref":"household.dependents.dependent_tests_not_sure"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"dependents[].qualifies_odc","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 1040 instructions set this out under Dependents, Step 5. This credit covers a dependent the child tax credit does not, such as an older child or a parent, and every line below has to be true for the answer to be yes. Choose Not sure if you cannot check it: the return cannot be filed from here until it is answered, and no credit is claimed or given up in the meantime.","help_lines":["This person holds a number issued before your return is due, or one is applied for with this return by then. Any of a Social Security number, an individual taxpayer identification number or an adoption number counts.","You hold a Social Security number or an individual taxpayer identification number, or one is applied for with this return by then, and so does your spouse if you are filing jointly.","This person is a United States citizen, national or resident."],"help_when":[],"id":"household.dependents.qualifies_odc","includes_united_states":false,"kind":"yesno","label":"Is every line below true for this person and for you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"}]},{"op":"not","rules":[{"op":"truthy","ref":"household.dependents.fails_citizenship_test"}]}]}},{"binds":"dependents[].spouse_is_childs_parent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is their birth parent or a parent who adopted them. If you are not sure, choose Not sure: you cannot file until you answer, and nothing is claimed or given up meanwhile.","help_lines":[],"help_when":[],"id":"household.dependents.spouse_is_childs_parent","includes_united_states":false,"kind":"yesno","label":"Is your spouse your dependent's parent?","label_when":[],"off_ramp":{"body":"Only one person can claim a child for these credits and head of household. When you are not the child's parent, a parent who claims the child keeps them, and otherwise the rules compare incomes, which this return does not hold, so it cannot be filed from here.","code":"qualifying_child_of_more_than_one","next_step":"Use another preparer for a return like this, for example a tax professional, or clear the box if it was not right. Your answers stay saved.","severity":"block","title":"We cannot settle who claims this child","when":{"op":"eq","ref":"household.dependents.spouse_is_childs_parent","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"household.dependents.relationship","value":"stepchild"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifying_child_of_more_than_one"},{"op":"truthy","ref":"household.dependents.qualifying_child_of_another"}]}]}},{"binds":"dependents[].other_qualifying_child_claimant","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If both their other parent and someone else could, choose their other parent. If you are not sure, choose Not sure: you cannot file until you answer, and nothing is claimed or given up meanwhile.","help_lines":["Only one person can take the child tax credit, head of household, the child care credit and the earned income credit for a child.","A parent keeps the child over anyone who is not a parent. When both parents claim the child, the IRS decides by where the child lived longer and then by income."],"help_when":[],"id":"household.dependents.other_qualifying_child_claimant","includes_united_states":false,"kind":"choice","label":"Who not on this return could claim your dependent as their qualifying child?","label_when":[],"off_ramp":{"body":"When both parents claim a child, the IRS gives the child to the parent the child lived with longer, and to the parent with the higher income if that time was equal. This return does not hold the other parent's figures, so it cannot be filed from here.","code":"qualifying_child_claimed_by_both_parents","next_step":"Use another preparer for a return like this, for example a tax professional, or change the answer if the other parent will not claim the child. Your answers stay saved.","severity":"block","title":"We cannot settle which parent claims this child","when":{"op":"eq","ref":"household.dependents.other_qualifying_child_claimant","value":"other_parent_claiming"}},"options":[{"label":"Someone who is not their parent, such as a grandparent.","value":"not_a_parent"},{"label":"Their other parent, not on this return, who agrees not to claim them.","value":"other_parent_not_claiming"},{"label":"Their other parent, not on this return, who will claim them too.","value":"other_parent_claiming"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter"]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"household.dependents.relationship","value":"stepchild"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"truthy","ref":"household.dependents.spouse_is_childs_parent"}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifying_child_of_more_than_one"},{"op":"truthy","ref":"household.dependents.qualifying_child_of_another"}]}]}},{"binds":"dependents[].itin_on_recent_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The three tax years before this one count. A number from the IRS that was on no federal return for three years in a row has expired, and we then renew it with this return.","help_lines":["Your copies of those returns show it."],"help_when":[],"id":"household.dependents.itin_on_recent_return","includes_united_states":false,"kind":"choice","label":"Was your dependent's number on a federal tax return in the past three years?","label_when":[],"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"derived","ref":"household.dependents.number_is_itin"}},{"binds":"dependents[].itin_issued_before_2013","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A number from the IRS issued before 2013 and never renewed has expired, and we then renew it with this return.","help_lines":["The IRS letter that gave the number shows the date."],"help_when":[],"id":"household.dependents.itin_issued_before_2013","includes_united_states":false,"kind":"choice","label":"Was your dependent's number issued before 2013 and never renewed?","label_when":[],"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["dependents[].itin_application"],"help":"A dependent who has no Social Security number and cannot get one applies for an ITIN on Form W-7, sent with your return.","help_lines":["The IRS gives a dependent an ITIN only when the return claims one of these for them: the credit for other dependents, the credit for child and dependent care, the American opportunity credit, head of household or qualifying surviving spouse.","A return with that application is filed on paper, with the application attached to its front.","Say no if your dependent has a number, and enter it as their taxpayer number."],"help_when":[],"id":"household.dependents.applies_for_itin","includes_united_states":false,"kind":"yesno","label":"Are you applying for an ITIN (an IRS number for people who cannot get a Social Security number) for your dependent?","label_when":[],"off_ramp":{"body":"The IRS gives a dependent an ITIN only when the return claims one of these for them: the credit for other dependents, the credit for child and dependent care, the American opportunity credit, head of household or qualifying surviving spouse. Listing someone as a dependent is not enough on its own.","code":"itin_dependent_no_allowable_benefit","next_step":"Continue, and claim the care credit or the education credit for them later if one applies, or check the answers about this person.","severity":"info","title":"An ITIN needs a benefit claimed for the person","when":{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.applies_for_itin"},{"op":"eq","ref":"household.dependents.qualifies_ctc","value":false},{"op":"eq","ref":"household.dependents.qualifies_odc","value":false},{"op":"not","rules":[{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]}},{"binds":"dependents[].itin_application.ssn_eligibility","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only someone who cannot get a Social Security number can have an ITIN. A United States citizen can get one, and so can someone the United States admitted for permanent residence or to work there.","help_lines":["If the Social Security Administration has refused them a number, the letter saying so is sent with the application."],"help_when":[],"id":"household.dependents.itin_application.ssn_eligibility","includes_united_states":false,"kind":"choice","label":"Can your dependent get a Social Security number?","label_when":[],"off_ramp":{"body":"The IRS does not give an ITIN to anyone who can get a Social Security number, or who has applied for one and is waiting. The return needs that number instead.","code":"itin_applicant_can_get_an_ssn","next_step":"Enter the Social Security number as their taxpayer number once it is issued. Your answers stay saved.","severity":"block","title":"Someone who can get a Social Security number cannot have an ITIN","when":{"op":"eq","ref":"household.dependents.itin_application.ssn_eligibility","value":"eligible_or_applied"}},"options":[{"label":"No. They are not a United States citizen, and were never admitted to the United States for permanent residence or to work","value":"not_eligible"},{"label":"No. The Social Security Administration told them in writing that they cannot get one","value":"ssa_denied"},{"label":"Yes, or they have applied for one and are waiting","value":"eligible_or_applied"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.relationship","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example cousin, mother-in-law or friend. The application asks how the person is related to you.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.relationship","includes_united_states":false,"kind":"text","label":"How is your dependent related to you, in a word or two?","label_when":[],"options":[],"placeholder":"Cousin","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.identity.Dependent._check_itin_application","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.relationship","value":"other"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.relationship","value":"other"}]}},{"binds":"dependents[].itin_application.date_of_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on the death certificate. The application carries it across its top.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.date_of_death","includes_united_states":false,"kind":"date","label":"On what date did your dependent die?","label_when":[],"options":[],"placeholder":"2025-09-11","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.identity.Dependent._check_itin_application","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.life_event_in_year","value":"died"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.life_event_in_year","value":"died"}]}},{"binds":"dependents[].itin_application.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their identity documents. Leave it blank if they have none.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.middle_name","includes_united_states":false,"kind":"text","label":"What is your dependent's middle name, as on their passport?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["dependents[].itin_application.birth_name"],"help":"Their birth certificate shows the name they were born with.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.birth_name_differs","includes_united_states":false,"kind":"yesno","label":"Was your dependent's name at birth different from their name now?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.birth_name.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.birth_name.first_name","includes_united_states":false,"kind":"text","label":"What was your dependent's first name at birth?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.birth_name_differs"}]}},{"binds":"dependents[].itin_application.birth_name.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.birth_name.last_name","includes_united_states":false,"kind":"text","label":"What was your dependent's last name at birth?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.birth_name_differs"}]}},{"binds":"dependents[].itin_application.birth_name.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their birth certificate. Leave it blank if there was none.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.birth_name.middle_name","includes_united_states":false,"kind":"text","label":"What was your dependent's middle name at birth?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.birth_name_differs"}]}},{"binds":"dependents[].itin_application.sex","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The application has those two boxes. Choose the one their passport or birth certificate shows.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.sex","includes_united_states":false,"kind":"choice","label":"Which box does your dependent's application check, male or female?","label_when":[],"options":[{"label":"Male","value":"male"},{"label":"Female","value":"female"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.birth_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As their passport or birth certificate shows it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.birth_country","includes_united_states":false,"kind":"country","label":"In which country was your dependent born?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.birth_city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As their passport or birth certificate shows it, for example Lyon, Rhone.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.birth_city","includes_united_states":false,"kind":"text","label":"In which city, and state or province, was your dependent born?","label_when":[],"options":[],"placeholder":"Lyon, Rhone","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country that issued their passport or national identity card.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.citizenship_country","includes_united_states":false,"kind":"country","label":"Which country is your dependent a citizen of?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.other_citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only for a citizen of two countries. Leave it blank if they are a citizen of one country only.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.other_citizenship_country","includes_united_states":false,"kind":"country","label":"Which other country is your dependent also a citizen of?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.foreign_tax_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a Canadian Social Insurance Number, from their tax card or tax statement. Leave it blank if they have none.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.foreign_tax_id","includes_united_states":false,"kind":"text","label":"What tax number has the country your dependent lives in given them?","label_when":[],"options":[],"placeholder":"123456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["dependents[].itin_application.us_visa"],"help":"A visa to visit, study or work in the United States, in their passport.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.has_us_visa","includes_united_states":false,"kind":"yesno","label":"Does your dependent hold a United States visa?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.us_visa.classification","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The type printed on the visa, for example F-1 or B-2.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.us_visa.classification","includes_united_states":false,"kind":"text","label":"What type of United States visa does your dependent hold?","label_when":[],"options":[],"placeholder":"B-2","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_us_visa"}]}},{"binds":"dependents[].itin_application.us_visa.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number printed on the visa in their passport.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.us_visa.number","includes_united_states":false,"kind":"text","label":"What is the number of your dependent's United States visa?","label_when":[],"options":[],"placeholder":"12345678","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_us_visa"}]}},{"binds":"dependents[].itin_application.us_visa.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the visa in their passport.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.us_visa.expires_on","includes_united_states":false,"kind":"date","label":"When does your dependent's United States visa expire?","label_when":[],"options":[],"placeholder":"2027-06-30","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_us_visa"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["dependents[].itin_application.mailing_address"],"help":"The IRS sends the ITIN letter and returns the original documents to this address. Say no to use the mailing address on your return.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.mail_elsewhere","includes_united_states":false,"kind":"yesno","label":"Should the IRS write to your dependent at another address than yours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"address_variant":"full","binds":"dependents[].itin_application.mailing_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their own mailing address, from a letter or bill sent to them there.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.mailing_address","includes_united_states":false,"kind":"address","label":"Where should the IRS write to your dependent?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.mail_elsewhere"}]}},{"binds":"dependents[].itin_application.lives_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Where they live permanently or normally. Say no only if they have moved to the United States and no longer have a home abroad.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.lives_abroad","includes_united_states":false,"kind":"yesno","label":"Does your dependent have a home outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"address_variant":"foreign","binds":"dependents[].itin_application.foreign_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their lease, a utility bill or their registration with the local authority. It has to be a street address.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.foreign_address","includes_united_states":false,"kind":"address","label":"What is your dependent's home address outside the United States?","label_when":[],"offers_address_from":"about_you.taxpayer.mailing_address","options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.lives_abroad","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.lives_abroad"}]}},{"binds":"dependents[].itin_application.last_foreign_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country of their last home outside the United States, from their own records.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.last_foreign_country","includes_united_states":false,"kind":"country","label":"In which country did your dependent last live before moving here?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.lives_abroad","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.lives_abroad","value":false}]}},{"binds":"dependents[].itin_application.us_resident_alien","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The credit for other dependents needs a person who was. Someone who cannot get a Social Security number is one through the substantial presence test: at least 31 days in the United States this year, and at least 183 days when you add all of this year's days, a third of last year's and a sixth of those two years ago. Publication 519 has the days that do not count, such as days as a student or a student's family member.","help_lines":["Choose Not sure if you cannot tell. The return cannot be filed with the credit until it is answered."],"help_when":[],"id":"household.dependents.itin_application.us_resident_alien","includes_united_states":false,"kind":"yesno","label":"Was your dependent a United States resident for tax purposes this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.lives_abroad"},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]}},{"binds":"dependents[].itin_application.first_document.kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A passport is enough on its own. Without one, the IRS needs two different documents from its list, and one of them has to show the country they are a citizen of.","help_lines":["Send the original, or a copy certified by the office that issued it. An embassy or consulate may be able to certify a copy.","It must not have expired on the day you send it."],"help_when":[],"id":"household.dependents.itin_application.first_document.kind","includes_united_states":false,"kind":"choice","label":"Which document will you send to prove your dependent's identity?","label_when":[],"options":[{"label":"Passport","value":"passport"},{"label":"National identity card with photo, address, birth date and expiry","value":"national_id_card"},{"label":"Civil birth certificate","value":"birth_certificate"},{"label":"Driver's license from another country","value":"foreign_drivers_license"},{"label":"United States driver's license","value":"us_drivers_license"},{"label":"United States state identity card","value":"us_state_id"},{"label":"United States visa","value":"us_visa"},{"label":"United States immigration photo identity card","value":"uscis_photo_id"},{"label":"Military identity card from another country","value":"foreign_military_id"},{"label":"United States military identity card","value":"us_military_id"},{"label":"Voter registration card from another country","value":"foreign_voter_card"},{"label":"Medical records, for a child under 6","value":"medical_records"},{"label":"School records, for a student under 24","value":"school_records"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.first_document.issued_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the document itself names it, for example France or New York State.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.first_document.issued_by","includes_united_states":false,"kind":"text","label":"Which country, state or office issued your dependent's first document?","label_when":[],"options":[],"placeholder":"France","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.first_document.issued_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A birth certificate, medical record or school record shows the country they are a citizen of only if it comes from outside the United States.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.first_document.issued_outside_us","includes_united_states":false,"kind":"yesno","label":"Was your dependent's first document issued outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"in","ref":"household.dependents.itin_application.first_document.kind","values":["birth_certificate","medical_records","school_records"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.dependents.itin_application.has_second_document"},{"op":"in","ref":"household.dependents.itin_application.second_document.kind","values":["foreign_military_id","foreign_voter_card","national_id_card","passport","us_visa","uscis_photo_id"]}]}]}]}},{"binds":"dependents[].itin_application.first_document.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it from the document. Leave it blank if the document carries no number.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.first_document.number","includes_united_states":false,"kind":"text","label":"What number is printed on your dependent's first document?","label_when":[],"options":[],"placeholder":"18AB12345","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.first_document.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the document. Leave it blank for a document with no expiry date, such as a birth certificate.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.first_document.expires_on","includes_united_states":false,"kind":"date","label":"When does your dependent's first document expire?","label_when":[],"options":[],"placeholder":"2031-04-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["dependents[].itin_application.second_document"],"help":"Without a passport the IRS needs at least two different documents from its list.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.has_second_document","includes_united_states":false,"kind":"yesno","label":"Will you send a second document for your dependent?","label_when":[],"off_ramp":{"body":"The IRS accepts a passport on its own. Any other document needs a second one of a different kind from its list.","code":"itin_documents_not_enough","next_step":"Add a second document, or send the passport instead.","severity":"block","title":"One document is not enough without a passport","when":{"op":"and","rules":[{"op":"ne","ref":"household.dependents.itin_application.first_document.kind","value":"passport"},{"op":"eq","ref":"household.dependents.itin_application.has_second_document","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.second_document.kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It has to be a different kind of document from the first one.","help_lines":["Send the original, or a copy certified by the office that issued it. An embassy or consulate may be able to certify a copy.","It must not have expired on the day you send it."],"help_when":[],"id":"household.dependents.itin_application.second_document.kind","includes_united_states":false,"kind":"choice","label":"Which second document will you send for your dependent?","label_when":[],"options":[{"label":"Passport","value":"passport"},{"label":"National identity card with photo, address, birth date and expiry","value":"national_id_card"},{"label":"Civil birth certificate","value":"birth_certificate"},{"label":"Driver's license from another country","value":"foreign_drivers_license"},{"label":"United States driver's license","value":"us_drivers_license"},{"label":"United States state identity card","value":"us_state_id"},{"label":"United States visa","value":"us_visa"},{"label":"United States immigration photo identity card","value":"uscis_photo_id"},{"label":"Military identity card from another country","value":"foreign_military_id"},{"label":"United States military identity card","value":"us_military_id"},{"label":"Voter registration card from another country","value":"foreign_voter_card"},{"label":"Medical records, for a child under 6","value":"medical_records"},{"label":"School records, for a student under 24","value":"school_records"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_second_document"}]}},{"binds":"dependents[].itin_application.second_document.issued_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the document itself names it, for example France or New York State.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.second_document.issued_by","includes_united_states":false,"kind":"text","label":"Which country, state or office issued your dependent's second document?","label_when":[],"options":[],"placeholder":"France","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_second_document"}]}},{"binds":"dependents[].itin_application.second_document.issued_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A birth certificate, medical record or school record shows the country they are a citizen of only if it comes from outside the United States.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.second_document.issued_outside_us","includes_united_states":false,"kind":"yesno","label":"Was your dependent's second document issued outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_second_document"}]},{"op":"in","ref":"household.dependents.itin_application.second_document.kind","values":["birth_certificate","medical_records","school_records"]},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"household.dependents.itin_application.first_document.kind","values":["foreign_military_id","foreign_voter_card","national_id_card","passport","us_visa","uscis_photo_id"]},{"op":"truthy","ref":"household.dependents.itin_application.first_document.issued_outside_us"}]}]}]}},{"binds":"dependents[].itin_application.second_document.number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Copy it from the document. Leave it blank if the document carries no number.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.second_document.number","includes_united_states":false,"kind":"text","label":"What number is printed on your dependent's second document?","label_when":[],"options":[],"placeholder":"18AB12345","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_second_document"}]}},{"binds":"dependents[].itin_application.second_document.expires_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The expiry date printed on the document. Leave it blank for a document with no expiry date, such as a birth certificate.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.second_document.expires_on","includes_united_states":false,"kind":"date","label":"When does your dependent's second document expire?","label_when":[],"options":[],"placeholder":"2031-04-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.has_second_document"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["dependents[].itin_application.us_entry_date"],"help":"Their passport stamps or arrival records show it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.entered_united_states","includes_united_states":false,"kind":"yesno","label":"Has your dependent ever entered the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]}},{"binds":"dependents[].itin_application.us_entry_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their passport stamp or arrival record shows it. Give the full date they entered the United States for the purpose the ITIN is needed for, where there is one.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.us_entry_date","includes_united_states":false,"kind":"date","label":"On what date did your dependent enter the United States?","label_when":[],"options":[],"placeholder":"2024-08-15","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"household.dependents.itin_application.entered_united_states"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.entered_united_states"}]}},{"binds":"dependents[].itin_application.military_family","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The application then needs no date of entry into the United States. Their service orders are the record for this.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.military_family","includes_united_states":false,"kind":"yesno","label":"Is your dependent the dependent of United States military personnel stationed overseas?","label_when":[],"off_ramp":{"body":"For a dependent claimed for the credit for other dependents, the ITIN application has to give the date they entered the United States, unless they are the dependent of United States military personnel stationed overseas.","code":"itin_dependent_entry_date_needed","next_step":"Check this answer, whether they have entered the United States, and the credit answers for this person.","severity":"block","title":"The credit for other dependents needs a date of entry","when":{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_application.military_family","value":false},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.entered_united_states","value":false}]}},{"binds":"dependents[].itin_application.itin_issued_under_current_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter that gave the number shows the name. The renewal gives that name.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.itin_issued_under_current_name","includes_united_states":false,"kind":"yesno","label":"Was your dependent's number issued under the name on this return?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}},{"binds":"dependents[].itin_application.itin_issued_name.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter that gave the number shows it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.itin_issued_name.first_name","includes_united_states":false,"kind":"text","label":"Under what first name was your dependent's number issued?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},{"op":"eq","ref":"household.dependents.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"dependents[].itin_application.itin_issued_name.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter that gave the number shows it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.itin_issued_name.last_name","includes_united_states":false,"kind":"text","label":"Under what last name was your dependent's number issued?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},{"op":"eq","ref":"household.dependents.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"dependents[].itin_application.also_has_irsn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An IRS number is one the IRS gave when someone filed or paid without a number. An IRS letter to them would show it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.also_has_irsn","includes_united_states":false,"kind":"yesno","label":"Did the IRS also give your dependent an IRS number?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.itin_application_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}},{"binds":"dependents[].itin_application.itin_issued_name.middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter shows it. Leave it blank if it shows none.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.itin_issued_name.middle_name","includes_united_states":false,"kind":"text","label":"Under what middle name was your dependent's number issued?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},{"op":"eq","ref":"household.dependents.itin_application.itin_issued_under_current_name","value":false}]}},{"binds":"dependents[].itin_application.earlier_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An ITIN, or an IRS number given when someone filed or paid without one. An IRS letter to them would show it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.earlier_number","includes_united_states":false,"kind":"choice","label":"Has the IRS ever given your dependent a number of its own?","label_when":[],"off_ramp":{"body":"An ITIN the IRS has given is that person's number for good, so the return uses it rather than a new application. If it has expired, we prepare its renewal once it is entered.","code":"itin_applicant_has_an_itin","next_step":"Enter that ITIN as their taxpayer number. Your answers stay saved.","severity":"block","title":"An ITIN already given is the number to use","when":{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"itin"}},"options":[{"label":"No, or I do not know","value":"none_or_unknown"},{"label":"Yes, an IRS number given when they filed or paid without a number","value":"irsn"},{"label":"Yes, an individual taxpayer identification number","value":"itin"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]}},{"binds":"dependents[].itin_application.irsn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Nine digits, from the IRS letter about the return or payment.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.irsn","includes_united_states":false,"kind":"text","label":"What is the IRS number the IRS gave your dependent?","label_when":[],"options":[],"placeholder":"912345678","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},{"op":"eq","ref":"household.dependents.itin_application.also_has_irsn","value":true}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]},{"op":"truthy","ref":"household.dependents.itin_application.also_has_irsn"}]}]}},{"binds":"dependents[].itin_application.irsn_first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter about that number shows it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.irsn_first_name","includes_united_states":false,"kind":"text","label":"Under what first name was your dependent's IRS number given?","label_when":[],"options":[],"placeholder":"Marie","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]}},{"binds":"dependents[].itin_application.irsn_middle_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter shows it. Leave it blank if it shows none.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.irsn_middle_name","includes_united_states":false,"kind":"text","label":"Under what middle name was your dependent's IRS number given?","label_when":[],"options":[],"placeholder":"Anne","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"derived","ref":"household.dependents.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.dependents.itin_issued_before_2013","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"},{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}]}]}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]}},{"binds":"dependents[].itin_application.irsn_last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the IRS letter about that number shows it.","help_lines":[],"help_when":[],"id":"household.dependents.itin_application.irsn_last_name","includes_united_states":false,"kind":"text","label":"Under what last name was your dependent's IRS number given?","label_when":[],"options":[],"placeholder":"Dupont","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]},{"op":"eq","ref":"household.dependents.itin_application.earlier_number","value":"irsn"}]}}],"off_ramp":{"body":"You were not sure whether this person meets the test, so nobody has decided it either way. The return cannot be filed from here while it is open, and no credit is claimed or given up in the meantime.","code":"dependent_answers_need_review","next_step":"Continue with your answers, and answer that one yes or no once you can check it.","severity":"info","title":"That answer has to be settled before we can file","when":{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"answered","ref":"household.dependents.qualifies_ctc"},{"op":"answered","ref":"household.dependents.qualifies_odc"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"household.dependents.qualifies_ctc","value":true},{"op":"eq","ref":"household.dependents.qualifies_odc","value":true},{"op":"and","rules":[{"op":"eq","ref":"household.dependents.qualifies_ctc","value":false},{"op":"eq","ref":"household.dependents.qualifies_odc","value":false}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"household.dependents.months_lived_with_taxpayer"},{"op":"eq","ref":"household.dependents.months_lived_with_taxpayer"}]}]}]}},"row_label":"Person","visible_when":{"op":"truthy","ref":"household.has_dependents"}},{"binds":"itin_application_by_due_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count any extension: the due date is in April, 2 months later if you live outside the United States then, or later with an extension you asked for.","help_lines":["An ITIN applied for by then counts for the credit for other dependents, the education credits and, on a joint return, the child tax credit. Applied for later, it does not."],"help_when":[],"id":"household.itin_application_by_due_date","includes_united_states":false,"kind":"yesno","label":"Will you mail this return with its ITIN (an IRS number for people who cannot get a Social Security number) application by the due date?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"any_row","ref":"household.dependents","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]}]}},{"binds":"prior_child_credit_disallowed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A letter from the IRS would have told you. Answer no if the only reason was a math or copying error.","help_lines":["After a denial the claim needs Form 8862 with the return, and we prepare it. The next questions decide whether it is needed.","Choose Not sure if you cannot check."],"help_when":[],"id":"household.prior_child_credit_disallowed","includes_united_states":false,"kind":"yesno","label":"Has the IRS ever denied or reduced your child tax credit or dependent credit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]}},{"binds":"prior_child_credit_history.since","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your letters from the IRS say so. Choose the first answer that fits.","help_lines":["A bar for 2 or 10 years comes only from a final IRS decision about an earlier claim, and the letter says so.","Choose Not sure if you cannot check. This return cannot be filed from here until it is answered."],"help_when":[],"id":"household.prior_child_credit_history.since","includes_united_states":false,"kind":"choice","label":"What has the IRS decided about your credit since it was denied?","label_when":[],"off_ramp":{"body":"A 2-year bar covers the two tax years after the year of the return the decision was about, and a 10-year bar the ten years after it. For example, a 2024 return found reckless bars 2025 and 2026. In those years the credit is left off your return, and we say so on your results.","code":"credit_barred_after_finding","next_step":"Check which year's return the decision was about. To contest the decision, the IRS instructions say to claim the credit anyway with Form 8862 on a return sent by mail. We do not prepare a return that claims the credit while the bar lasts.","severity":"info","title":"A bar means the credit is not claimed while it lasts","when":{"op":"in","ref":"household.prior_child_credit_history.since","values":["ban_two_years","ban_ten_years","both_bans"]}},"options":[{"label":"It was allowed again after I sent Form 8862 or other papers, and it has not been denied since other than for a math or copying error.","value":"allowed_again"},{"label":"A final decision bars it for 2 years, for reckless or intentional disregard of the rules.","value":"ban_two_years"},{"label":"A final decision bars it for 10 years, for fraud.","value":"ban_ten_years"},{"label":"Both: a 2-year bar and a 10-year bar.","value":"both_bans"},{"label":"None of these.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"household.prior_child_credit_disallowed"}]}},{"binds":"prior_child_credit_history.denied_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Give the year of the return that was denied or reduced, not the year of the IRS letter. Give the latest one if there was more than one.","help_lines":[],"help_when":[],"id":"household.prior_child_credit_history.denied_year","includes_united_states":false,"kind":"integer","label":"On which year's return did the IRS last deny or reduce your credit?","label_when":[],"options":[],"placeholder":"2023","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in the IRS letter, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"household.prior_child_credit_disallowed"}]},{"op":"in","ref":"household.prior_child_credit_history.since","values":["none","ban_two_years","ban_ten_years","both_bans"]}]}},{"binds":"prior_child_credit_history.reckless_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Give the year of the return the decision was about, not the year the decision was made: a 2024 return found reckless in 2025 bars 2025 and 2026. Give the latest one if there was more than one.","help_lines":[],"help_when":[],"id":"household.prior_child_credit_history.reckless_year","includes_united_states":false,"kind":"integer","label":"For which year's return did the IRS decide your 2-year bar?","label_when":[],"options":[],"placeholder":"2024","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in the IRS letter, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"household.prior_child_credit_disallowed"}]},{"op":"in","ref":"household.prior_child_credit_history.since","values":["ban_two_years","both_bans"]}]}},{"binds":"prior_child_credit_history.fraud_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Give the year of the return the decision was about, not the year the decision was made: a 2024 return found reckless in 2025 bars 2025 and 2026. Give the latest one if there was more than one.","help_lines":[],"help_when":[],"id":"household.prior_child_credit_history.fraud_year","includes_united_states":false,"kind":"integer","label":"For which year's return did the IRS decide your 10-year bar?","label_when":[],"options":[],"placeholder":"2020","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in the IRS letter, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"household.prior_child_credit_disallowed"}]},{"op":"in","ref":"household.prior_child_credit_history.since","values":["ban_ten_years","both_bans"]}]}},{"clears":["household.qualifying_person_not_dependent.first_name","household.qualifying_person_not_dependent.middle_initial","household.qualifying_person_not_dependent.last_name","household.qualifying_person_not_dependent.ssn_or_itin","household.qualifying_person_not_dependent.relationship","household.qualifying_person_not_dependent.date_of_birth","household.qualifying_person_not_dependent.months_lived_with_taxpayer","household.qualifying_person_not_dependent.married","household.qualifying_person_not_dependent.provided_own_support","household.qualifying_person_not_dependent.full_time_student","household.qualifying_person_not_dependent.permanently_disabled","household.qualifying_person_not_dependent.qualifying_child_of_more_than_one","household.qualifying_person_not_dependent.other_qualifying_child_claimant","household.qualifying_person_not_dependent.lived_with_more_than_half_year","household.qualifying_person_not_dependent.life_event_in_year","household.qualifying_person_not_dependent.lived_with_more_than_half_of_time_since_event","household.qualifying_person_not_dependent.lived_with_entire_time_since_event","household.qualifying_person_not_dependent.not_claimed_reason","household.qualifying_person_not_dependent.citizen_or_resident"],"currency_pickable":false,"derived_from_presence":["qualifying_person_not_dependent"],"help":"The child is named beside your filing status rather than in the list of people you claim. For head of household this can be the child whose claim you passed to their other parent, for example on Form 8332. For qualifying surviving spouse that release does not count; there it is a child you could claim but do not because of their own income or a joint return they filed. Answer no if everyone your status rests on is in that list.","help_lines":[],"help_when":[],"id":"household.has_qualifying_person_not_dependent","includes_united_states":false,"kind":"yesno","label":"Is your filing status based on an unclaimed child who lives with you?","label_when":[],"off_ramp":{"body":"You chose qualifying surviving spouse, and that status needs your own child or stepchild who lived in your home for the whole year, counting time away for school, a vacation or medical care as time at home. A foster child, a parent or another relative does not count, and nobody you have listed meets that test.","code":"qualifying_surviving_spouse_needs_a_child","next_step":"Check the people you listed and the months each lived with you, or change your filing status on the About you page.","severity":"block","title":"Qualifying surviving spouse needs your child at home all year","when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"or","rules":[{"op":"count_gt","ref":"household.dependents","value":0},{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"answered","ref":"household.qualifying_person_not_dependent.relationship"}]}]},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"and","rules":[{"op":"in","ref":"household.dependents.relationship","values":["son","daughter","stepchild"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"household.dependents.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption"]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"lt","ref":"household.dependents.months_lived_with_taxpayer","value":12}]},{"op":"age_lt","ref":"household.dependents.date_of_birth","value":1}]}]},{"op":"and","rules":[{"op":"in","ref":"household.dependents.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption"]},{"op":"not","rules":[{"op":"eq","ref":"household.dependents.lived_with_more_than_half_of_time_since_event","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"household.dependents.lived_with_entire_time_since_event","value":false}]}]}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"household.qualifying_person_not_dependent.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption"]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"lt","ref":"household.qualifying_person_not_dependent.months_lived_with_taxpayer","value":12}]},{"op":"age_lt","ref":"household.qualifying_person_not_dependent.date_of_birth","value":1}]}]},{"op":"and","rules":[{"op":"in","ref":"household.qualifying_person_not_dependent.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption"]},{"op":"not","rules":[{"op":"eq","ref":"household.qualifying_person_not_dependent.lived_with_more_than_half_of_time_since_event","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"household.qualifying_person_not_dependent.lived_with_entire_time_since_event","value":false}]}]}]}]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"about_you.filing_status","values":["hoh","qss"]}},{"binds":"qualifying_person_not_dependent.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Exactly as it appears on the child's Social Security card.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.first_name","includes_united_states":false,"kind":"text","label":"What is your child's first name?","label_when":[],"options":[],"placeholder":"Rowan","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"],"visible_when":{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"}},{"binds":"qualifying_person_not_dependent.middle_initial","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One letter from the name on the card.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.middle_initial","includes_united_states":false,"kind":"text","label":"What is your child's middle initial, if they use one?","label_when":[],"options":[],"placeholder":"R","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all."}},"validators":["person_name"],"visible_when":{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"}},{"binds":"qualifying_person_not_dependent.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Exactly as it appears on the child's Social Security card.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.last_name","includes_united_states":false,"kind":"text","label":"What is your child's last name?","label_when":[],"options":[],"placeholder":"Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"],"visible_when":{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"}},{"binds":"qualifying_person_not_dependent.ssn_or_itin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the child's card or the letter that issued the number. The IRS wants it beside your filing status.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.ssn_or_itin","includes_united_states":false,"kind":"ssn","label":"What is your child's nine-digit taxpayer number?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id":{"message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456."}},"validators":["nine_digit_tin","issued_taxpayer_id"],"visible_when":{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"}},{"binds":"qualifying_person_not_dependent.relationship","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Choose the closest match.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.relationship","includes_united_states":false,"kind":"choice","label":"How is your child related to you?","label_when":[],"options":[{"label":"Son","value":"son"},{"label":"Daughter","value":"daughter"},{"label":"Stepchild","value":"stepchild"},{"label":"Foster child","value":"foster_child"},{"label":"Grandchild","value":"grandchild"},{"label":"Brother","value":"brother"},{"label":"Sister","value":"sister"},{"label":"Half brother","value":"half_brother"},{"label":"Half sister","value":"half_sister"},{"label":"Stepbrother","value":"stepbrother"},{"label":"Stepsister","value":"stepsister"},{"label":"Niece","value":"niece"},{"label":"Nephew","value":"nephew"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"}},{"binds":"qualifying_person_not_dependent.not_claimed_reason","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A qualifying surviving spouse can rest the status on a child they do not claim only for the first three reasons here. The gross income limit this year is {context.qualifying_relative_gross_income_limit}.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.not_claimed_reason","includes_united_states":false,"kind":"choice","label":"Why is this child not among the people you claim?","label_when":[],"off_ramp":{"body":"Qualifying surviving spouse rests on a child you do not claim only when the child had gross income of {context.qualifying_relative_gross_income_limit} or more, filed a joint return, or someone else can claim you. A release to the other parent, for example on Form 8332, does not count.","code":"qss_named_child_not_claimable","next_step":"Change your filing status on the About you page, for example to head of household, or list the child among the people you claim if you can.","severity":"block","title":"This child does not give you qualifying surviving spouse","when":{"op":"in","ref":"household.qualifying_person_not_dependent.not_claimed_reason","values":["released_to_other_parent","other"]}},"options":[{"label":"Their own gross income was at or over this year's limit.","value":"gross_income_over_limit"},{"label":"They filed a joint return with their spouse.","value":"filed_joint_return"},{"label":"Someone else can claim me as a dependent.","value":"you_can_be_claimed"},{"label":"I gave the claim to their other parent, for example on Form 8332.","value":"released_to_other_parent"},{"label":"Another reason.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]}},{"binds":"qualifying_person_not_dependent.date_of_birth","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on the child's birth certificate or passport.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.date_of_birth","includes_united_states":false,"kind":"date","label":"What is your child's date of birth?","label_when":[],"options":[],"placeholder":"2015-05-05","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]}]}},{"binds":"qualifying_person_not_dependent.months_lived_with_taxpayer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count whole months from your own records. Time away at school, on vacation, in hospital or on military service still counts as time at home. A child born during the year counts for the time since birth.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.months_lived_with_taxpayer","includes_united_states":false,"kind":"integer","label":"How many months of the year did your child live with you?","label_when":[],"options":[],"placeholder":"12","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]}]}},{"binds":"qualifying_person_not_dependent.lived_with_more_than_half_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Six whole months may or may not be more than half. Count the days from your own records: 183 days or more is more than half. Time away at school, on vacation, in hospital or on military service counts as time at home.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.lived_with_more_than_half_year","includes_united_states":false,"kind":"yesno","label":"Did your child live with you for more than half the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"eq","ref":"household.qualifying_person_not_dependent.months_lived_with_taxpayer","value":6}]}},{"binds":"qualifying_person_not_dependent.life_event_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A child born or adopted during the year, or placed with you during it, counts as living with you for more than half of the year if your home was theirs for more than half of the time since. The same goes for a child who died during the year, for the time they were alive.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.life_event_in_year","includes_united_states":false,"kind":"choice","label":"Was your child born, adopted, placed with you or did they die this year?","label_when":[],"options":[{"label":"Born during the year.","value":"born"},{"label":"Died during the year.","value":"died"},{"label":"Born and died during the year.","value":"born_and_died"},{"label":"Adopted by you during the year.","value":"adopted"},{"label":"Placed with you for adoption during the year.","value":"placed_for_adoption"},{"label":"Placed with you as a foster child during the year.","value":"foster_placed"},{"label":"None of these.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"or","rules":[{"op":"lt","ref":"household.qualifying_person_not_dependent.months_lived_with_taxpayer","value":7},{"op":"and","rules":[{"op":"truthy","ref":"household.qualifying_person_not_dependent.date_of_birth"},{"op":"age_lt","ref":"household.qualifying_person_not_dependent.date_of_birth","value":1}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]},{"op":"or","rules":[{"op":"lt","ref":"household.qualifying_person_not_dependent.months_lived_with_taxpayer","value":12},{"op":"and","rules":[{"op":"truthy","ref":"household.qualifying_person_not_dependent.date_of_birth"},{"op":"age_lt","ref":"household.qualifying_person_not_dependent.date_of_birth","value":1}]}]}]}]}},{"binds":"qualifying_person_not_dependent.lived_with_more_than_half_of_time_since_event","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is the time since they were born, adopted or placed with you, or the time they were alive. Time in hospital counts as time at home.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.lived_with_more_than_half_of_time_since_event","includes_united_states":false,"kind":"yesno","label":"Was your home your child's home for over half of that time?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"in","ref":"household.qualifying_person_not_dependent.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption","foster_placed"]}]}},{"binds":"qualifying_person_not_dependent.lived_with_entire_time_since_event","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A qualifying surviving spouse needs a child at home all year. A child born, adopted or placed with you for adoption during the year counts as home all year if your home was theirs for the whole time since, or the whole time they were alive. Time in hospital counts as time at home.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.lived_with_entire_time_since_event","includes_united_states":false,"kind":"yesno","label":"Was your home your child's home for the whole of that time?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]},{"op":"in","ref":"household.qualifying_person_not_dependent.life_event_in_year","values":["born","died","born_and_died","adopted","placed_for_adoption"]}]}},{"binds":"qualifying_person_not_dependent.married","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only an unmarried child you do not claim can make you head of household.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.married","includes_united_states":false,"kind":"yesno","label":"Was your child married on the last day of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]}},{"binds":"qualifying_person_not_dependent.provided_own_support","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Support is what was spent on their living costs: housing, food, clothing, schooling and medical care.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.provided_own_support","includes_united_states":false,"kind":"yesno","label":"Did your child pay over half of their own support this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]},{"op":"in","ref":"household.qualifying_person_not_dependent.not_claimed_reason","values":["gross_income_over_limit","filed_joint_return"]}]}]}},{"binds":"qualifying_person_not_dependent.full_time_student","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enrolled full time at a school, including a technical or trade school. A course only on the internet or by correspondence does not count. The school's enrollment letter shows it.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.full_time_student","includes_united_states":false,"kind":"yesno","label":"Was your child a full-time student for part of five months of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]},{"op":"in","ref":"household.qualifying_person_not_dependent.not_claimed_reason","values":["gross_income_over_limit","filed_joint_return"]}]}]},{"op":"truthy","ref":"household.qualifying_person_not_dependent.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.qualifying_person_not_dependent.date_of_birth","value":19}]},{"op":"age_lt","ref":"household.qualifying_person_not_dependent.date_of_birth","value":24}]}},{"binds":"qualifying_person_not_dependent.permanently_disabled","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That means a physical or mental condition kept them from any substantial paid work, and a doctor has found it has lasted or is expected to last at least a year, or to lead to death.","help_lines":[],"help_when":[],"id":"household.qualifying_person_not_dependent.permanently_disabled","includes_united_states":false,"kind":"yesno","label":"Was your child permanently and totally disabled at any time during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]},{"op":"in","ref":"household.qualifying_person_not_dependent.not_claimed_reason","values":["gross_income_over_limit","filed_joint_return"]}]}]},{"op":"truthy","ref":"household.qualifying_person_not_dependent.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.qualifying_person_not_dependent.date_of_birth","value":19}]}]}},{"binds":"qualifying_person_not_dependent.qualifying_child_of_more_than_one","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That can happen when your child also lived for over half the year with another relative, such as their other parent or a grandparent. Leave it clear for a parent who claims the child only because of a release you signed, such as Form 8332.","help_lines":["Only one person can take head of household, the child tax credit, the child care credit and the earned income credit for a child.","A parent keeps the child over anyone else. Between others, the rules turn on each person's income, which this return does not hold."],"help_when":[],"id":"household.qualifying_person_not_dependent.qualifying_child_of_more_than_one","includes_united_states":false,"kind":"yesno","label":"Could someone not on this return also claim your child as their qualifying child?","label_when":[],"off_ramp":{"body":"Only one person can claim a child for these credits and head of household. When you are not the child's parent, a parent who claims the child keeps them, and otherwise the rules compare incomes, which this return does not hold, so it cannot be filed from here.","code":"qualifying_child_of_more_than_one","next_step":"Use another preparer for a return like this, for example a tax professional, or clear the box if it was not right. Your answers stay saved.","severity":"block","title":"We cannot settle who claims this child","when":{"op":"and","rules":[{"op":"truthy","ref":"household.qualifying_person_not_dependent.qualifying_child_of_more_than_one"},{"op":"not","rules":[{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter"]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]}},{"binds":"qualifying_person_not_dependent.citizen_or_resident","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their passport, their immigration papers or their address show this.","help_lines":["If you are a United States citizen or national, a child you adopted who lived with you all year as a member of your household counts as a citizen here."],"help_when":[],"id":"household.qualifying_person_not_dependent.citizen_or_resident","includes_united_states":false,"kind":"yesno","label":"Was your child a US citizen, national or resident, or Canadian or Mexican resident?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"qss"},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter","stepchild"]}]},{"op":"in","ref":"household.qualifying_person_not_dependent.not_claimed_reason","values":["gross_income_over_limit","filed_joint_return"]}]}},{"binds":"qualifying_person_not_dependent.other_qualifying_child_claimant","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If both their other parent and someone else could, choose their other parent. If you are not sure, choose Not sure: you cannot file until you answer, and nothing is claimed or given up meanwhile.","help_lines":["Only one person can take head of household, the child tax credit, the child care credit and the earned income credit for a child.","A parent keeps the child over anyone who is not a parent. When both parents claim the child, the IRS decides by where the child lived longer and then by income."],"help_when":[],"id":"household.qualifying_person_not_dependent.other_qualifying_child_claimant","includes_united_states":false,"kind":"choice","label":"Who not on this return could claim your child as their qualifying child?","label_when":[],"off_ramp":{"body":"When both parents claim a child, the IRS gives the child to the parent the child lived with longer, and to the parent with the higher income if that time was equal. This return does not hold the other parent's figures, so it cannot be filed from here.","code":"qualifying_child_claimed_by_both_parents","next_step":"Use another preparer for a return like this, for example a tax professional, or change the answer if the other parent will not claim the child. Your answers stay saved.","severity":"block","title":"We cannot settle which parent claims this child","when":{"op":"eq","ref":"household.qualifying_person_not_dependent.other_qualifying_child_claimant","value":"other_parent_claiming"}},"options":[{"label":"Someone who is not their parent, such as a grandparent.","value":"not_a_parent"},{"label":"Their other parent, not on this return, who agrees not to claim them.","value":"other_parent_not_claiming"},{"label":"Their other parent, not on this return, who will claim them too.","value":"other_parent_claiming"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"eq","ref":"about_you.filing_status","value":"hoh"}]},{"op":"in","ref":"household.qualifying_person_not_dependent.relationship","values":["son","daughter"]},{"op":"truthy","ref":"household.qualifying_person_not_dependent.qualifying_child_of_more_than_one"}]}}],"review":false,"title":"Your household"},{"blurb":"Check every kind of income you had, here or abroad. We only ask for details on the ones you check.","id":"income_sources","nodes":[{"clears":["income_sources.has_wages","income_sources.has_self_employment","income_sources.has_investment_income","income_sources.has_social_security","income_sources.has_foreign_social_security","income_sources.has_retirement_distributions","income_sources.has_pensions","income_sources.has_capital_transactions","income_sources.has_rentals","income_sources.has_royalties","income_sources.has_unemployment","income_sources.has_prior_year_unemployment_repayment","income_sources.has_other_income","income_sources.has_passive_income","income_sources.has_state_refund","income_sources.has_misclassified_pay","income_sources.investment_income_reduced","income_sources.seller_financed_interest"],"currency_pickable":false,"derived_from_presence":["wages[]","self_employment[]","investment_income[]","social_security","foreign_social_security[]","retirement_distributions[]","pensions_and_annuities[]","capital_transactions[]","rentals[]","royalties[]","unemployment[]","unemployment_repaid_from_earlier_years","other_income[]","passive_income[]","prior_year_state_refund","misclassified_pay[]"],"help":"Answer no only if you received no pay, business income, interest, dividends, benefits, pension, sale proceeds, rent, royalty, unemployment pay or other income at all. A no skips every income question on this page. If you paid back unemployment pay from an earlier year, answer yes, because that is asked on this page too.","help_lines":[],"help_when":[],"id":"income_sources.has_any_income","includes_united_states":false,"kind":"yesno","label":"Did you receive any income during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["income_sources.wages"],"currency_pickable":false,"derived_from_presence":["wages[]"],"help":"Count a job abroad. Employers abroad do not issue a Form W-2. If a payer sent you a Form 1099-NEC or 1099-MISC for your work, check Self-employment too, and we ask next whether it treated you as a contractor when you were really its employee.","help_lines":[],"help_when":[],"id":"income_sources.has_wages","includes_united_states":false,"kind":"yesno","label":"Did you work for an employer?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.self_employment","income_sources.businesses"],"currency_pickable":false,"derived_from_presence":["self_employment[]"],"help":"Count freelance work, consulting, fees as a company director and any trade you ran yourself. A corporation you own is not the same thing: its own money is not yours until it pays you, so leave that out here. A limited liability company (LLC) set up in the United States that only you own is your own business, so count it here, unless it chose to be taxed as a corporation. A company or LLC set up abroad is different: we ask about it on the uncommon situations screen.","help_lines":[],"help_when":[],"id":"income_sources.has_self_employment","includes_united_states":false,"kind":"yesno","label":"Did you work for yourself?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.investment_income"],"currency_pickable":false,"derived_from_presence":["investment_income[]"],"help":"Your bank and broker send a statement for each account.","help_lines":[],"help_when":[],"id":"income_sources.has_investment_income","includes_united_states":false,"kind":"yesno","label":"Did you receive interest or dividends?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.social_security.gross_benefits"],"currency_pickable":false,"derived_from_presence":["social_security"],"help":"Your yearly benefit statement from the Social Security Administration or the Railroad Retirement Board shows the total. Benefits from another country's system come next.","help_lines":[],"help_when":[],"id":"income_sources.has_social_security","includes_united_states":false,"kind":"yesno","label":"Did you receive United States social security or railroad retirement benefits?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.foreign_social_security"],"currency_pickable":false,"derived_from_presence":["foreign_social_security[]"],"help":"Count a state pension or social security paid by the government of another country. Its yearly statement shows the total.","help_lines":[],"help_when":[],"id":"income_sources.has_foreign_social_security","includes_united_states":false,"kind":"yesno","label":"Did you receive social security from another country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.retirement_distributions"],"currency_pickable":false,"derived_from_presence":["retirement_distributions[]"],"help":"Each payer sends you a Form 1099-R for the year. A pension paid by a payer in the United States comes with a Form 1099-R too, so it goes here.","help_lines":[],"help_when":[],"id":"income_sources.has_retirement_distributions","includes_united_states":false,"kind":"yesno","label":"Did you take money out of a retirement account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.pensions_and_annuities"],"currency_pickable":false,"derived_from_presence":["pensions_and_annuities[]"],"help":"Count a pension paid from abroad, which carries no United States form. A pension paid by a payer in the United States comes with a Form 1099-R, so add it where you add money taken out of a retirement account.","help_lines":[],"help_when":[],"id":"income_sources.has_pensions","includes_united_states":false,"kind":"yesno","label":"Did you receive a regular pension or annuity?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.capital_transactions"],"currency_pickable":false,"derived_from_presence":["capital_transactions[]"],"help":"Your broker's yearly statement lists every sale with its cost. Count crypto or other digital assets you sold or swapped.","help_lines":[],"help_when":[],"id":"income_sources.has_capital_transactions","includes_united_states":false,"kind":"yesno","label":"Did you sell shares, property or another investment?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.rentals"],"currency_pickable":false,"derived_from_presence":["rentals[]"],"help":"Count a property abroad as well as one in the United States.","help_lines":[],"help_when":[],"id":"income_sources.has_rentals","includes_united_states":false,"kind":"yesno","label":"Did you rent out a property?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.royalties"],"currency_pickable":false,"derived_from_presence":["royalties[]"],"help":"For example from a book, a song, a patent or an oil or gas interest. The payer's Form 1099-MISC shows it in box 2.","help_lines":[],"help_when":[],"id":"income_sources.has_royalties","includes_united_states":false,"kind":"yesno","label":"Did you receive a royalty?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.unemployment","income_sources.unemployment_repaid_from_earlier_years"],"currency_pickable":false,"derived_from_presence":["unemployment[]"],"help":"From a government unemployment program in the United States or abroad. A Form 1099-G shows United States unemployment pay in box 1.","help_lines":[],"help_when":[],"id":"income_sources.has_unemployment","includes_united_states":false,"kind":"yesno","label":"Did you receive unemployment pay?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.unemployment_repaid_from_earlier_years"],"currency_pickable":false,"derived_from_presence":["unemployment_repaid_from_earlier_years"],"help":"For example an overpayment the program asked you to return. The program's letter shows what you repaid.","help_lines":[],"help_when":[],"id":"income_sources.has_prior_year_unemployment_repayment","includes_united_states":false,"kind":"yesno","label":"Did you pay back unemployment pay from an earlier year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.other_income"],"currency_pickable":false,"derived_from_presence":["other_income[]"],"help":"For example gambling winnings, a prize, jury duty pay, a canceled debt, income from a hobby, or crypto you received as pay, a reward or for staking. Leave out anything another question on this page asks about.","help_lines":[],"help_when":[],"id":"income_sources.has_other_income","includes_united_states":false,"kind":"yesno","label":"Did you receive any other income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.passive_income"],"currency_pickable":false,"derived_from_presence":["passive_income[]"],"help":"For example fishing boat proceeds, crop insurance proceeds, a taxable grant or an agriculture payment. Your payer's statement shows the amount.","help_lines":[],"help_when":[],"id":"income_sources.has_passive_income","includes_united_states":false,"kind":"yesno","label":"Did you get a Form 1099-MISC or 1099-G for something not on this list?","label_when":[],"off_ramp":{"body":"Payments entered here go on a line of the return that has to list each one by its kind, and we do not prepare that list yet, so a return carrying them cannot be filed electronically through us.","code":"other_income_not_filed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not file these payments","when":{"op":"truthy","ref":"income_sources.has_passive_income"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"clears":["income_sources.prior_year_state_refund.refund_amount"],"currency_pickable":false,"derived_from_presence":["prior_year_state_refund"],"help":"The refund arrives with a Form 1099-G, or shows on your bank statement.","help_lines":[],"help_when":[],"id":"income_sources.has_state_refund","includes_united_states":false,"kind":"yesno","label":"Did a state or local tax office refund you income tax?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]}},{"binds":"coronavirus_related_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"These were withdrawals from a retirement plan or IRA made in 2020 because of the coronavirus. Answer yes if one was made in 2020 or if part of one belongs on this year's return.","help_lines":[],"help_when":[],"id":"income_sources.coronavirus_related_distribution","includes_united_states":false,"kind":"yesno","label":"Did you take a coronavirus-related distribution in 2020, or report or repay one now?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.prior_year_law.prior_year_law_refusals","required_when":{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022}]}]}},{"binds":"disposed_of_qualified_opportunity_fund","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A qualified opportunity fund invests in areas the government has designated, and your fund would have told you it is one: the statement or the partnership form it sends you says so.","help_lines":["Answer no if you have never held one.","Choose Not sure if you cannot check it: the form has to carry an answer to this box, so the return cannot be filed from here until it does."],"help_when":[],"id":"income_sources.disposed_of_qualified_opportunity_fund","includes_united_states":false,"kind":"yesno","label":"Did you sell or dispose of a qualified opportunity fund investment this year?","label_when":[],"off_ramp":{"body":"Selling or disposing of a qualified opportunity fund investment brings a Form 8997 with it, which we do not prepare.","code":"qof_disposal","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with a qualified opportunity fund sale","when":{"op":"truthy","ref":"income_sources.disposed_of_qualified_opportunity_fund"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_capital_transactions"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"eq","ref":"income_sources.investment_income.kind","value":"capital_gain_distribution"}]}]}]}},{"binds":"screened_inputs.section_1256_contracts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your broker marks them in boxes 8 to 11 of Form 1099-B, or calls them section 1256 contracts. Check it if you did or cannot tell. Then we cannot prepare this return, because they are reported on a form we do not prepare.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.section_1256_contracts","includes_united_states":false,"kind":"yesno","label":"Did you sell regulated futures or options contracts, or are you unsure?","label_when":[],"off_ramp":{"body":"Gains and losses on those contracts are reported on Form 6781, which we do not prepare.","code":"section_1256_contracts","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with futures or similar contracts","when":{"op":"truthy","ref":"income_sources.screened_inputs.section_1256_contracts"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_transactions"}},{"binds":"screened_inputs.trader_mark_to_market","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only people who trade securities as a business can choose this, and they make the choice in advance with the IRS. Your tax advisor would have told you. Check it if you made it or cannot tell. Most people who sell shares have not.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.trader_mark_to_market","includes_united_states":false,"kind":"yesno","label":"Do you report trading gains at year-end market value, or are you unsure?","label_when":[],"off_ramp":{"body":"Their gains and losses are ordinary and are reported on Form 4797, which we do not prepare for that choice.","code":"trader_mark_to_market","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns for traders who report at market value","when":{"op":"truthy","ref":"income_sources.screened_inputs.trader_mark_to_market"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_transactions"}},{"binds":"screened_inputs.federal_mortgage_subsidy","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your lender or a state or local housing agency would have told you when you bought it. Check it if so or if you cannot tell. Some of that help may have to be paid back when you sell, on a form we do not prepare, even when none of the gain is taxed.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.federal_mortgage_subsidy","includes_united_states":false,"kind":"yesno","label":"Did a home you sold have a bond-program mortgage or mortgage credit certificate?","label_when":[],"off_ramp":{"body":"Selling a home bought with a bond-financed mortgage or a mortgage credit certificate can mean paying some of that help back on Form 8828, which we do not prepare.","code":"federal_mortgage_subsidy","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the payback of a mortgage subsidy","when":{"op":"truthy","ref":"income_sources.screened_inputs.federal_mortgage_subsidy"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_transactions"}},{"binds":"kiddie_tax.neither_parent_alive","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only a parent who was alive on December 31 matters. Check it only if neither of them was.","help_lines":[],"help_when":[],"id":"income_sources.kiddie_tax.neither_parent_alive","includes_united_states":false,"kind":"yesno","label":"Had both of your parents died by the end of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_investment_income"},{"op":"truthy","ref":"income_sources.has_capital_transactions"},{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"truthy","ref":"income_sources.has_pensions"},{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"truthy","ref":"income_sources.has_unemployment"},{"op":"truthy","ref":"income_sources.has_other_income"},{"op":"truthy","ref":"income_sources.has_passive_income"},{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.has_pfic_holdings"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]}]}]},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}]}]}]}},{"binds":"kiddie_tax.earned_income_over_half_support","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Support is what was spent on your living costs: housing, food, clothing, schooling and medical care. Count only pay you earned from work yourself, not interest, dividends, gains, pensions, benefits or rent.","help_lines":[],"help_when":[],"id":"income_sources.kiddie_tax.earned_income_over_half_support","includes_united_states":false,"kind":"yesno","label":"Did your own work pay for over half of your support this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_investment_income"},{"op":"truthy","ref":"income_sources.has_capital_transactions"},{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"truthy","ref":"income_sources.has_pensions"},{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"truthy","ref":"income_sources.has_unemployment"},{"op":"truthy","ref":"income_sources.has_other_income"},{"op":"truthy","ref":"income_sources.has_passive_income"},{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.has_pfic_holdings"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]}]}]},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":17}]}]}]}},{"binds":"kiddie_tax.full_time_student","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Full time means enrolled full time at a school, including a technical, trade or mechanical school. The five months do not have to be in a row, and part of a month counts. Check it if you were.","help_lines":[],"help_when":[],"id":"income_sources.kiddie_tax.full_time_student","includes_united_states":false,"kind":"yesno","label":"Were you a full-time student for part of five months of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_investment_income"},{"op":"truthy","ref":"income_sources.has_capital_transactions"},{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"truthy","ref":"income_sources.has_pensions"},{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"truthy","ref":"income_sources.has_unemployment"},{"op":"truthy","ref":"income_sources.has_other_income"},{"op":"truthy","ref":"income_sources.has_passive_income"},{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.has_pfic_holdings"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]}]}]},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":18}]}]}]}},{"binds":"qualified_business_income_deduction_claimed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is worked out on Form 8995 from the profit of a business you run, for the work you did in the United States, from a rental or royalty in the United States that you run as a business, and from any amount in box 5 of a Form 1099-DIV.","help_lines":["We work it out for you when your taxable income before the deduction is no more than the amount Form 8995 sets for the year; above that it needs Form 8995-A, which we do not prepare.","Answer no if you are not claiming it, and choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.qualified_business_income_deduction_claimed","includes_united_states":false,"kind":"yesno","label":"Are you claiming the deduction for qualified business income on this return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"eq","ref":"income_sources.self_employment.foreign_sourced","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_investment_income"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.section_199a_dividends","value":0}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"eq","ref":"income_sources.royalties.source","value":"US"}]}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"answered","ref":"income_sources.schedule_k1s.qualified_business_income"},{"op":"gt","ref":"income_sources.schedule_k1s.section_199a_dividends","value":0}]}]}]}]}},{"binds":"qualified_business_loss_carryforward","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Look at the last of those forms you filed.","help_lines":["On Form 8995, line 16 and line 17 show a loss to carry forward in parentheses when there is one; Form 8995-A has matching carryforward lines.","Answer no if you have never filed either form or neither shows a loss.","We do not hold your earlier form, so a yes means the return cannot be filed from here.","Choose Not sure if you cannot check it: the return cannot be filed from here until you do."],"help_when":[],"id":"income_sources.qualified_business_loss_carryforward","includes_united_states":false,"kind":"yesno","label":"Does an earlier Form 8995 or 8995-A of yours carry a loss forward?","label_when":[],"off_ramp":{"body":"The loss carried forward from your earlier Form 8995 or Form 8995-A reduces this year's deduction, and we do not hold that earlier form to work out by how much, so the return cannot be filed from here.","code":"qbi_loss_carryforward","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot carry an earlier loss into this deduction","when":{"op":"truthy","ref":"income_sources.qualified_business_loss_carryforward"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.qualified_business_income_deduction_claimed"}]}},{"binds":"us_rental_qualified_trade_or_business","clears":["income_sources.us_rental_qbi_safe_harbor_only","income_sources.us_rental_qbi_every_property"],"currency_pickable":false,"derived_from_presence":[],"help":"The Instructions for Form 8995 count a rental when renting it out is a trade or business you run for income or profit, regularly and continuously, when you use the IRS safe harbor for rental real estate, or when the property is rented to a \"commonly controlled trade or business\". A royalty counts in the same way.","help_lines":["If you told us that renting out a property you sold this year was a business for you, that answer is for the form that reports the sale (Form 4797) and does not answer this question, so check the rental against this test as well.","Answer no if none of your rentals and royalties in the United States counts, and choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.us_rental_qualified_trade_or_business","includes_united_states":false,"kind":"yesno","label":"Does your United States rental or royalty count as a business for this deduction?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.qualified_business_income_deduction_claimed"},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"eq","ref":"income_sources.royalties.source","value":"US"}]}]}]}]}]}},{"binds":"us_rental_qbi_safe_harbor_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The safe harbor counts a rental with 250 hours or more of rental services in the year, kept in records, and a statement sent with the return. Say no if you run the renting as a business anyway, regularly and for profit, or rent the property to a business you control.","help_lines":["Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.us_rental_qbi_safe_harbor_only","includes_united_states":false,"kind":"yesno","label":"Does your rental count only through the IRS safe harbor for rental real estate?","label_when":[],"off_ramp":{"body":"A rental that counts only through the IRS safe harbor needs a statement with the return describing each property, which we do not prepare, so the return cannot be filed from here.","code":"qbi_rental_safe_harbor","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the safe harbor statement","when":{"op":"truthy","ref":"income_sources.us_rental_qbi_safe_harbor_only"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.us_rental_qualified_trade_or_business"},{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"}]}]}]}},{"binds":"us_rental_qbi_every_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if only some of them are run as a business.","help_lines":["Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.us_rental_qbi_every_property","includes_united_states":false,"kind":"yesno","label":"Does that go for every rental and royalty you have in the United States?","label_when":[],"off_ramp":{"body":"When only some of your rentals and royalties count as a business for this deduction, we do not ask which ones, so the return cannot be filed from here.","code":"qbi_rental_some_properties","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot count only some of your rentals","when":{"op":"eq","ref":"income_sources.us_rental_qbi_every_property","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.us_rental_qualified_trade_or_business"},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"count_gt","ref":"income_sources.rentals","value":1},{"op":"or","rules":[{"op":"not","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"ne","ref":"income_sources.rentals.location_country","value":"US"}]}]},{"op":"count_gt","ref":"income_sources.rentals","value":2}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"count_gt","ref":"income_sources.royalties","value":1},{"op":"or","rules":[{"op":"not","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"ne","ref":"income_sources.royalties.source","value":"US"}]}]},{"op":"count_gt","ref":"income_sources.royalties","value":2}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"}]},{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"eq","ref":"income_sources.royalties.source","value":"US"}]}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your closing statement calls it a like-kind exchange. Your agent will have given you a Form 8824.","help_lines":[],"help_when":[],"id":"income_sources.has_like_kind_exchange","includes_united_states":false,"kind":"yesno","label":"This year, did you swap business or investment property instead of selling it?","label_when":[],"off_ramp":{"body":"A like-kind exchange needs Form 8824, which we do not prepare in this product.","code":"like_kind_exchange","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with a property exchange","when":{"op":"truthy","ref":"income_sources.has_like_kind_exchange"}},"options":[],"prefills":[],"required":true,"screening_key":"has_like_kind_exchange","suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Examples are farm income, a payout from a trust, strike or lockout benefits from a union, or money from a source you cannot place.","help_lines":["Gambling winnings, prizes, jury pay and a canceled debt are other income, a kind on that list, so leave them out here.","Say yes for alimony you received under an agreement made before 2019, strike or lockout benefits, tips you did not report to your employer, or a payment shown in box 15 of a Form 1099-MISC or box 3 of a Form 1099-NEC.","Say yes too for a disaster distribution from a retirement account that you are spreading over three years or paying back.","Say yes for interest on U.S. savings bonds (series EE or I) that you want to leave out of income because you paid college costs, and for rent you were paid as a share of crops or livestock.","Your own bank statements are the record."],"help_when":[],"id":"income_sources.has_unmodeled_income","includes_united_states":false,"kind":"yesno","label":"This year, did you receive money not listed among the kinds of income?","label_when":[],"off_ramp":{"body":"We only file returns whose income we can report line by line, so a return with income we cannot place cannot be filed from here.","code":"unmodeled_income","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"review","title":"We cannot report that income line by line","when":{"op":"truthy","ref":"income_sources.has_unmodeled_income"}},"options":[],"prefills":[],"required":true,"screening_key":"has_unmodeled_income","suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count shares held by you and by anyone whose shares the rules add to yours, and count voting power as well as value. Your shareholder register, your share certificate or your company's own filings show both. A limited liability company (LLC) set up abroad counts as a company here.","help_lines":[],"help_when":[],"id":"income_sources.foreign_company_officer_or_owner","includes_united_states":false,"kind":"yesno","label":"This year, were you a foreign company's officer, director or 10% or more owner?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Schedule D shows a loss on line 21 when your losses on sales were more than you could deduct. Check it if it does, or if you cannot tell, and we ask you about it on its own.","help_lines":[],"help_when":[],"id":"income_sources.may_have_capital_loss_carryover","includes_united_states":false,"kind":"yesno","label":"Did you carry a capital loss forward from last year's return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An earlier year's Form 1116 opens one when a loss from abroad reduced your other income, or a loss from the United States reduced your income from abroad. That year's return says so on line 16 and on a statement attached to it. Check it if one did, or if you are not sure, and we ask you about it on the foreign tax page.","help_lines":[],"help_when":[],"id":"income_sources.may_have_earlier_foreign_loss_account","includes_united_states":false,"kind":"yesno","label":"Did your earlier foreign tax credit form (Form 1116) record a foreign loss?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"fit.paid_foreign_tax"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, you got some of it back after your foreign assessment, or a foreign tax office changed what you owed for that year. Also check it if you want this year's unused foreign tax carried back to last year's return.","help_lines":["Tax on pay you left out of your income in full was never claimed as a credit, so a refund of it does not count here.","If you claim foreign tax when you pay it, tax you paid this year for an earlier year is not a change: add it with this year's foreign taxes.","A refund or a change needs Schedule C (Form 1116) with this year's return, and an amended return for the earlier year if its US tax changes.","Unused foreign tax from earlier years that you are bringing into this year is different: we ask about it with the tax you paid abroad, and we work it out.","Check it too if an IRS examination changed an earlier year's credit or the unused foreign tax carried from it."],"help_when":[],"id":"income_sources.complex_ftc","includes_united_states":false,"kind":"yesno","label":"Did foreign tax you claimed as a credit for an earlier year change?","label_when":[],"off_ramp":{"body":"That is done on an amended return for the earlier year and, for a refund or a change, on Schedule C (Form 1116) with this year's return. We prepare neither.","code":"complex_ftc","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not change the foreign tax credit on an earlier return","when":{"op":"truthy","ref":"income_sources.complex_ftc"}},"options":[],"prefills":[],"required":true,"screening_key":"exclusions.complex_ftc","suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.earlier_sale_or_foreclosure","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, a buyer still pays you in installments for land you sold in an earlier year, or a bank took a home or car back, or you sold for less than you owed (a short sale), or you gave property up. Check it if one happened or you cannot tell. Then we cannot prepare this return, because those are reported on forms we do not prepare.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.earlier_sale_or_foreclosure","includes_united_states":false,"kind":"yesno","label":"Were you paid for an earlier sale, or lost property to a lender?","label_when":[],"off_ramp":{"body":"A payment on a sale from an earlier year is reported on Form 6252, and property lost to a lender is worked out under rules for the debt as well as the property. We prepare neither.","code":"earlier_sale_or_foreclosure","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with an earlier sale still being paid, or a foreclosure","when":{"op":"truthy","ref":"income_sources.screened_inputs.earlier_sale_or_foreclosure"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.incentive_stock_options","clears":["income_sources.incentive_stock_option_exercises","income_sources.amt_capital_loss_carryover_differs"],"currency_pickable":false,"derived_from_presence":[],"help":"Your employer's Form 3921 shows each exercise. Check it too if you sold shares you got from an earlier year's exercise.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.incentive_stock_options","includes_united_states":false,"kind":"yesno","label":"Did you exercise incentive stock options, or sell shares you got from them?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.schedule_k1","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The schedule shows your share of its income, even if it paid you nothing. A K-1 can also come from a company or partnership abroad. You enter each one next.","help_lines":["Check it too if you hold a residual interest in a mortgage pool (a REMIC): it sends a Schedule Q instead."],"help_when":[],"id":"income_sources.screened_inputs.schedule_k1","includes_united_states":false,"kind":"yesno","label":"Did a partnership, S corporation, estate or trust send you a Schedule K-1?","label_when":[],"off_ramp":{"body":"We prepare a Schedule K-1 from a partnership or an S corporation for 2019 to 2025 returns only.","code":"schedule_k1","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a Schedule K-1 for this year","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"not","rules":[{"op":"in","ref":"context.tax_year","values":[2019,2020,2021,2022,2023,2024,2025]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.net_operating_loss_carry_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's return, or an earlier one, shows a loss carried forward when your business lost more than you could use. Check it if you cannot tell.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.net_operating_loss_carry_in","includes_united_states":false,"kind":"yesno","label":"Do you carry a net operating loss from an earlier year into this year?","label_when":[],"off_ramp":{"body":"The deduction for an earlier loss is worked out on a worksheet we do not prepare here.","code":"net_operating_loss_carry_in","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not carry an earlier net operating loss forward","when":{"op":"truthy","ref":"income_sources.screened_inputs.net_operating_loss_carry_in"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.domestic_partner_community_state","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"This is a partnership registered with the state, not a marriage. Check it if you registered one and your home was in one of those three states at any time this year, even if it has since ended or you have moved, or if you cannot tell.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.domestic_partner_community_state","includes_united_states":false,"kind":"yesno","label":"This year, were you a registered domestic partner in California, Nevada or Washington?","label_when":[],"off_ramp":{"body":"In these states a registered domestic partner reports half of the shared income of the couple, which is worked out on Form 8958, and we do not prepare that.","code":"domestic_partner_community_state","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not divide a domestic partner's shared income","when":{"op":"truthy","ref":"income_sources.screened_inputs.domestic_partner_community_state"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"about_you.filing_status","values":["single","hoh"]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["investment_income[].nominee_amount","investment_income[].accrued_interest_paid","investment_income[].bond_premium_amortized"],"help":"Enter each payment's amount as the full figure printed on your Form 1099. If you entered it after taking a part off, change it to the full figure. For example interest on an account held for someone else, accrued interest you paid the seller when you bought a bond, or bond premium you chose to take off the interest. Check it if one applies, and we ask about it on each payment.","help_lines":[],"help_when":[],"id":"income_sources.investment_income_reduced","includes_united_states":false,"kind":"yesno","label":"Did a Form 1099 show interest or dividends that are not all your income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_investment_income"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["investment_income[].seller_financed_mortgage"],"help":"For example a house you sold and let the buyer pay off over time, with interest, instead of through a bank. Check it if so, and we ask about it on that payment.","help_lines":[],"help_when":[],"id":"income_sources.seller_financed_interest","includes_united_states":false,"kind":"yesno","label":"Did a buyer of your property pay you interest on a loan from you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_investment_income"}]}},{"clears":["income_sources.misclassified_pay"],"currency_pickable":false,"derived_from_presence":["misclassified_pay[]"],"help":"For example a company paid you on a Form 1099-NEC with no tax taken off, but told you when and how to work, as it would an employee.","help_lines":[],"help_when":[],"id":"income_sources.has_misclassified_pay","includes_united_states":false,"kind":"yesno","label":"Did a payer treat you as a contractor when you were really its employee?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_misclassified_pay"},{"op":"truthy","ref":"income_sources.has_wages"},{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"truthy","ref":"income_sources.has_passive_income"},{"op":"truthy","ref":"income_sources.has_other_income"},{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_wages"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_investment_income"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_social_security"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_foreign_social_security"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_pensions"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_capital_transactions"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_rentals"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_royalties"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_unemployment"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_prior_year_unemployment_repayment"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_other_income"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_passive_income"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"}]}]}]}]}},{"clears":["income_sources.pfic_holdings"],"currency_pickable":false,"derived_from_presence":["pfic_holdings[]"],"help":"For example a UCITS fund or ETF based in Ireland or Luxembourg, a unit trust, a money market fund abroad, or shares in a company abroad that mostly holds investments. Leave out funds inside a United States retirement plan, IRA or education account, and inside a pension plan abroad that a tax treaty treats as a pension fund, where the treaty taxes the plan's income to you only when it is paid out.","help_lines":[],"help_when":[],"id":"income_sources.has_pfic_holdings","includes_united_states":false,"kind":"yesno","label":"Did you own shares in a fund or ETF set up abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["income_sources.foreign_gift_facts.gifts","income_sources.foreign_gift_facts.any_giver_acting_for_someone_else","income_sources.foreign_gift_facts.extension_requested","where_you_lived.foreign_gift_facts.abroad_condition","income_sources.foreign_gift_facts.spouse_abroad_condition","income_sources.foreign_gift_facts.where_filer_lives"],"currency_pickable":false,"derived_from_presence":["foreign_gift_facts.gifts[]"],"help":"A foreign person is someone who is neither a US citizen nor a US resident (a green card holder is a resident). An estate, a company or a partnership set up outside the United States counts too.","help_lines":[],"help_when":[],"id":"income_sources.received_foreign_gift","includes_united_states":false,"kind":"yesno","label":"This year, did a foreign person or company give or leave you something?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it if you cannot tell yet, and we ask about each of those four you left unchecked on its own, with a Not sure. Checking a box above already means yes. The capital loss and the foreign loss account boxes take a not sure themselves.","help_lines":[],"help_when":[],"id":"income_sources.unsure_of_a_situation","includes_united_states":false,"kind":"yesno","label":"Are you unsure of a swap, unlisted money, a foreign company or credit change?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your closing statement calls it a like-kind exchange. Your agent will have given you a Form 8824. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.has_like_kind_exchange_if_unsure","includes_united_states":false,"kind":"yesno","label":"This year, did you swap business or investment property instead of selling it?","label_when":[],"off_ramp":{"body":"A like-kind exchange needs Form 8824, which we do not prepare in this product.","code":"like_kind_exchange","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with a property exchange","when":{"op":"truthy","ref":"income_sources.has_like_kind_exchange_if_unsure"}},"options":[],"prefills":[],"required":true,"screening_key":"has_like_kind_exchange","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.unsure_of_a_situation"},{"op":"eq","ref":"income_sources.has_like_kind_exchange","value":false}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Examples are farm income, a payout from a trust, strike or lockout benefits from a union, or money from a source you cannot place. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":["Gambling winnings, prizes, jury pay and a canceled debt are other income, a kind on that list, so leave them out here.","Say yes for alimony you received under an agreement made before 2019, strike or lockout benefits, tips you did not report to your employer, or a payment shown in box 15 of a Form 1099-MISC or box 3 of a Form 1099-NEC.","Say yes too for a disaster distribution from a retirement account that you are spreading over three years or paying back.","Say yes for interest on U.S. savings bonds (series EE or I) that you want to leave out of income because you paid college costs, and for rent you were paid as a share of crops or livestock.","Your own bank statements are the record."],"help_when":[],"id":"income_sources.has_unmodeled_income_if_unsure","includes_united_states":false,"kind":"yesno","label":"This year, did you receive money not listed among the kinds of income?","label_when":[],"off_ramp":{"body":"We only file returns whose income we can report line by line, so a return with income we cannot place cannot be filed from here.","code":"unmodeled_income","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"review","title":"We cannot report that income line by line","when":{"op":"truthy","ref":"income_sources.has_unmodeled_income_if_unsure"}},"options":[],"prefills":[],"required":true,"screening_key":"has_unmodeled_income","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.unsure_of_a_situation"},{"op":"eq","ref":"income_sources.has_unmodeled_income","value":false}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, you got some of it back after your foreign assessment, or a foreign tax office changed what you owed for that year. Also check it if you want this year's unused foreign tax carried back to last year's return. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":["Tax on pay you left out of your income in full was never claimed as a credit, so a refund of it does not count here.","If you claim foreign tax when you pay it, tax you paid this year for an earlier year is not a change: add it with this year's foreign taxes.","A refund or a change needs Schedule C (Form 1116) with this year's return, and an amended return for the earlier year if its US tax changes.","Unused foreign tax from earlier years that you are bringing into this year is different: we ask about it with the tax you paid abroad, and we work it out.","Check it too if an IRS examination changed an earlier year's credit or the unused foreign tax carried from it."],"help_when":[],"id":"income_sources.complex_ftc_if_unsure","includes_united_states":false,"kind":"yesno","label":"Did foreign tax you claimed as a credit for an earlier year change?","label_when":[],"off_ramp":{"body":"That is done on an amended return for the earlier year and, for a refund or a change, on Schedule C (Form 1116) with this year's return. We prepare neither.","code":"complex_ftc","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not change the foreign tax credit on an earlier return","when":{"op":"truthy","ref":"income_sources.complex_ftc_if_unsure"}},"options":[],"prefills":[],"required":true,"screening_key":"exclusions.complex_ftc","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.unsure_of_a_situation"},{"op":"eq","ref":"income_sources.complex_ftc","value":false}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is the company abroad you are an officer, director or owner of. Say yes if you own 10% or more of it, or if a US person acquired shares this year that took them to 10% or more, or added another 10% or more.","help_lines":["Count shares held by you and by anyone whose shares the rules add to yours, by voting power or by value.","An officer or director of a company no US person bought into this year answers no.","Choose Not sure if you cannot tell: the company's shareholder register shows it."],"help_when":[],"id":"income_sources.foreign_company_officer_or_owner_form_5471","includes_united_states":false,"kind":"yesno","label":"Do you own 10% of it, or did a US person buy 10%?","label_when":[],"off_ramp":{"body":"Owning a tenth or more of a company outside the United States, or being its officer or director in a year a US person bought a tenth or more of it, brings Form 5471 about that company with your return. That form is not one we prepare here, and filing yours without it is not something we will do.","code":"foreign_corporation_interest","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare Form 5471","when":{"op":"truthy","ref":"income_sources.foreign_company_officer_or_owner_form_5471"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"has_foreign_company_interest","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.foreign_company_officer_or_owner"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.unsure_of_a_situation"},{"op":"eq","ref":"income_sources.foreign_company_officer_or_owner","value":false}]}]}},{"binds":"foreign_gift_facts.any_giver_acting_for_someone_else","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520 asks this: for example, a cousin handed you money that really came from another relative or from a company. Most people answer no.","help_lines":["Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.any_giver_acting_for_someone_else","includes_united_states":false,"kind":"yesno","label":"Do you have reason to believe a giver acted for someone else?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"truthy","ref":"income_sources.received_foreign_gift"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.received_foreign_gift"}},{"add_label":"Add a gift","binds":"foreign_gift_facts.gifts[]","help":"Add one row for each gift or inheritance. Several gifts from the same giver are a row each.","id":"income_sources.foreign_gift_facts.gifts","kind":"repeat","label":"What did foreign persons or companies give or leave you this year?","min_rows":1,"nodes":[{"binds":"foreign_gift_facts.gifts[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each of you files your own Form 3520 for the gifts you received. For a gift to you both, add a row for each of you with the part each received.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.owner","includes_united_states":false,"kind":"choice","label":"Did you or your spouse receive this gift?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"foreign_gift_facts.gifts[].giver_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520 tests a gift from a person or an estate differently from a gift from a company or a partnership.","help_lines":["Money from a US trust that a foreign person owns counts as a gift from that person.","Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.giver_kind","includes_united_states":false,"kind":"choice","label":"Who gave or left you this?","label_when":[],"off_ramp":{"body":"Money or property a foreign trust gave you is reported on Form 3520 Part III as a payment from the trust, not as a gift, and we do not prepare that part.","code":"foreign_gift_from_trust","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare Form 3520 for money from a foreign trust","when":{"op":"eq","ref":"income_sources.foreign_gift_facts.gifts.giver_kind","value":"foreign_trust"}},"options":[{"label":"A person who is neither a US citizen nor a US resident","value":"nonresident_alien"},{"label":"An estate abroad, such as an inheritance from someone who was neither a US citizen nor a US resident","value":"foreign_estate"},{"label":"A company set up outside the United States","value":"foreign_corporation"},{"label":"A partnership set up outside the United States","value":"foreign_partnership"},{"label":"A trust or foundation set up outside the United States","value":"foreign_trust"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"foreign_gift_facts.gifts[].giver_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The person's full name, or the name the estate, company or partnership uses. Type a giver's name the same way on each of their gifts: we tell givers apart by it.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.giver_name","includes_united_states":false,"kind":"text","label":"What is your giver's name?","label_when":[],"options":[],"placeholder":"Marie Dupont","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_80":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_80"]},{"binds":"foreign_gift_facts.gifts[].received_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day the money reached you or the property became yours. Your bank statement, the transfer papers or the estate's letter shows it.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.received_on","includes_united_states":false,"kind":"date","label":"When did you receive it?","label_when":[],"options":[],"placeholder":"2025-06-14","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_tax_year","not_after_tax_year"]},{"binds":"foreign_gift_facts.gifts[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say what it is, as Form 3520 lists it: for example cash, shares in a company, or an apartment in Lyon.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.description","includes_united_states":false,"kind":"text","label":"What did you receive?","label_when":[],"options":[],"placeholder":"Cash","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_80":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_80"]},{"binds":"foreign_gift_facts.gifts[].value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its fair market value, in US dollars as Form 3520 asks. For money, the amount converted at the rate on the day you received it, as your bank statement shows. For property, what it would have sold for that day, as a valuation or the estate's papers show.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.value","includes_united_states":false,"kind":"money","label":"What was it worth in US dollars when you received it?","label_when":[],"options":[],"placeholder":"25000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"foreign_gift_facts.gifts[].related_to_another_giver","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Gifts from related givers are added together for Form 3520.","help_lines":["Related includes family: brothers and sisters, half-brothers and half-sisters, a spouse, parents, grandparents and other ancestors, children, grandchildren and other descendants, and the spouses of any of these.","A company is related to a person who owns more than half of it.","Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.related_to_another_giver","includes_united_states":false,"kind":"yesno","label":"Is your giver related to another giver you listed?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"count_gt","ref":"income_sources.foreign_gift_facts.gifts","value":1},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"count_gt","ref":"income_sources.foreign_gift_facts.gifts","value":1}},{"binds":"foreign_gift_facts.gifts[].related_giver","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Type that giver's name as you typed it on their gift.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.related_giver","includes_united_states":false,"kind":"text","label":"Which other giver on your list is your giver related to?","label_when":[],"options":[],"placeholder":"Jean Dupont","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.foreign_gift_facts.gifts","value":1},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_80":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_80"],"visible_when":{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.foreign_gift_facts.gifts","value":1},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"}]}},{"binds":"foreign_gift_facts.gifts[].acting_for_someone_else","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520 asks this, for example where a relative handed you money that really came from a company.","help_lines":["Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else","includes_united_states":false,"kind":"yesno","label":"Do you have reason to believe your giver gave this for someone else?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"truthy","ref":"income_sources.foreign_gift_facts.any_giver_acting_for_someone_else"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.foreign_gift_facts.any_giver_acting_for_someone_else"}},{"binds":"foreign_gift_facts.gifts[].real_giver_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The person or body your giver acted for. Form 3520 adds the gift to that giver's own gifts.","help_lines":["Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.real_giver_kind","includes_united_states":false,"kind":"choice","label":"Who did your gift really come from?","label_when":[],"off_ramp":{"body":"Money or property a foreign trust gave you is reported on Form 3520 Part III as a payment from the trust, not as a gift, and we do not prepare that part.","code":"foreign_gift_from_trust","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare Form 3520 for money from a foreign trust","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"eq","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","value":"foreign_trust"}]}},"options":[{"label":"A person who is neither a US citizen nor a US resident","value":"nonresident_alien"},{"label":"An estate abroad, such as an inheritance from someone who was neither a US citizen nor a US resident","value":"foreign_estate"},{"label":"A company set up outside the United States","value":"foreign_corporation"},{"label":"A partnership set up outside the United States","value":"foreign_partnership"},{"label":"A trust or foundation set up outside the United States","value":"foreign_trust"}],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"}},{"binds":"foreign_gift_facts.gifts[].real_giver_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If they gave you gifts directly too, type the name as you typed it on those gifts.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.real_giver_name","includes_united_states":false,"kind":"text","label":"What is the name of the giver your gift really came from?","label_when":[],"options":[],"placeholder":"Dupont SARL","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["nonresident_alien","foreign_estate","foreign_corporation","foreign_partnership"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_80":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_80"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["nonresident_alien","foreign_estate","foreign_corporation","foreign_partnership"]}]}},{"address_variant":"full","binds":"foreign_gift_facts.gifts[].real_giver_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520 asks for it in an attached statement. The company's letters and invoices show its registered address.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.real_giver_address","includes_united_states":false,"kind":"address","label":"What is the address of the company your gift really came from?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["foreign_corporation","foreign_partnership"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["foreign_corporation","foreign_partnership"]}]}},{"binds":"foreign_gift_facts.gifts[].real_giver_tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its US employer identification number, as its US tax letters show it. Leave it empty if it has none.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.real_giver_tin","includes_united_states":false,"kind":"text","label":"What is the US taxpayer number of the company behind your gift, if any?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"nine_digit_tin_or_ein":{"message":"Check the number and type its nine digits again: a Social Security number, or an employer number written as two digits, a hyphen, then seven."}},"validators":["nine_digit_tin_or_ein"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"},{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.real_giver_kind","values":["foreign_corporation","foreign_partnership"]}]}},{"address_variant":"full","binds":"foreign_gift_facts.gifts[].giver_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520 lists it. A company's registered address is on its letters and invoices; a person's is their home.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.giver_address","includes_united_states":false,"kind":"address","label":"What is your giver's address?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"or","rules":[{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.giver_kind","values":["foreign_corporation","foreign_partnership"]},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"or","rules":[{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.giver_kind","values":["foreign_corporation","foreign_partnership"]},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"}]}},{"binds":"foreign_gift_facts.gifts[].giver_tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A US employer identification number or social security number, as the giver's US tax letters show it. Most givers abroad have none: leave it empty then.","help_lines":[],"help_when":[],"id":"income_sources.foreign_gift_facts.gifts.giver_tin","includes_united_states":false,"kind":"text","label":"What is your giver's US taxpayer number, if it has one?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"nine_digit_tin_or_ein":{"message":"Check the number and type its nine digits again: a Social Security number, or an employer number written as two digits, a hyphen, then seven."}},"validators":["nine_digit_tin_or_ein"],"visible_when":{"op":"or","rules":[{"op":"in","ref":"income_sources.foreign_gift_facts.gifts.giver_kind","values":["foreign_corporation","foreign_partnership"]},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.related_to_another_giver"},{"op":"truthy","ref":"income_sources.foreign_gift_facts.gifts.acting_for_someone_else"}]}}],"row_label":"Gift","visible_when":{"op":"truthy","ref":"income_sources.received_foreign_gift"}},{"binds":"foreign_gift_facts.extension_requested","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"With Form 4868 or Form 2350. Form 3520 has its own due date: if you asked for more time for your return, it is due by October 15.","help_lines":["Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.extension_requested","includes_united_states":false,"kind":"yesno","label":"Did you ask for more time to file this return?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"truthy","ref":"income_sources.received_foreign_gift"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.received_foreign_gift"}},{"binds":"foreign_gift_facts.spouse_abroad_condition","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's own Form 3520 is due two months later if your spouse lives outside the United States and Puerto Rico and works outside them on that day, or is on military duty outside them.","help_lines":["Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.spouse_abroad_condition","includes_united_states":false,"kind":"choice","label":"Where is your spouse on the April due date of this return?","label_when":[],"options":[{"label":"Living and working outside the US and Puerto Rico","value":"lives_and_works_abroad"},{"label":"On military duty outside the US and Puerto Rico","value":"military_duty_abroad"},{"label":"Neither of those","value":"neither"}],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.received_foreign_gift"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.foreign_gift_facts.gifts","rules":[{"op":"eq","ref":"income_sources.foreign_gift_facts.gifts.owner","value":"spouse"}]}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.received_foreign_gift"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.foreign_gift_facts.gifts","rules":[{"op":"eq","ref":"income_sources.foreign_gift_facts.gifts.owner","value":"spouse"}]}]}]}},{"binds":"foreign_gift_facts.where_filer_lives","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your 2019 Form 3520 names the IRS office your 2019 return is mailed to. The 2019 instructions choose that office by where you live. You gave a United States address for your mail.","help_lines":["A US territory counts as outside the 50 states here.","Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"income_sources.foreign_gift_facts.where_filer_lives","includes_united_states":false,"kind":"choice","label":"Where do you live now?","label_when":[],"options":[{"label":"At my mailing address","value":"at_mailing_address"},{"label":"Outside the 50 states and Washington, DC","value":"outside_united_states"},{"label":"Somewhere else in the 50 states or Washington, DC","value":"elsewhere_in_united_states"}],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.received_foreign_gift"},{"op":"in","ref":"context.tax_year","values":[2019]},{"op":"derived","ref":"about_you.mailing_address_in_united_states"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.received_foreign_gift"},{"op":"in","ref":"context.tax_year","values":[2019]},{"op":"derived","ref":"about_you.mailing_address_in_united_states"}]}},{"add_label":"Add an exercise","binds":"incentive_stock_option_exercises[]","help":"Add one row for each Form 3921 from this year, and for an earlier year's exercise whose shares became free to sell this year. Skip it if you only sold shares from an earlier year.","id":"income_sources.incentive_stock_option_exercises","kind":"repeat","label":"Which incentive stock options did you exercise and keep the shares from?","min_rows":0,"nodes":[{"binds":"incentive_stock_option_exercises[].corporation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.corporation","includes_united_states":false,"kind":"text","label":"Which company granted your option?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"incentive_stock_option_exercises[].granted_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.granted_on","includes_united_states":false,"kind":"date","label":"When was the option granted to you?","label_when":[],"options":[],"placeholder":"2023-03-12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"incentive_stock_option_exercises[].exercised_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.exercised_on","includes_united_states":false,"kind":"date","label":"When did you exercise it?","label_when":[],"options":[],"placeholder":"2025-01-07","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"incentive_stock_option_exercises[].price_per_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 3 of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.price_per_share","includes_united_states":false,"kind":"money","label":"What exercise price did you pay for each share?","label_when":[],"options":[],"placeholder":"10","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"incentive_stock_option_exercises[].value_per_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.value_per_share","includes_united_states":false,"kind":"money","label":"What was each share worth on the day you exercised?","label_when":[],"options":[],"placeholder":"25","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"incentive_stock_option_exercises[].shares","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 5 of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.shares","includes_united_states":false,"kind":"integer","label":"How many shares did you get?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"shares_received":{"message_bounds":"Enter the shares as a whole number from 1 to 999999999."}},"validators":["shares_received"]},{"binds":"incentive_stock_option_exercises[].shares_sold_same_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your share plan statement shows any shares sold. Enter 0 if you kept them all past the end of that year. Shares sold that same year add nothing to the alternative minimum tax.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.shares_sold_same_year","includes_united_states":false,"kind":"integer","label":"How many of those shares did you sell in the year you exercised?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"share_count_or_zero":{"message_bounds":"Enter the shares as a whole number from 0 to 999999999."}},"validators":["share_count_or_zero"]},{"binds":"incentive_stock_option_exercises[].option_cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your grant papers show any price for the option itself. Most employees pay nothing: enter 0 then.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.option_cost","includes_united_states":false,"kind":"money","label":"What did you pay for the option itself, apart from the exercise price?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"incentive_stock_option_exercises[].free_to_sell_at_exercise","clears":["income_sources.incentive_stock_option_exercises.election_within_30_days","income_sources.incentive_stock_option_exercises.free_to_sell_on","income_sources.incentive_stock_option_exercises.value_per_share_when_free"],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if you would have had to give the shares back on leaving your job, or could not sell them, for a time after you exercised.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.free_to_sell_at_exercise","includes_united_states":false,"kind":"yesno","label":"Could you sell your shares freely from the day you exercised?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"incentive_stock_option_exercises[].election_within_30_days","clears":["income_sources.incentive_stock_option_exercises.free_to_sell_on","income_sources.incentive_stock_option_exercises.value_per_share_when_free"],"currency_pickable":false,"derived_from_presence":[],"help":"Your copy of the statement shows it. It asks the IRS to count the shares for the alternative minimum tax in the year you exercised. Say no if you did not send it.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.election_within_30_days","includes_united_states":false,"kind":"yesno","label":"Did you send the IRS a written choice within 30 days for these shares?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.incentive_stock_option_exercises.free_to_sell_at_exercise","value":false}},{"binds":"incentive_stock_option_exercises[].free_to_sell_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your share plan statement shows the day the restriction ended.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.free_to_sell_on","includes_united_states":false,"kind":"date","label":"On which day did your shares become free to sell?","label_when":[],"options":[],"placeholder":"2025-06-30","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.incentive_stock_option_exercises.free_to_sell_at_exercise","value":false},{"op":"eq","ref":"income_sources.incentive_stock_option_exercises.election_within_30_days","value":false}]}},{"binds":"incentive_stock_option_exercises[].value_per_share_when_free","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The market price on that day, from your share plan statement.","help_lines":[],"help_when":[],"id":"income_sources.incentive_stock_option_exercises.value_per_share_when_free","includes_united_states":false,"kind":"money","label":"What was each of your shares worth on that day?","label_when":[],"options":[],"placeholder":"16","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.incentive_stock_option_exercises.free_to_sell_at_exercise","value":false},{"op":"eq","ref":"income_sources.incentive_stock_option_exercises.election_within_30_days","value":false}]},{"op":"age_lt","ref":"income_sources.incentive_stock_option_exercises.free_to_sell_on","value":1}]}}],"row_label":"Exercise","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"}]}},{"binds":"amt_capital_loss_carryover_differs","clears":["income_sources.amt_capital_loss_carryover.short_term","income_sources.amt_capital_loss_carryover.long_term"],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of last year's alternative minimum tax show it. It can come from an earlier year's sale of option shares, or of property depreciated differently for that tax. Say no if you had no such difference.","help_lines":[],"help_when":[],"id":"income_sources.amt_capital_loss_carryover_differs","includes_united_states":false,"kind":"yesno","label":"Was your capital loss carryover different for the alternative minimum tax (an extra tax)?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}]}]}},{"binds":"amt_capital_loss_carryover.short_term","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's carryover worksheet for the alternative minimum tax in your records. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.amt_capital_loss_carryover.short_term","includes_united_states":false,"kind":"money","label":"What short-term capital loss carryover did you have for that tax?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.amt_capital_loss_carryover_differs"}]}},{"binds":"amt_capital_loss_carryover.long_term","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's carryover worksheet for the alternative minimum tax in your records. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.amt_capital_loss_carryover.long_term","includes_united_states":false,"kind":"money","label":"What long-term capital loss carryover did you have for that tax?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.amt_capital_loss_carryover_differs"}]}},{"add_label":"Add a payer","binds":"misclassified_pay[]","help":"Add one row for each payer. Your pay from them is reported as wages, so leave it out of any business of your own.","id":"income_sources.misclassified_pay","kind":"repeat","label":"Which payers treated you as a contractor when you were their employee?","min_rows":1,"nodes":[{"binds":"misclassified_pay[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.owner","includes_united_states":false,"kind":"choice","label":"Is this pay yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"misclassified_pay[].firm_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the name on its Form 1099-NEC or 1099-MISC, if it sent one.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.firm_name","includes_united_states":false,"kind":"text","label":"What is the name of the payer who treated you as a contractor?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"misclassified_pay[].firm_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is on the payer's Form 1099. Enter a business number like 12-3456789, or a Social Security number like 123-45-6789 for a payer who is a person. Leave it blank if you cannot get it, and the form will say unknown.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.firm_id","includes_united_states":false,"kind":"text","label":"What is your payer's tax number on its Form 1099?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_8919_firm_id":{"message":"Type the number as the form prints it: 12-3456789 for a business, or 123-45-6789 for a payer who is a person."}},"validators":["form_8919_firm_id"]},{"binds":"misclassified_pay[].reason_code","clears":["income_sources.misclassified_pay.determination_date"],"currency_pickable":false,"derived_from_presence":[],"help":"If none is, you can still file: choose the Form SS-8 answer and send that form to the IRS by the day you file.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.reason_code","includes_united_states":false,"kind":"choice","label":"Which of these is true for you and this payer?","label_when":[],"options":[{"label":"I filed Form SS-8 and the IRS wrote back that I am an employee.","value":"A"},{"label":"Another IRS letter says I am an employee.","value":"C"},{"label":"I filed Form SS-8 and have no answer yet, or I will file it now.","value":"G"},{"label":"This payer also gave me a Form W-2, and this pay belongs on it.","value":"H"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"misclassified_pay[].determination_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is printed at the top of the letter.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.determination_date","includes_united_states":false,"kind":"date","label":"What is the date on your letter from the IRS?","label_when":[],"options":[],"placeholder":"2025-06-30","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.form_8919.MisclassifiedEmployeePay._check_date","required_when":{"op":"in","ref":"income_sources.misclassified_pay.reason_code","values":["A","C"]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.misclassified_pay.reason_code","values":["A","C"]}},{"binds":"misclassified_pay[].form_1099_received","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if either form came for this year's pay.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.form_1099_received","includes_united_states":false,"kind":"yesno","label":"Did this payer send you a Form 1099-NEC or 1099-MISC?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"misclassified_pay[].wages","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count pay not on a Form W-2, in United States dollars, from your Form 1099 or your own records.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.wages","includes_united_states":false,"kind":"money","label":"How much did this payer pay you with no tax taken off?","label_when":[],"options":[],"placeholder":"30000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"misclassified_pay[].work_place","clears":["income_sources.misclassified_pay.work_country","income_sources.misclassified_pay.employer_kind","income_sources.misclassified_pay.form_2032_agreement","income_sources.misclassified_pay.coverage_certificate","income_sources.misclassified_pay.workdays_in_united_states","income_sources.misclassified_pay.workdays_total"],"currency_pickable":false,"derived_from_presence":[],"help":"Count where you were while you worked, as your travel records show.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.work_place","includes_united_states":false,"kind":"choice","label":"Where did you do the work for this payer?","label_when":[],"options":[{"label":"In the United States","value":"united_states"},{"label":"Outside the United States","value":"abroad"},{"label":"Some in the United States and some abroad","value":"both"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"misclassified_pay[].work_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country you were in while you worked, as your travel records show.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.work_country","includes_united_states":false,"kind":"country","label":"In which country did you do the work abroad?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]}},{"binds":"misclassified_pay[].employer_kind","clears":["income_sources.misclassified_pay.form_2032_agreement","income_sources.misclassified_pay.coverage_certificate","income_sources.misclassified_pay.american_vessel_or_aircraft","income_sources.misclassified_pay.us_coverage_certificate"],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract or the payer's own papers say.","help_lines":["An American payer is the United States Government, a person living in the United States, a partnership with at least two-thirds of its partners living there, a trust with all its trustees living there, or a corporation set up under United States, state, District of Columbia, Puerto Rico, Virgin Islands, Guam or American Samoa law.","A company abroad working on a United States Government contract through a United States group counts too.","Where the owners live does not decide it for a corporation."],"help_when":[],"id":"income_sources.misclassified_pay.employer_kind","includes_united_states":false,"kind":"choice","label":"Which of these best describes your payer?","label_when":[],"options":[{"label":"The United States Government or one of its agencies","value":"us_government"},{"label":"Another American payer","value":"american"},{"label":"A company abroad that an American company owns at least 10% of","value":"foreign_affiliate"},{"label":"None of these","value":"foreign"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]}},{"binds":"misclassified_pay[].form_2032_agreement","clears":["income_sources.misclassified_pay.american_vessel_or_aircraft","income_sources.misclassified_pay.us_coverage_certificate"],"currency_pickable":false,"derived_from_presence":[],"help":"The company signs that agreement with the Treasury to extend United States social security to its staff abroad. Its human resources team or your contract can tell you.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.form_2032_agreement","includes_united_states":false,"kind":"yesno","label":"Does the American company cover you under its Form 2032 agreement?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign_affiliate"}]}},{"binds":"misclassified_pay[].american_vessel_or_aircraft","clears":["income_sources.misclassified_pay.us_coverage_certificate","income_sources.misclassified_pay.coverage_certificate"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if you made your contract in the United States or the ship or aircraft stops at a United States port while you work on it. An American aircraft is registered in the United States. An American ship is documented or numbered there, or its crew is employed only by United States citizens, residents or corporations.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.american_vessel_or_aircraft","includes_united_states":false,"kind":"yesno","label":"Did you do this work on or for an American ship or aircraft?","label_when":[],"off_ramp":{"body":"No United States social security or Medicare tax is owed on pay for work abroad from this payer.","code":"form_8919_pay_not_covered","next_step":"Remove this payer here and add the pay on the wages page as pay from an employer outside the United States. If you also worked in the United States for this payer, keep the pay for those days here. Your answers stay saved.","severity":"block","title":"This pay does not go on Form 8919","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign_affiliate"},{"op":"eq","ref":"income_sources.misclassified_pay.form_2032_agreement","value":false}]}]}]},{"op":"eq","ref":"income_sources.misclassified_pay.american_vessel_or_aircraft","value":false},{"op":"not","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_country","values":["AT","AU","BE","BR","CA","CH","CL","CZ","DE","DK","ES","FI","FR","GB","GR","HU","IE","IS","IT","JP","KR","LU","NL","NO","PL","PT","SE","SI","SK","UY"]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign_affiliate"},{"op":"eq","ref":"income_sources.misclassified_pay.form_2032_agreement","value":false}]}]}]}},{"binds":"misclassified_pay[].us_coverage_certificate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Social Security Administration issues it under the agreement with that country. Say no if you have none.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.us_coverage_certificate","includes_united_states":false,"kind":"yesno","label":"Do you have a certificate placing this work under United States social security?","label_when":[],"off_ramp":{"body":"No United States social security or Medicare tax is owed on pay for work abroad from this payer.","code":"form_8919_pay_not_covered","next_step":"Remove this payer here and add the pay on the wages page as pay from an employer outside the United States. If you also worked in the United States for this payer, keep the pay for those days here. Your answers stay saved.","severity":"block","title":"This pay does not go on Form 8919","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign_affiliate"},{"op":"eq","ref":"income_sources.misclassified_pay.form_2032_agreement","value":false}]}]}]},{"op":"in","ref":"income_sources.misclassified_pay.work_country","values":["AT","AU","BE","BR","CA","CH","CL","CZ","DE","DK","ES","FI","FR","GB","GR","HU","IE","IS","IT","JP","KR","LU","NL","NO","PL","PT","SE","SI","SK","UY"]},{"op":"eq","ref":"income_sources.misclassified_pay.american_vessel_or_aircraft","value":false},{"op":"eq","ref":"income_sources.misclassified_pay.us_coverage_certificate","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign_affiliate"},{"op":"eq","ref":"income_sources.misclassified_pay.form_2032_agreement","value":false}]}]}]},{"op":"in","ref":"income_sources.misclassified_pay.work_country","values":["AT","AU","BE","BR","CA","CH","CL","CZ","DE","DK","ES","FI","FR","GB","GR","HU","IE","IS","IT","JP","KR","LU","NL","NO","PL","PT","SE","SI","SK","UY"]},{"op":"eq","ref":"income_sources.misclassified_pay.american_vessel_or_aircraft","value":false}]}},{"binds":"misclassified_pay[].coverage_certificate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The other country's social security agency issues it under its agreement with the United States. Say no if you have none.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.coverage_certificate","includes_united_states":false,"kind":"yesno","label":"Do you have a certificate showing you are covered by that country's system?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"in","ref":"income_sources.misclassified_pay.work_country","values":["AT","AU","BE","BR","CA","CH","CL","CZ","DE","DK","ES","FI","FR","GB","GR","HU","IE","IS","IT","JP","KR","LU","NL","NO","PL","PT","SE","SI","SK","UY"]},{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.misclassified_pay.employer_kind","values":["us_government","american"]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.misclassified_pay.employer_kind","value":"foreign_affiliate"},{"op":"truthy","ref":"income_sources.misclassified_pay.form_2032_agreement"}]}]},{"op":"truthy","ref":"income_sources.misclassified_pay.american_vessel_or_aircraft"}]}]}},{"binds":"misclassified_pay[].workdays_in_united_states","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count them from your calendar or travel records, and include days at sea or in the air outside any country.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.workdays_in_united_states","includes_united_states":false,"kind":"integer","label":"How many of your workdays for this payer were in the United States?","label_when":[],"options":[],"placeholder":"20","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"eq","ref":"income_sources.misclassified_pay.work_place","value":"both"}},{"binds":"misclassified_pay[].workdays_total","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Every workday for it, wherever you were, from your calendar or timesheets.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.workdays_total","includes_united_states":false,"kind":"integer","label":"How many days did you work for this payer in all?","label_when":[],"options":[],"placeholder":"230","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"eq","ref":"income_sources.misclassified_pay.work_place","value":"both"}},{"binds":"misclassified_pay[].qualifying_period_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only pay for work done in that part of the year counts toward the exclusion of pay earned abroad. Add up that pay from your own records, in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.qualifying_period_amount","includes_united_states":false,"kind":"money","label":"How much of this pay was for work you did between {derived.income_sources.misclassified_pay.qualifying_period}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"derived","ref":"income_sources.misclassified_pay.qualifying_period"}]}},{"binds":"misclassified_pay[].presence_period_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records, in United States dollars. The 330-day test covers a different part of the year, so it uses the pay for its own part.","help_lines":[],"help_when":[],"id":"income_sources.misclassified_pay.presence_period_amount","includes_united_states":false,"kind":"money","label":"How much of this pay was for work you did between {derived.income_sources.misclassified_pay.presence_period}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.misclassified_pay.work_place","values":["abroad","both"]},{"op":"derived","ref":"income_sources.misclassified_pay.presence_period"}]}}],"row_label":"Payer","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_misclassified_pay"}]}},{"add_label":"Add an employer","binds":"wages[]","help":"Add one row per employer. Have each Form W-2, or each foreign payslip summary, in front of you.","id":"income_sources.wages","kind":"repeat","label":"What did each employer pay you?","min_rows":1,"nodes":[{"binds":"wages[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.wages.owner","includes_united_states":false,"kind":"choice","label":"Is this pay yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"wages[].is_foreign_employer","clears":["income_sources.wages.employer_ein","income_sources.wages.federal_income_tax_withheld","income_sources.wages.social_security_wages","income_sources.wages.social_security_tax_withheld","income_sources.wages.medicare_wages","income_sources.wages.medicare_tax_withheld","income_sources.wages.retirement_plan","income_sources.wages.third_party_sick_pay","income_sources.wages.statutory_employee","income_sources.wages.box_12","income_sources.wages.box_14","income_sources.wages.state_tax_records","income_sources.wages.has_social_security_and_medicare","income_sources.wages.has_box_12","income_sources.wages.has_box_14","income_sources.wages.has_state_lines"],"currency_pickable":false,"derived_from_presence":[],"help":"Employers abroad do not issue a Form W-2, so we skip the W-2 questions. A United States embassy, consulate or military base counts as a United States employer: say no for it.","help_lines":[],"help_when":[],"id":"income_sources.wages.is_foreign_employer","includes_united_states":false,"kind":"yesno","label":"Is your employer outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"wages[].employer_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box c of your Form W-2, or the name at the top of your payslip.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},"The name at the top of your payslip or contract."]],"id":"income_sources.wages.employer_name","includes_united_states":false,"kind":"text","label":"What is your employer's name?","label_when":[],"options":[],"placeholder":"Acme Corp","prefills":[],"refusal":"employer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name, so write Acme Inc rather than Acme, Inc.","message_too_long":"Write the company name in 75 characters or fewer."}},"validators":["business_name"]},{"address_variant":"full","binds":"wages[].employer_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box c of your Form W-2, or the address at the top of your payslip.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},"The address at the top of your payslip or contract."]],"id":"income_sources.wages.employer_address","includes_united_states":false,"kind":"address","label":"What is your employer's address?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.mef.mappers.fec._build_wage_record","required_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"wages[].earned_in_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country you were physically in while you did the work, as your travel records show. Pick it whatever your contract or your employer's address says: pay is earned where the work is done.","help_lines":["Choose the United States for work you did there.","The answer decides whether this pay can be left out of your income as pay earned abroad, and which country it is counted under for the foreign tax credit."],"help_when":[],"id":"income_sources.wages.earned_in_country","includes_united_states":true,"kind":"country","label":"Which country did you do the work in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.wage_refusals","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"wages[].gross_wages","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 1 of your Form W-2, or the yearly total on your foreign payslip.","help_lines":["Give the pay you received from January 1 to December 31. If your payslip year runs differently, add up the months."],"help_when":[],"id":"income_sources.wages.gross_wages","includes_united_states":false,"kind":"money","label":"How much did this employer pay you in {context.return_year}, before anything was taken out?","label_when":[],"options":[],"placeholder":"52000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Printed on your payslip or your foreign tax statement. Leave it blank if you cannot find it: the record of your foreign pay is filed without it.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_foreign_tax_id","includes_united_states":false,"kind":"text","label":"What is your employer's tax ID number in its country?","label_when":[],"options":[],"placeholder":"DE123456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"foreign_tax_id":{"message":"Check the number on the statement and type it again using ordinary letters, numbers and hyphens. A letter with an accent cannot be filed.","message_too_long":"Write the number in 16 characters or fewer, which is all the form has room for."}},"validators":["foreign_tax_id"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"not","rules":[{"op":"answered","ref":"income_sources.foreign_employers"}]}]}},{"adds_option":{"label":"Part of the time in each","question_id":"income_sources.wages.part_earned_living_in_us"},"binds":"wages[].work_performed_while_residing_in_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Choose where your home was during the months this pay covers, wherever your employer is. We mean where you actually lived, not where your mail goes.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},"If you lived abroad for any of it, we use the address abroad you give on the page about where you lived, because the IRS form needs a street address and not a country and a city alone."],[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},"Choose Not sure if you cannot say, and we use the address abroad your return already gives for you. If it gives none, we ask you to say where you lived before you continue."]],"id":"income_sources.wages.work_performed_while_residing_in_us","includes_united_states":false,"kind":"yesno","label":"While you did this work, where did you live?","label_when":[],"options":[{"label":"Abroad","value":"no"},{"label":"In the United States","value":"yes"}],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your addresses abroad, which cover the whole year. Change it if that was not right.","value":false,"when":{"op":"derived","ref":"income_sources.wages.lived_abroad_all_year"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}]}]}},{"binds":"wages[].combat_zone_support","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if you did this work in an area the United States has named a combat zone, in support of its armed forces. Your orders or your contract say so. Your home in the United States then does not stop this pay counting as pay earned abroad.","help_lines":[],"help_when":[],"id":"income_sources.wages.combat_zone_support","includes_united_states":false,"kind":"yesno","label":"Were you serving in a combat zone in support of the US Armed Forces?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.work_performed_while_residing_in_us"}]}},{"binds":"wages[].employer_is_us_government","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you worked for the federal government or one of its agencies, as a civilian or in the armed forces, for example at an embassy, a consulate or a military base. That pay cannot be left out of your income as pay earned abroad, wherever you did the work.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_is_us_government","includes_united_states":false,"kind":"yesno","label":"Did a United States government agency employ you for this job?","label_when":[],"off_ramp":{"body":"Pay from the United States government to its own employees cannot be left out of your income as pay earned abroad, wherever the work was done, and it does not count toward the housing amount either.","code":"us_government_pay_not_excluded","next_step":"Continue. This pay is taxed as usual, and any other pay you earned abroad is still counted.","severity":"info","title":"Government pay stays in your income","when":{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.wage_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false}]}},{"binds":"wages[].employer_is_foreign_government","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example an embassy or a United Nations office. You said you did this work in the United States or one of its territories, which is why we ask.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_is_foreign_government","includes_united_states":false,"kind":"yesno","label":"Is your employer on this job a foreign government or an international organization?","label_when":[],"off_ramp":{"body":"A United States citizen pays self-employment tax, not social security tax, on pay from a foreign government or an international organization for work done in the United States, and we do not work that out.","code":"wage_foreign_government","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the tax on this kind of pay","when":{"op":"truthy","ref":"income_sources.wages.employer_is_foreign_government"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"in","ref":"income_sources.wages.earned_in_country","values":["US","PR","GU","AS","MP","VI"]}]}},{"clears":["income_sources.wages.foreign_portion_percent"],"currency_pickable":false,"derived_from_presence":["wages[].foreign_portion_percent"],"help":"Say yes if it covers time before you moved abroad or after you came back, or any other time you lived in the United States. We then ask how much was earned abroad.","help_lines":[],"help_when":[],"id":"income_sources.wages.part_earned_living_in_us","includes_united_states":false,"kind":"yesno","label":"Was any of this pay earned while you lived in the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.work_performed_while_residing_in_us","value":true}]}},{"binds":"wages[].pays_for_other_year_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a bonus for last year's work, or pay in advance for next year. A last salary of last year paid this January counts as this year's pay only if it was your usual payday and that pay period was 16 days or shorter. Otherwise, such as a full month's salary for December, it counts as last year's work.","help_lines":[],"help_when":[],"id":"income_sources.wages.pays_for_other_year_work","includes_united_states":false,"kind":"yesno","label":"Does any of this pay reward work you did in another year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]}},{"clears":["income_sources.wages.employer_provided"],"currency_pickable":false,"derived_from_presence":["wages[].employer_provided[]"],"help":"Such as a home, a car, school fees, an allowance (cost of living or home leave), or foreign tax it paid for you. Say no if your payslip total already includes them.","help_lines":[],"help_when":[],"id":"income_sources.wages.has_employer_provided","includes_united_states":false,"kind":"yesno","label":"Did this employer give you extras on top of your pay?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"}]}},{"binds":"wages[].prior_year_work_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From your payslips or records: only work done in another country during the days you qualified for the exclusion that year. Enter 0 if none. If a bonus rewards several years, split it by the months worked in each year.","help_lines":[],"help_when":[],"id":"income_sources.wages.prior_year_work_amount","includes_united_states":false,"kind":"money","label":"How much of this pay was for your qualifying work abroad in {context.return_year_less_1}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]}},{"binds":"wages[].other_year_work_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Such as work before {context.return_year_less_1}, work abroad in {context.return_year_less_1} outside the days you qualified, work in the United States, or pay in advance for a later year. This part stays in your income on this return. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.wages.other_year_work_amount","includes_united_states":false,"kind":"money","label":"How much of this pay was for your other work not done in {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]}},{"binds":"wages[].other_year_us_work_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"drawn_when_named":true,"help":"From your payslips or records: the part of the amount you just gave for other work that was not done in another country, such as a bonus for work in the United States before you moved abroad, or work on a ship at sea. That part does not count as income from abroad. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.wages.other_year_us_work_amount","includes_united_states":false,"kind":"money","label":"Of that, how much was for your work in the US or at sea?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_us_work_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]},{"op":"gt","ref":"income_sources.wages.other_year_work_amount","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"}]}},{"binds":"wages[].foreign_portion_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use any reasonable method. If your pay was steady through the year and you lived abroad for 9 of the 12 months, that is 75. If it changed during the year, add up your payslips for the months you lived abroad and compare them with the total.","help_lines":[],"help_when":[],"id":"income_sources.wages.foreign_portion_percent","includes_united_states":false,"kind":"text","label":"What percentage of this pay was earned while you were living abroad?","label_when":[],"options":[],"placeholder":"75","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.wages.part_earned_living_in_us"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"percent_of_hundred":{"message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75."}},"validators":["percent_of_hundred"],"visible_when":{"op":"truthy","ref":"income_sources.wages.part_earned_living_in_us"}},{"binds":"wages[].qualifying_period_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Only pay for work done in that part of the year counts toward the exclusion of pay earned abroad. Add up the pay for the work you did in those months from your payslips, in the same currency as the total.","help_lines":[],"help_when":[],"id":"income_sources.wages.qualifying_period_amount","includes_united_states":false,"kind":"money","label":"How much of this pay was for work you did between {derived.income_sources.wages.qualifying_period}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.work_performed_while_residing_in_us","value":true},{"op":"derived","ref":"income_sources.wages.qualifying_period"}]}},{"binds":"wages[].presence_period_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"You said yes to both ways of qualifying, and the 330-day test covers a different part of the year, so each is worked out with the pay for its own part. Add up the pay for the work you did in those months from your payslips, in the same currency as the total.","help_lines":[],"help_when":[],"id":"income_sources.wages.presence_period_amount","includes_united_states":false,"kind":"money","label":"How much of this pay was for work you did between {derived.income_sources.wages.presence_period}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.work_performed_while_residing_in_us","value":true},{"op":"derived","ref":"income_sources.wages.presence_period"}]}},{"binds":"wages[].worked_days_outside_foreign_countries","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count days you worked in the United States or its territories, or at sea or in the air outside any country, at any time in the year, for example on a business trip. Leave out days you only changed planes there.","help_lines":["Pay for those days is United States income, so it is left out of the foreign income your credit for foreign tax is worked out on."],"help_when":[],"id":"income_sources.wages.worked_days_outside_foreign_countries","includes_united_states":false,"kind":"yesno","label":"Did you work in the United States or at sea for this job?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.ftc_workday_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_foreign_taxes"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_ftc_carryovers"}]}]}]},{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]}]}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"ne","ref":"income_sources.wages.work_performed_while_residing_in_us","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"where_you_lived.physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"}]}]}]}]},{"op":"derived","ref":"income_sources.wages.qualifying_period"}]}]}},{"binds":"wages[].workdays_outside_foreign_countries","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the days you worked for this job while you lived abroad that were spent in the United States or its territories, or at sea or in the air outside any country, as your calendar and travel records show. Enter 0 if every one of those workdays was in a foreign country.","help_lines":["Pilots, cabin crew and seafarers: a working day over international waters counts here.","Leave out days you only changed planes in the United States, and days you lived there."],"help_when":[],"id":"income_sources.wages.workdays_outside_foreign_countries","includes_united_states":false,"kind":"integer","label":"How many of your workdays were in the United States or at sea?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.workday_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"ne","ref":"income_sources.wages.work_performed_while_residing_in_us","value":true},{"op":"or","rules":[{"op":"any_row","ref":"where_you_lived.physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"}]}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_foreign_taxes"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_ftc_carryovers"}]}]}]},{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.worked_days_outside_foreign_countries"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"ne","ref":"income_sources.wages.work_performed_while_residing_in_us","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"where_you_lived.physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"}]}]}]}]},{"op":"derived","ref":"income_sources.wages.qualifying_period"}]},{"op":"truthy","ref":"income_sources.wages.worked_days_outside_foreign_countries"}]}]}},{"binds":"wages[].workdays_total","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Every workday for it while you lived abroad, wherever you were, from your calendar or timesheets. The pay for the days in the United States or at sea is worked out as their share of these days.","help_lines":[],"help_when":[],"id":"income_sources.wages.workdays_total","includes_united_states":false,"kind":"integer","label":"How many days did you work for this job in all while living abroad?","label_when":[],"options":[],"placeholder":"230","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.workday_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"gt","ref":"income_sources.wages.workdays_outside_foreign_countries","value":0}},{"add_label":"Add something your employer gave","binds":"wages[].employer_provided[]","help":"Add one row for each kind, with its value for the year in the currency it was paid in.","id":"income_sources.wages.employer_provided","kind":"repeat","label":"What did this employer give you beside your pay?","min_rows":1,"nodes":[{"binds":"wages[].employer_provided[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the kind from your payslip or your assignment letter.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_provided.kind","includes_united_states":false,"kind":"choice","label":"What did your employer give you?","label_when":[],"off_ramp":{"body":"A home, meals, a car or other property your employer gave you counts at its market value, with a statement of how it was worked out that we do not prepare here.","code":"noncash_pay_not_prepared","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not file things given in kind yet","when":{"op":"in","ref":"income_sources.wages.employer_provided.kind","values":["car","lodging","meals","other_property"]}},"options":[{"label":"A home or other lodging","value":"lodging"},{"label":"Meals","value":"meals"},{"label":"A car","value":"car"},{"label":"Other property or facilities","value":"other_property"},{"label":"A cost of living or overseas allowance","value":"cost_of_living"},{"label":"A family allowance","value":"family"},{"label":"School fees or an education allowance","value":"education"},{"label":"A home leave allowance","value":"home_leave"},{"label":"A housing allowance paid to you","value":"quarters"},{"label":"Foreign income tax it paid for you","value":"foreign_tax_paid"},{"label":"Another allowance or reimbursement","value":"other_purpose"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"wages[].employer_provided[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words for the form, such as relocation allowance or club membership.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_provided.description","includes_united_states":false,"kind":"text","label":"What kind of benefit or allowance did your employer give you?","label_when":[],"options":[],"placeholder":"Relocation allowance","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.EmployerProvidedAmount._check_kind_facts","required_when":{"op":"in","ref":"income_sources.wages.employer_provided.kind","values":["other_property","other_purpose"]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_50":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_50"],"visible_when":{"op":"in","ref":"income_sources.wages.employer_provided.kind","values":["other_property","other_purpose"]}},{"binds":"wages[].employer_provided[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The amount on your payslip or your employer's statement for the year.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_provided.amount","includes_united_states":false,"kind":"money","label":"What was it worth to you for the year?","label_when":[],"options":[],"placeholder":"12000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Item","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"truthy","ref":"income_sources.wages.has_employer_provided"}]}},{"binds":"wages[].employee_number_on_w2","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box a of your Form W-2, Employee's social security number. Type it exactly as your employer printed it, even if it is not your ITIN; we never copy your ITIN in for you.","help_lines":[],"help_when":[],"id":"income_sources.wages.employee_number_on_w2","includes_united_states":false,"kind":"ssn","label":"What number is printed in box a of your Form W-2?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.itin.itin_w2_number_unanswered","required_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"in","ref":"context.tax_year","values":[2025]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"derived","ref":"about_you.taxpayer.number_is_itin"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"derived","ref":"household.spouse.number_is_itin"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"nine_digit_tin":{"message":"Check box a of the form and type its nine digits again, with or without hyphens."}},"validators":["nine_digit_tin"],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"in","ref":"context.tax_year","values":[2025]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"derived","ref":"about_you.taxpayer.number_is_itin"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"derived","ref":"household.spouse.number_is_itin"}]}]}]}},{"binds":"wages[].employer_ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box b of your Form W-2.","help_lines":[],"help_when":[],"id":"income_sources.wages.employer_ein","includes_united_states":false,"kind":"text","label":"What is your employer's nine-digit employer identification number?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.identifier_refusals","required_when":{"op":"eq","ref":"income_sources.wages.is_foreign_employer","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check box b of the form and type the number as two digits, a hyphen, then seven."}},"validators":["ein"],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"binds":"wages[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of your Form W-2.","help_lines":[],"help_when":[],"id":"income_sources.wages.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal income tax did this employer withhold from you?","label_when":[],"options":[],"placeholder":"6200","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"clears":["income_sources.wages.social_security_wages","income_sources.wages.social_security_tax_withheld","income_sources.wages.medicare_wages","income_sources.wages.medicare_tax_withheld","income_sources.wages.social_security_tips"],"currency_pickable":false,"derived_from_presence":["wages[].social_security_wages","wages[].social_security_tax_withheld","wages[].medicare_wages","wages[].medicare_tax_withheld","wages[].social_security_tips"],"help":"Most forms from an employer in the United States do. Say no only if all four boxes are empty.","help_lines":[],"help_when":[],"id":"income_sources.wages.has_social_security_and_medicare","includes_united_states":false,"kind":"yesno","label":"Does your Form W-2 show social security amounts in boxes 3 to 6?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"binds":"wages[].retirement_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 13 of your Form W-2, middle checkbox.","help_lines":[],"help_when":[],"id":"income_sources.wages.retirement_plan","includes_united_states":false,"kind":"yesno","label":"Is the retirement plan box checked on your Form W-2?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"binds":"wages[].third_party_sick_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 13 of your Form W-2, right-hand checkbox.","help_lines":[],"help_when":[],"id":"income_sources.wages.third_party_sick_pay","includes_united_states":false,"kind":"yesno","label":"Is the third-party sick pay box checked on your Form W-2?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"binds":"wages[].statutory_employee","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 13 of your Form W-2, left-hand checkbox. Most forms do not have it checked.","help_lines":[],"help_when":[],"id":"income_sources.wages.statutory_employee","includes_united_states":false,"kind":"yesno","label":"Is the statutory employee box checked on your Form W-2 (a worker the law treats as self-employed for tax)?","label_when":[],"off_ramp":{"body":"Pay from an employer who checked that box belongs on the self-employment schedule rather than on the wages line, and we do not move it there for you.","code":"statutory_employee","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"That checked box changes where your pay is reported","when":{"op":"truthy","ref":"income_sources.wages.statutory_employee"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"clears":["income_sources.wages.box_12"],"currency_pickable":false,"derived_from_presence":["wages[].box_12[]"],"help":"Box 12 holds a letter code beside each amount, such as DD for the cost of health coverage. Box 11 holds a payout from a deferred pay plan. Say no if both are empty.","help_lines":[],"help_when":[],"id":"income_sources.wages.has_box_12","includes_united_states":false,"kind":"yesno","label":"Does box 11 or box 12 of your Form W-2 show any amounts?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"clears":["income_sources.wages.box_14"],"currency_pickable":false,"derived_from_presence":["wages[].box_14[]"],"help":"Your employer may list items such as union dues there. Leave the tipped occupation codes in box 14b out.","help_lines":[],"help_when":[],"id":"income_sources.wages.has_box_14","includes_united_states":false,"kind":"yesno","label":"Does box 14a of your Form W-2, headed Other, show anything?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"clears":["income_sources.wages.state_tax_records"],"currency_pickable":false,"derived_from_presence":["wages[].state_tax_records[]"],"help":"The state lines are at the foot of the form, one line per state your employer reported this pay to.","help_lines":[],"help_when":[],"id":"income_sources.wages.has_state_lines","includes_united_states":false,"kind":"yesno","label":"Does your Form W-2 name a state in box 15?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"clears":["income_sources.wages.allocated_tips"],"currency_pickable":false,"derived_from_presence":["wages[].allocated_tips"],"help":"Box 8 is headed Allocated tips. A restaurant or bar with many staff may share out tips there. Say no if it is empty.","help_lines":[],"help_when":[],"id":"income_sources.wages.has_allocated_tips","includes_united_states":false,"kind":"yesno","label":"Does box 8 of your Form W-2 show allocated tips?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"binds":"wages[].church_employee_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some churches and church groups have elected out of paying social security and Medicare tax for their staff. Pay for your work as a minister counts too. Say no for pay from any other employer.","help_lines":[],"help_when":[],"id":"income_sources.wages.church_employee_income","includes_united_states":false,"kind":"yesno","label":"Is this pay from a church that does not pay social security for you?","label_when":[],"off_ramp":{"body":"Pay from a church that has elected out of social security tax is taxed on the self-employment schedule, which we do not prepare.","code":"wage_church_employee","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the tax on church employee pay","when":{"op":"truthy","ref":"income_sources.wages.church_employee_income"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true}},{"binds":"wages[].social_security_wages","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 3 of your Form W-2.","help_lines":[],"help_when":[],"id":"income_sources.wages.social_security_wages","includes_united_states":false,"kind":"money","label":"How much of your pay was subject to social security tax?","label_when":[],"options":[],"placeholder":"52000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_social_security_and_medicare"}]}},{"binds":"wages[].social_security_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form W-2.","help_lines":[],"help_when":[],"id":"income_sources.wages.social_security_tax_withheld","includes_united_states":false,"kind":"money","label":"How much social security tax did this employer keep back for you?","label_when":[],"options":[],"placeholder":"3224","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_social_security_and_medicare"}]}},{"binds":"wages[].medicare_wages","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 5 of your Form W-2.","help_lines":[],"help_when":[],"id":"income_sources.wages.medicare_wages","includes_united_states":false,"kind":"money","label":"How much of your pay was subject to medicare tax?","label_when":[],"options":[],"placeholder":"52000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_social_security_and_medicare"}]}},{"binds":"wages[].medicare_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 6 of your Form W-2.","help_lines":[],"help_when":[],"id":"income_sources.wages.medicare_tax_withheld","includes_united_states":false,"kind":"money","label":"How much medicare tax did this employer keep back for you?","label_when":[],"options":[],"placeholder":"754","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_social_security_and_medicare"}]}},{"binds":"wages[].social_security_tips","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of your Form W-2. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.wages.social_security_tips","includes_united_states":false,"kind":"money","label":"How much in social security tips did this employer report for you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_social_security_and_medicare"}]}},{"binds":"wages[].allocated_tips","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 8 of your Form W-2, headed Allocated tips.","help_lines":[],"help_when":[],"id":"income_sources.wages.allocated_tips","includes_united_states":false,"kind":"money","label":"How much in allocated tips does box 8 of your Form W-2 show?","label_when":[],"off_ramp":{"body":"Allocated tips are income reported through Form 4137, which we do not prepare.","code":"w2_allocated_tips","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare allocated tips","when":{"op":"gt","ref":"income_sources.wages.allocated_tips","value":0}},"options":[],"placeholder":"1200","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_allocated_tips"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_allocated_tips"}]}},{"add_label":"Add a box 12 amount","binds":"wages[].box_12[]","help":"Add one row per lettered amount printed in box 12, and one row for box 11 if it shows an amount.","id":"income_sources.wages.box_12","kind":"repeat","label":"What is in box 11 or box 12 of your Form W-2?","min_rows":1,"nodes":[{"binds":"wages[].box_12[].code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The one or two letters to the left of the figure in box 12. For an amount in box 11, which has no letter, type 11.","help_lines":[],"help_when":[],"id":"income_sources.wages.box_12.code","includes_united_states":false,"kind":"text","label":"Which letter code is printed beside the amount on your form?","label_when":[],"off_ramp":{"body":"Code W is money paid into a health savings account for you (Form 8889), which we prepare for 2025 returns only. Code K is a tax on an excess golden parachute payment, and code Z is income from a deferred pay plan that broke its rules. Both add tax on Schedule 2. Code R is money paid into an Archer medical savings account (Form 8853), and code T is adoption help from your employer (Form 8839). An amount in box 11 is a payout from a deferred pay plan that is reported on Schedule 1. We do not prepare any of these.","code":"w2_hsa_employer_contributions","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with that code","when":{"op":"or","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["K","k","Z","z","R","r","T","t","11"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["W","w"]},{"op":"ne","ref":"context.tax_year","value":2025}]}]}},"options":[],"placeholder":"DD","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"w2_box12_code":{"message":"Check the letter code printed in box 12 and type it again."}},"validators":["w2_box12_code"]},{"binds":"wages[].box_12[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The figure to the right of the letter in box 12.","help_lines":[],"help_when":[],"id":"income_sources.wages.box_12.amount","includes_united_states":false,"kind":"money","label":"How much is printed beside that letter on your form?","label_when":[],"options":[],"placeholder":"10315","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]}],"row_label":"Box 12 amount","visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_box_12"}]}},{"binds":"wages[].employer_is_state_or_local_government","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code G in box 12 of this Form W-2 is pay put into a 457(b) plan. A state, a county, a city or one of their agencies or schools counts as a state or local government. A charity or another tax-exempt employer does not.","help_lines":["It matters only if you were 50 or older at the end of the year and put in more than the yearly limit: only a government's plan allows the extra amount for that age."],"help_when":[],"id":"income_sources.wages.employer_is_state_or_local_government","includes_united_states":false,"kind":"yesno","label":"Did you work for a state or local government in this job?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_box_12"},{"op":"any_row","ref":"income_sources.wages.box_12","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["G","g"]}]}]}},{"binds":"wages[].section_457_last_three_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A 457(b) plan can allow a higher limit in the last 3 years before the normal retirement age it sets. Your plan administrator can tell you. It matters only if you put in more than the yearly limit.","help_lines":["Choose Not sure if you cannot check. A return within the yearly limit is not affected."],"help_when":[],"id":"income_sources.wages.section_457_last_three_years","includes_united_states":false,"kind":"yesno","label":"Is this one of the plan's last 3 years before your retirement age?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_box_12"},{"op":"any_row","ref":"income_sources.wages.box_12","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["G","g","EE","ee","Ee","eE"]}]}]}},{"binds":"wages[].section_457_unused_ceiling","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan administrator works this out for the higher limit of the last 3 years: the part of each earlier year's limit you did not put in. Enter 0 if there is none. Choose Not sure if you cannot tell yet.","help_lines":[],"help_when":[],"id":"income_sources.wages.section_457_unused_ceiling","includes_united_states":false,"kind":"money","label":"How much of the plan's limits for earlier years did you not use?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_box_12"},{"op":"truthy","ref":"income_sources.wages.section_457_last_three_years"}]}},{"binds":"wages[].s_corporation_more_than_2_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An S corporation is the company that sent you a Schedule K-1 (Form 1120-S). Count the shares your spouse, children, grandchildren and parents own as yours.","help_lines":["It matters for health insurance the company paid for you: we ask about it with your deductions."],"help_when":[],"id":"income_sources.wages.s_corporation_more_than_2_percent","includes_united_states":false,"kind":"yesno","label":"Is this Form W-2 from an S corporation you own more than 2% of?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}]}},{"add_label":"Add a box 14a item","binds":"wages[].box_14[]","help":"Add one row per item your employer wrote into box 14a, which is headed Other. Leave the tipped occupation codes in box 14b out.","id":"income_sources.wages.box_14","kind":"repeat","label":"What is in box 14a of your Form W-2?","min_rows":1,"nodes":[{"binds":"wages[].box_14[].label","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The words printed to the left of the figure in box 14a.","help_lines":[],"help_when":[],"id":"income_sources.wages.box_14.label","includes_united_states":false,"kind":"text","label":"What did your employer call that item?","label_when":[],"options":[],"placeholder":"Union dues","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"wages[].box_14[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The figure to the right of the description in box 14a.","help_lines":[],"help_when":[],"id":"income_sources.wages.box_14.amount","includes_united_states":false,"kind":"money","label":"How much is printed beside those words on your form?","label_when":[],"options":[],"placeholder":"480","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Box 14a item","visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_box_14"}]}},{"add_label":"Add a state row","binds":"wages[].state_tax_records[]","help":"Add one row per state line printed at the foot of your Form W-2.","id":"income_sources.wages.state_tax_records","kind":"repeat","label":"Which states did your employer report this pay to?","min_rows":1,"nodes":[{"binds":"wages[].state_tax_records[].state","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 15 of your Form W-2, the two-letter state code.","help_lines":[],"help_when":[],"id":"income_sources.wages.state_tax_records.state","includes_united_states":false,"kind":"choice","label":"Which state is printed on that line of your form?","label_when":[],"options":[],"options_ref":"state_codes","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"wages[].state_tax_records[].employer_state_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 15 of your Form W-2, to the right of the state code.","help_lines":[],"help_when":[],"id":"income_sources.wages.state_tax_records.employer_state_id","includes_united_states":false,"kind":"text","label":"What is your employer's number for that state?","label_when":[],"options":[],"placeholder":"00-0000008","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"state_identifier":{"message":"Check the number in box 15 of the form and type it again using ordinary letters, numbers and hyphens.","message_too_long":"Write the number in 16 characters or fewer, which is all the form has room for."}},"validators":["state_identifier"]},{"binds":"wages[].state_tax_records[].state_wages","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 16 of your Form W-2, on that state line.","help_lines":[],"help_when":[],"id":"income_sources.wages.state_tax_records.state_wages","includes_united_states":false,"kind":"money","label":"How much pay did your employer report to that state?","label_when":[],"options":[],"placeholder":"22970","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"wages[].state_tax_records[].state_income_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 17 of your Form W-2, on that state line.","help_lines":[],"help_when":[],"id":"income_sources.wages.state_tax_records.state_income_tax","includes_united_states":false,"kind":"money","label":"How much tax did your employer keep back for that state?","label_when":[],"options":[],"placeholder":"320","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]}],"row_label":"State row","visible_when":{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.is_foreign_employer","value":true},{"op":"truthy","ref":"income_sources.wages.has_state_lines"}]}}],"row_label":"Employer","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_wages"}]}},{"add_label":"Add an employer abroad","binds":"foreign_employers[]","help":"Your earlier answers listed these employers abroad, and your return files them as you gave them.","id":"income_sources.foreign_employers","kind":"repeat","label":"Which employers abroad did your earlier answers list?","min_rows":0,"nodes":[{"binds":"foreign_employers[].name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the employer you entered under your pay so the two line up, or type the name if it is not in the list.","help_lines":[],"help_when":[],"id":"income_sources.foreign_employers.name","includes_united_states":false,"kind":"pick_row","label":"Which of the employers you listed is this?","label_when":[],"options":[],"picks_field":"income_sources.wages.employer_name","picks_from":"income_sources.wages","placeholder":"Globex Berlin GmbH","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_employers[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your contract.","help_lines":[],"help_when":[],"id":"income_sources.foreign_employers.country","includes_united_states":false,"kind":"country","label":"Which country is your employer in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"address_variant":"foreign","binds":"foreign_employers[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address printed on your contract or payslip.","help_lines":[],"help_when":[],"id":"income_sources.foreign_employers.address","includes_united_states":false,"kind":"address","label":"What is your employer's address abroad?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"foreign_employers[].foreign_tax_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Printed on your payslip or your foreign tax statement. Leave it blank if you cannot find it.","help_lines":[],"help_when":[],"id":"income_sources.foreign_employers.foreign_tax_id","includes_united_states":false,"kind":"text","label":"What is your employer's tax ID number in its country?","label_when":[],"options":[],"placeholder":"DE123456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"foreign_tax_id":{"message":"Check the number on the statement and type it again using ordinary letters, numbers and hyphens. A letter with an accent cannot be filed.","message_too_long":"Write the number in 16 characters or fewer, which is all the form has room for."}},"validators":["foreign_tax_id"]},{"binds":"foreign_employers[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.foreign_employers.owner","includes_united_states":false,"kind":"choice","label":"Is this employer abroad yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}}],"off_ramp":{"body":"Your earlier answers listed these employers abroad in a way your pay rows cannot repeat without changing your return, so your return files this list as you gave it.","code":"foreign_employer_list_kept","next_step":"Check each employer against your pay. While this list is kept, we do not ask for your employer's tax number on each pay row, because the list carries it.","severity":"info","title":"We kept your earlier list of employers abroad","when":{"op":"count_gt","ref":"income_sources.foreign_employers","value":0}},"row_label":"Employer abroad","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"answered","ref":"income_sources.foreign_employers"}]}},{"add_label":"Add a trade","binds":"self_employment[]","help":"Add one row per trade or business you ran, and have your records or your invoices ready. This card is the money side; the card after it asks how each trade is set up.","id":"income_sources.self_employment","kind":"repeat","label":"What did your own work bring in?","min_rows":1,"nodes":[{"binds":"self_employment[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.owner","includes_united_states":false,"kind":"choice","label":"Is this trade yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"self_employment[].foreign_sourced","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you were physically abroad while doing the work.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_sourced","includes_united_states":false,"kind":"yesno","label":"Did you do this work outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name you invoice under, or your own name if you use no other.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.business_name","includes_united_states":false,"kind":"text","label":"What do you call your business?","label_when":[],"options":[],"placeholder":"Energy Build","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"self_employment[].principal_business_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the general kind of business first, then the activity that brings in most of your sales or fees. These are the activity codes the IRS prints at the back of the Schedule C instructions. If nothing comes close, pick Unclassified establishments under its own heading.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.principal_business_code","includes_united_states":false,"kind":"choice","label":"Which activity describes your business best?","label_when":[],"options":[],"options_ref":"business_activity_codes","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_activity_code":{"message":"Check the six-digit code in the list at the end of the Schedule C instructions and type it again using digits only.","message_algorithm":"Check the six-digit code in the list at the end of the Schedule C instructions and type it again using digits only."}},"validators":["business_activity_code"]},{"binds":"self_employment[].separate_books_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if every payment into and out of the business is entered in date order in a journal, on paper or in bookkeeping software, and posted to the business's own accounts, such as sales, costs, cash, and what it owns and owes. Say no if you keep only invoices, receipts and bank statements. Say no if this was a one-off job rather than a business you run.","help_lines":["A business you run abroad with a full set of books counts as a foreign branch, and the return carries Form 8858 for it. We ask a few more questions about it next.","Choose Not sure if you cannot tell."],"help_when":[],"id":"income_sources.self_employment.separate_books_abroad","includes_united_states":false,"kind":"yesno","label":"Do you keep a full set of books, with a journal and accounts?","label_when":[],"off_ramp":{"body":"A business you run abroad with a full set of books counts as a foreign branch, and the return carries Form 8858 for it. We prepare that form for 2025 and 2026 returns only.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare Form 8858 for this year","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"not","rules":[{"op":"in","ref":"context.tax_year","values":[2025,2026]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}},{"binds":"self_employment[].branch_main_currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick it from the list as you type, or give its three-letter code. Think of where the business is based and the currency of its sales, costs, loans and prices.","help_lines":["Choose USD if most of the business's money comes in and goes out in United States dollars.","Another currency means the business's profit is first worked out in that currency, under the IRS rules for a foreign branch."],"help_when":[],"id":"income_sources.self_employment.branch_main_currency","includes_united_states":false,"kind":"text","label":"Which currency does your business mainly earn and spend in?","label_when":[],"off_ramp":{"body":"Up to 2025, a business abroad that mainly earns and spends in a currency other than the dollar needs currency figures we do not work out.","code":"foreign_branch_currency_year","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this business's currency rules for this year","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"lt","ref":"context.tax_year","value":2026}]}},"options":[],"placeholder":"EUR","prefills":[],"required":false,"suggests_currencies":true,"unanswered_allowed":false,"validator_messages":{"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR."}},"validators":["currency_code"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].branch_books_in_main_currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your journal and accounts show which currency every entry is in.","help_lines":["Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.self_employment.branch_books_in_main_currency","includes_united_states":false,"kind":"yesno","label":"Do you keep this business's books in that currency?","label_when":[],"off_ramp":{"body":"When the books are kept in another currency than the one the business mainly uses, the IRS rules do not give one answer from facts we can ask.","code":"foreign_branch_books_currency","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot settle your business's currency","when":{"op":"eq","ref":"income_sources.self_employment.branch_books_in_main_currency","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"gt","ref":"context.tax_year","value":2025}]}},{"binds":"self_employment[].branch_prices_doubled","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the three calendar years before this tax year: say yes if the country's consumer prices rose by 100% or more in total.","help_lines":["Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.self_employment.branch_prices_doubled","includes_united_states":false,"kind":"yesno","label":"Did prices where your business works at least double in three years?","label_when":[],"off_ramp":{"body":"The IRS rules then have the business keep its tax figures in dollars by a method we do not work out.","code":"foreign_branch_high_inflation","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a business in a currency with very high inflation","when":{"op":"truthy","ref":"income_sources.self_employment.branch_prices_doubled"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"gt","ref":"context.tax_year","value":2025}]},{"op":"truthy","ref":"income_sources.self_employment.branch_books_in_main_currency"}]}},{"binds":"self_employment[].branch_assets_left","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your business bank statements and books show what you took out.","help_lines":["Say yes if you took money out of the business for yourself, or moved something it owned to your own use.","Say yes if any of the business's income was paid straight into your own account rather than the business's.","Say yes if you moved the business into a company or a partnership, or sold it.","Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.self_employment.branch_assets_left","includes_united_states":false,"kind":"yesno","label":"Did money or property leave your business for you this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"gt","ref":"context.tax_year","value":2025}]},{"op":"truthy","ref":"income_sources.self_employment.branch_books_in_main_currency"},{"op":"eq","ref":"income_sources.self_employment.branch_prices_doubled","value":false}]}},{"binds":"self_employment[].branch_put_in_at_least_as_much","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count only what went into and out of the business during this tax year, from its bank statements and books: money you paid in, business costs you paid from your own account, and things you gave it.","help_lines":["Say no if you sold the business or moved it into a company or a partnership.","Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.self_employment.branch_put_in_at_least_as_much","includes_united_states":false,"kind":"yesno","label":"This year, did you put in at least as much as you took out?","label_when":[],"off_ramp":{"body":"When more money or property of a business abroad goes to you than you put in, part of its currency gain or loss is taxed, and we do not work that out.","code":"foreign_branch_remittance","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a currency gain on money you took out","when":{"op":"eq","ref":"income_sources.self_employment.branch_put_in_at_least_as_much","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"gt","ref":"context.tax_year","value":2025}]},{"op":"truthy","ref":"income_sources.self_employment.branch_books_in_main_currency"},{"op":"eq","ref":"income_sources.self_employment.branch_prices_doubled","value":false},{"op":"truthy","ref":"income_sources.self_employment.branch_assets_left"}]}},{"binds":"self_employment[].branch_section_987_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Such an election is a statement filed with a return that names section 987 of the tax code. Say no if you have never filed one.","help_lines":["Count an election to spread the currency gain or loss up to 2025 over ten years.","Count an election to take the currency gain or loss into account every year.","Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.self_employment.branch_section_987_election","includes_united_states":false,"kind":"yesno","label":"Have you filed an IRS election about this business's currency gains?","label_when":[],"off_ramp":{"body":"An election about how the business's currency gains are worked out changes the figures, and we do not work them out under it.","code":"foreign_branch_election","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a business under a currency election","when":{"op":"truthy","ref":"income_sources.self_employment.branch_section_987_election"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"gt","ref":"context.tax_year","value":2025}]},{"op":"truthy","ref":"income_sources.self_employment.branch_books_in_main_currency"},{"op":"eq","ref":"income_sources.self_employment.branch_prices_doubled","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.self_employment.branch_assets_left","value":false},{"op":"truthy","ref":"income_sources.self_employment.branch_put_in_at_least_as_much"}]}]}},{"binds":"self_employment[].branch_abroad_in_currency_all_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your books show the currency of this year's entries.","help_lines":["Say no if, at any time this year, the business ran in the United States or kept its books in another currency.","Choose Not sure if you cannot say: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.self_employment.branch_abroad_in_currency_all_year","includes_united_states":false,"kind":"yesno","label":"Did your business run abroad, with books in that currency, all this year?","label_when":[],"off_ramp":{"body":"A business that moved abroad or changed the currency of its books during the year needs an exchange rate for only part of the year, and adjustments for the change, which we do not work out.","code":"foreign_branch_currency_history","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a business whose currency changed","when":{"op":"eq","ref":"income_sources.self_employment.branch_abroad_in_currency_all_year","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"income_sources.self_employment.branch_main_currency"},{"op":"not","rules":[{"op":"in","ref":"income_sources.self_employment.branch_main_currency","values":["USD","usd"]}]}]},{"op":"gt","ref":"context.tax_year","value":2025}]},{"op":"truthy","ref":"income_sources.self_employment.branch_books_in_main_currency"},{"op":"eq","ref":"income_sources.self_employment.branch_prices_doubled","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.self_employment.branch_assets_left","value":false},{"op":"truthy","ref":"income_sources.self_employment.branch_put_in_at_least_as_much"}]},{"op":"eq","ref":"income_sources.self_employment.branch_section_987_election","value":false}]}},{"binds":"self_employment[].foreign_branch.books_kept_by","clears":["income_sources.self_employment.foreign_branch.books_keeper_name","income_sources.self_employment.foreign_branch.books_keeper_address"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 8858 asks who has the books and records. Pick yourself if you keep them, even with bookkeeping software.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.books_kept_by","includes_united_states":false,"kind":"choice","label":"Who keeps your business's books?","label_when":[],"options":[{"label":"I do.","value":"owner"},{"label":"An accountant or someone else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.books_keeper_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As on their invoice or engagement letter.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.books_keeper_name","includes_united_states":false,"kind":"text","label":"What is the name of the person or firm that keeps your books?","label_when":[],"options":[],"placeholder":"Muller Accounting","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"eq","ref":"income_sources.self_employment.foreign_branch.books_kept_by","value":"other"}]}},{"address_variant":"full","binds":"self_employment[].foreign_branch.books_keeper_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on their invoice or engagement letter.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.books_keeper_address","includes_united_states":false,"kind":"address","label":"What is the address of the person or firm keeping your books?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"eq","ref":"income_sources.self_employment.foreign_branch.books_kept_by","value":"other"}]}},{"binds":"self_employment[].foreign_branch.cash_and_current_assets_begin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your business's balance sheet: cash, bank balances, what customers owe and stock, in dollars.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.cash_and_current_assets_begin","includes_united_states":false,"kind":"money","label":"How much cash and other current assets did your business have on January 1?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.other_assets_begin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your business's balance sheet: equipment, vehicles and other long-term assets, at their value in the books.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.other_assets_begin","includes_united_states":false,"kind":"money","label":"What was everything else your business owned worth on January 1?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.liabilities_begin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your business's balance sheet: loans, unpaid bills and tax it owed.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.liabilities_begin","includes_united_states":false,"kind":"money","label":"How much did your business owe on January 1?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.cash_and_current_assets_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your business's balance sheet at the end of the year, the same items as on January 1.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.cash_and_current_assets_end","includes_united_states":false,"kind":"money","label":"How much cash and other current assets did your business have on December 31?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.other_assets_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your business's balance sheet at the end of the year, the same items as on January 1.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.other_assets_end","includes_united_states":false,"kind":"money","label":"What was everything else your business owned worth on December 31?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.liabilities_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your business's balance sheet at the end of the year, the same items as on January 1.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.liabilities_end","includes_united_states":false,"kind":"money","label":"How much did your business owe on December 31?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.owns_trust_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.owns_trust_interest","includes_united_states":false,"kind":"yesno","label":"Does your business abroad own an interest in a trust?","label_when":[],"off_ramp":{"body":"Form 8858 asks about a trust the branch has an interest in.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.owns_trust_interest"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.owns_entity_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.owns_entity_interest","includes_united_states":false,"kind":"yesno","label":"Does your business abroad own part of a company or a partnership?","label_when":[],"off_ramp":{"body":"A branch that owns part of another business needs an organizational chart and a statement on Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.owns_entity_interest"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.related_entity_transactions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.related_entity_transactions","includes_united_states":false,"kind":"yesno","label":"Did your business deal with a company or partnership you control?","label_when":[],"off_ramp":{"body":"Dealings with a company or partnership you control go on Schedule M of Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.related_entity_transactions"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.treaty_benefit_claimed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.treaty_benefit_claimed","includes_united_states":false,"kind":"yesno","label":"Do you claim a tax treaty benefit on this business's income?","label_when":[],"off_ramp":{"body":"A treaty benefit on the branch's income is reported on Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.treaty_benefit_claimed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.us_office_or_agent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.us_office_or_agent","includes_united_states":false,"kind":"yesno","label":"Does your business have an office or an agent in the United States?","label_when":[],"off_ramp":{"body":"An office or agent in the United States is reported on Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.us_office_or_agent"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.top_up_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.top_up_tax","includes_united_states":false,"kind":"yesno","label":"Did your business pay a top-up tax under the global minimum tax rules?","label_when":[],"off_ramp":{"body":"A top-up tax is reported on Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.top_up_tax"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.foreign_tax_disqualified_901m","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.foreign_tax_disqualified_901m","includes_united_states":false,"kind":"yesno","label":"Is some of your business's foreign tax disqualified under section 901(m)?","label_when":[],"off_ramp":{"body":"Foreign tax disqualified under section 901(m) is reported on Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.foreign_tax_disqualified_901m"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.foreign_tax_section_909","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if it applies to this business.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.foreign_tax_section_909","includes_united_states":false,"kind":"yesno","label":"Is some of your business's foreign tax held back under section 909?","label_when":[],"off_ramp":{"body":"Foreign tax under section 909 is reported on Form 8858.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.foreign_tax_section_909"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.became_branch_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you started it this year, moved it abroad this year, or began keeping its full set of books this year. Form 8858 then checks its Initial box.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.became_branch_in_year","includes_united_states":false,"kind":"yesno","label":"Did your business first run abroad with its own books this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.name","value_ref":"income_sources.self_employment.business_name"},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.businesses.owner"}]},{"op":"eq","ref":"income_sources.businesses.owner","value_ref":"income_sources.self_employment.owner"}]},{"op":"age_lt","ref":"income_sources.businesses.started_on","value":1}]}]}]}]}},{"binds":"self_employment[].foreign_branch.activity_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 8858 takes its activity code from the list at the end of the Form 5471 instructions, which groups some activities differently from Schedule C. Pick the code closest to the one you chose for Schedule C.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.activity_code","includes_united_states":false,"kind":"text","label":"Which six-digit code from the Form 5471 list fits your business?","label_when":[],"options":[],"placeholder":"541511","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_5471_activity_code":{"message":"Check the six-digit code in the list at the end of the Form 5471 instructions and type it again using digits only."}},"validators":["form_5471_activity_code"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"in","ref":"income_sources.self_employment.principal_business_code","values":["113000","212300","221000","236100","238110","238120","238130","238140","238150","238160","238170","238190","238310","238320","238330","238340","238350","238390","238910","238990","312000","315000","321000","322000","324100","326000","331000","332000","333000","334000","335000","336000","445100","445290","449120","455000","485300","488000","492000","513000","516000","522100","522200","531100","541100","541510","621400","721100"]}]}},{"binds":"self_employment[].foreign_branch.reference_id","clears":["income_sources.self_employment.foreign_branch.reference_id_changed","income_sources.self_employment.foreign_branch.old_reference_ids"],"currency_pickable":false,"derived_from_presence":[],"help":"Line 1b(2) of Form 8858: the same number every year, as on your last Form 8858. Enter the new number if the business took one this year: we ask for the old one next. Leave it blank if you never filed one: we give the branch a number made from its name, and you keep using it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.reference_id","includes_united_states":false,"kind":"text","label":"What reference ID number do you use for this business on Form 8858?","label_when":[],"options":[],"placeholder":"FBENERGYBUILD","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_8858_reference_id":{"message":"Type the reference number using letters and digits only, with no spaces or other signs."}},"validators":["form_8858_reference_id"],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}},{"binds":"self_employment[].foreign_branch.reference_id_changed","clears":["income_sources.self_employment.foreign_branch.old_reference_ids"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if this year's Form 8858 is the first to use this number, because it replaces the number an earlier Form 8858 showed. Form 8858 then lists the new number and the old one together.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.reference_id_changed","includes_united_states":false,"kind":"yesno","label":"Did you start using this number this year in place of an earlier one?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.reference_id"}]}},{"binds":"self_employment[].foreign_branch.old_reference_ids","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number this year's number replaces. If it replaces more than one, enter them all, separated by spaces.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.old_reference_ids","includes_united_states":false,"kind":"text","label":"What reference number did your earlier Form 8858 show?","label_when":[],"options":[],"placeholder":"FBENERGYBUILD","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_8858_old_reference_ids":{"message":"Type each earlier reference number in letters and digits only, with one space between two numbers."}},"validators":["form_8858_old_reference_ids"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.reference_id_changed"}]}},{"binds":"self_employment[].foreign_branch.fixed_place_abroad","clears":["income_sources.self_employment.foreign_branch.sold_us_made_goods"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if the business has a place abroad that it works from, such as an office, a shop or a workshop. Form 8858 asks this from 2026.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.fixed_place_abroad","includes_united_states":false,"kind":"yesno","label":"Does your business work from an office or other fixed place abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"gt","ref":"context.tax_year","value":2025}]}},{"binds":"self_employment[].foreign_branch.sold_us_made_goods","clears":["income_sources.self_employment.foreign_branch.us_made_goods_produced_by_business","income_sources.self_employment.foreign_branch.us_made_goods_for_use_abroad"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if any of the goods it sold were made or produced in the United States. Form 8858 then reports the income from those sales.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.sold_us_made_goods","includes_united_states":false,"kind":"yesno","label":"Did your business sell goods made in the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"gt","ref":"context.tax_year","value":2025},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.fixed_place_abroad"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"gt","ref":"income_sources.self_employment.cost_of_goods_sold","value":0}]}]}},{"binds":"self_employment[].foreign_branch.us_made_goods_produced_by_business","clears":["income_sources.self_employment.foreign_branch.us_made_goods_for_use_abroad"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if it made or produced any of them, in whole or in part. Say no only if it bought all of them ready-made and resold them.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.us_made_goods_produced_by_business","includes_united_states":false,"kind":"yesno","label":"Did your business make or produce any of those goods, even in part?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"gt","ref":"context.tax_year","value":2025},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.fixed_place_abroad"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"gt","ref":"income_sources.self_employment.cost_of_goods_sold","value":0}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.sold_us_made_goods"}]}},{"binds":"self_employment[].foreign_branch.us_made_goods_for_use_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if a buyer took or used any of them abroad.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.foreign_branch.us_made_goods_for_use_abroad","includes_united_states":false,"kind":"yesno","label":"Did your business sell any goods it made for use outside the United States?","label_when":[],"off_ramp":{"body":"From 2026, Form 8858 reports the income from goods a branch abroad made in the United States and sold for use abroad. The rules that set that amount are not yet published.","code":"foreign_branch_form_8858","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of Form 8858","when":{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.us_made_goods_for_use_abroad"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"},{"op":"gt","ref":"context.tax_year","value":2025},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.fixed_place_abroad"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"gt","ref":"income_sources.self_employment.cost_of_goods_sold","value":0}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.sold_us_made_goods"},{"op":"truthy","ref":"income_sources.self_employment.foreign_branch.us_made_goods_produced_by_business"}]}},{"binds":"self_employment[].gross_receipts","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The total for the year, from your records. If you count money when it moves, enter what you actually received in the year. If you count it when it is invoiced, enter what you billed.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.gross_receipts","includes_united_states":false,"kind":"money","label":"How much did your business take in before expenses?","label_when":[],"options":[],"placeholder":"35235","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"self_employment[].returns_and_allowances","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your credit notes for the year, from your records.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.returns_and_allowances","includes_united_states":false,"kind":"money","label":"How much of that did you refund or credit back to customers?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"self_employment[].other_income","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From your records. Leave out what you already counted in what your business took in. Schedule C line 6 takes it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.other_income","includes_united_states":false,"kind":"money","label":"Did your business earn other income, like customer interest or a fuel tax refund?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"self_employment[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of each Form 1099-NEC, 1099-MISC or 1099-K you received for it. Leave it blank if no box 4 shows an amount.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal income tax did payers withhold from your business income?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this total from your records before we started asking about your stock and purchases. It is kept here so you can use it for the questions about your stock and purchases, and it is not filed. Once those are answered, enter zero here and it goes away.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.cost_of_goods_sold","includes_united_states":false,"kind":"money","label":"What total did you give earlier for the cost of the goods you sold?","label_when":[],"off_ramp":{"body":"You gave us one total for the cost of the goods you sold. It is not filed as you typed it any more: the cost is worked out from your stock at the start and end of the year and what you bought, so we need those figures instead.","code":"cost_of_goods_sold_total_kept","next_step":"Answer yes to the question about goods, enter your stock and purchases, then enter zero for the old total.","severity":"review","title":"We now work out the cost of the goods you sold","when":{"op":"gt","ref":"income_sources.self_employment.cost_of_goods_sold","value":0}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"gt","ref":"income_sources.self_employment.cost_of_goods_sold","value":0}},{"clears":["income_sources.self_employment.inventory.method"],"currency_pickable":false,"derived_from_presence":["self_employment[].inventory"],"help":"Say yes if the business made, bought or sold goods during the year, even if none were left at the start or the end. The cost of the goods sold is then worked out from your stock and purchases.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.has_inventory","includes_united_states":false,"kind":"yesno","label":"Did your business make, buy or sell goods during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].inventory.method","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most businesses value them at what they cost. Schedule C line 33 asks which way you use.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.method","includes_united_states":false,"kind":"choice","label":"How do you value the goods you have left at the year's end?","label_when":[],"options":[{"label":"At what it cost","value":"cost"},{"label":"At what it cost or what it would sell for now, whichever is lower","value":"lower_of_cost_or_market"},{"label":"Some other way","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"binds":"self_employment[].inventory.other_method_description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A short explanation in your own words, sent with the return as Schedule C line 33 asks.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.other_method_description","includes_united_states":false,"kind":"text","label":"How do you value them instead?","label_when":[],"options":[],"placeholder":"Retail method","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.InventoryDetail._check_inventory","required_when":{"op":"eq","ref":"income_sources.self_employment.inventory.method","value":"other"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_1000":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_1000"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"eq","ref":"income_sources.self_employment.inventory.method","value":"other"}]}},{"binds":"self_employment[].inventory.valuation_changed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you did it the same way at both ends of the year, as most businesses do. Schedule C line 34 asks this.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.valuation_changed","includes_united_states":false,"kind":"yesno","label":"Did you change how you count, cost or value your goods during the year?","label_when":[],"off_ramp":{"body":"A change in how the stock is counted, costed or valued needs a written explanation sent with the return, which we do not prepare.","code":"inventory_valuation_change","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot explain a change in how your stock is valued","when":{"op":"truthy","ref":"income_sources.self_employment.inventory.valuation_changed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"binds":"self_employment[].inventory.beginning_matches_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if the figure is the one your books closed last year with, or if the business is new and started with no stock. Schedule C line 35 asks this.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.beginning_matches_last_year","includes_united_states":false,"kind":"yesno","label":"Does your opening stock match your stock at the end of last year?","label_when":[],"off_ramp":{"body":"A starting stock that differs from last year's closing stock needs a written explanation sent with the return, which we do not prepare.","code":"inventory_beginning_differs","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot explain a starting stock that changed","when":{"op":"eq","ref":"income_sources.self_employment.inventory.beginning_matches_last_year","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"binds":"self_employment[].inventory.beginning","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your stock count or books for the first day of the year, in United States dollars. If your currency has more than one official rate, give the figure in US dollars at the rate you actually used.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.beginning","includes_united_states":false,"kind":"money","label":"What was your stock worth at the start of the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"binds":"self_employment[].inventory.purchases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your purchase invoices for the year, in United States dollars. Leave out anything you took for your own use. For a total across the year in another currency, the IRS yearly average exchange rate is accepted.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.purchases","includes_united_states":false,"kind":"money","label":"How much stock did you buy during the year?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"clears":["income_sources.self_employment.inventory.labor","income_sources.self_employment.inventory.materials","income_sources.self_employment.inventory.other_costs"],"currency_pickable":false,"derived_from_presence":["self_employment[].inventory.labor","self_employment[].inventory.materials","self_employment[].inventory.other_costs"],"help":"Say no if you sell goods as you bought them. Say yes if you paid for labor, materials or other costs to make or change them.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.has_production_costs","includes_united_states":false,"kind":"yesno","label":"Did you spend anything on making or changing the goods you sold?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"binds":"self_employment[].inventory.labor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your payroll or contractor invoices, in United States dollars. Leave out anything you paid yourself. For a total across the year in another currency, the IRS yearly average exchange rate is accepted.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.labor","includes_united_states":false,"kind":"money","label":"What did you pay for the labor to make or change the goods?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"truthy","ref":"income_sources.self_employment.has_production_costs"}]}},{"binds":"self_employment[].inventory.materials","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your purchase invoices for materials, in United States dollars. For a total across the year in another currency, the IRS yearly average exchange rate is accepted.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.materials","includes_united_states":false,"kind":"money","label":"What did you pay for materials and supplies for the goods?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"truthy","ref":"income_sources.self_employment.has_production_costs"}]}},{"binds":"self_employment[].inventory.other_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your records, in United States dollars. For a total across the year in another currency, the IRS yearly average exchange rate is accepted.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.other_costs","includes_united_states":false,"kind":"money","label":"What other costs did you have in making or changing the goods?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.has_inventory"},{"op":"truthy","ref":"income_sources.self_employment.has_production_costs"}]}},{"binds":"self_employment[].inventory.ending","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your stock count or your books for the last day of the year, in United States dollars. If your currency has more than one official rate, give the figure in US dollars at the rate you actually used.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.inventory.ending","includes_united_states":false,"kind":"money","label":"What was your stock worth at the end of the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_inventory"}},{"clears":["income_sources.self_employment.vehicles"],"currency_pickable":false,"derived_from_presence":["self_employment[].vehicles[]"],"help":"Driving to clients, to the bank or to buy supplies counts. Driving from home to your regular place of work is commuting and does not.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.has_vehicle","includes_united_states":false,"kind":"yesno","label":"Did you use a car or another vehicle for this business during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add a vehicle","binds":"self_employment[].vehicles[]","help":"Add one row per vehicle, with your mileage log or diary ready.","id":"income_sources.self_employment.vehicles","kind":"repeat","label":"Which vehicles did you use for the business?","min_rows":1,"nodes":[{"binds":"self_employment[].vehicles[].placed_in_service","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your mileage log or your purchase papers. It can be a date before this year.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.placed_in_service","includes_united_states":false,"kind":"date","label":"When did you start using this vehicle for the business?","label_when":[],"options":[],"placeholder":"2025-03-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].vehicles[].standard_mileage_rate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The standard rate needs only your business miles. The other way adds up what the vehicle actually cost to run, from your bills.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.standard_mileage_rate","includes_united_states":false,"kind":"yesno","label":"Are you claiming this vehicle at the standard rate per business mile?","label_when":[],"off_ramp":{"body":"Claiming what a vehicle actually cost to run needs its depreciation and a separate part of the depreciation form about vehicles, which we do not prepare.","code":"business_vehicle_actual_expenses","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a vehicle's actual running costs","when":{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].vehicles[].standard_rate_since_first_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The standard rate can be used now only if it was used in the first year, or for the whole time you have leased the vehicle. Your earlier returns show which way you claimed it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.standard_rate_since_first_year","includes_united_states":false,"kind":"yesno","label":"Did you use the standard rate from its first business year, or whole lease?","label_when":[],"off_ramp":{"body":"A vehicle that did not use the standard rate in its first year has to be claimed at what it actually cost to run, which we do not prepare.","code":"business_vehicle_standard_rate_unavailable","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"The standard rate is not open to this vehicle","when":{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_rate_since_first_year","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.self_employment.vehicles.placed_in_service","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.self_employment.vehicles.placed_in_service","value":1}]}]}]}},{"binds":"self_employment[].vehicles[].disposed_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if it was sold, traded in, written off or taken back for your own use. Your sale or trade-in papers show it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.disposed_in_year","includes_united_states":false,"kind":"yesno","label":"Did you sell or give up this vehicle during the year?","label_when":[],"off_ramp":{"body":"Part of the standard rate counts as the vehicle's depreciation, which lowers its cost when the gain or loss on the sale is worked out, and we do not work that out here.","code":"business_vehicle_sold_standard_rate","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of a vehicle claimed by the mile","when":{"op":"truthy","ref":"income_sources.self_employment.vehicles.disposed_in_year"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}},{"binds":"self_employment[].vehicles[].business_miles","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your mileage log. Schedule C line 44a. We need miles, not kilometers: 1 kilometer is about 0.62 miles.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.business_miles","includes_united_states":false,"kind":"integer","label":"How many miles did you drive this vehicle for the business during the year?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"miles_in_a_year":{"message_bounds":"Enter the miles as a whole number, with no decimals."}},"validators":["miles_in_a_year"]},{"binds":"self_employment[].vehicles[].business_miles_january_to_june","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your mileage log. For this tax year the standard rate per business mile changes on July 1, so the miles before and after that day are figured at different rates. The two parts of the year add up to your business miles for the whole year.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.business_miles_january_to_june","includes_united_states":false,"kind":"integer","label":"How many of those business miles did you drive from January 1 to June 30?","label_when":[],"options":[],"placeholder":"60","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_c.vehicle_miles_by_period_refusals","required_when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2022,2026]},{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"miles_in_a_year":{"message_bounds":"Enter the miles as a whole number, with no decimals."}},"validators":["miles_in_a_year"],"visible_when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2022,2026]},{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}]}},{"binds":"self_employment[].vehicles[].business_miles_july_to_december","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your mileage log. For this tax year the standard rate per business mile changes on July 1, so the miles before and after that day are figured at different rates. The two parts of the year add up to your business miles for the whole year.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.business_miles_july_to_december","includes_united_states":false,"kind":"integer","label":"How many of those business miles did you drive from July 1 to December 31?","label_when":[],"options":[],"placeholder":"40","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_c.vehicle_miles_by_period_refusals","required_when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2022,2026]},{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"miles_in_a_year":{"message_bounds":"Enter the miles as a whole number, with no decimals."}},"validators":["miles_in_a_year"],"visible_when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2022,2026]},{"op":"eq","ref":"income_sources.self_employment.vehicles.standard_mileage_rate","value":true}]}},{"binds":"self_employment[].vehicles[].commuting_miles","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your mileage log. Commuting is driving between your home and your regular place of work. If your home is your main place of business, enter 0.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.commuting_miles","includes_united_states":false,"kind":"integer","label":"How many miles did you drive it commuting during the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"miles_in_a_year":{"message_bounds":"Enter the miles as a whole number, with no decimals."}},"validators":["miles_in_a_year"]},{"binds":"self_employment[].vehicles[].other_miles","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your mileage log or the odometer: every mile that was neither business nor commuting.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.other_miles","includes_united_states":false,"kind":"integer","label":"How many other miles did you drive it during the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"miles_in_a_year":{"message_bounds":"Enter the miles as a whole number, with no decimals."}},"validators":["miles_in_a_year"]},{"binds":"self_employment[].vehicles[].parking_fees_and_tolls","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From your receipts. They are added to the mileage amount.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.parking_fees_and_tolls","includes_united_states":false,"kind":"money","label":"How much did you pay in parking fees and tolls on business trips?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].vehicles[].available_off_duty","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule C line 45 asks this.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.available_off_duty","includes_united_states":false,"kind":"yesno","label":"Could you use this vehicle for personal trips outside business hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].vehicles[].another_vehicle_available","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule C line 46 asks this.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.another_vehicle_available","includes_united_states":false,"kind":"yesno","label":"Did you or your spouse have another vehicle for personal use?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].vehicles[].has_evidence","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A mileage log, a diary or an app record of each trip. Schedule C line 47a asks this, and the IRS can ask to see it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.has_evidence","includes_united_states":false,"kind":"yesno","label":"Do you have evidence of the miles you drove for the business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].vehicles[].evidence_written","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule C line 47b asks this.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.vehicles.evidence_written","includes_united_states":false,"kind":"yesno","label":"Is your evidence written down, on paper or electronically?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.BusinessVehicle._check_vehicle","required_when":{"op":"truthy","ref":"income_sources.self_employment.vehicles.has_evidence"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.self_employment.vehicles.has_evidence"}}],"off_ramp":{"body":"A business that used five or more vehicles at the same time has to work out what they actually cost to run, which we do not prepare.","code":"business_vehicle_fleet","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the costs of five or more vehicles","when":{"op":"count_gt","ref":"income_sources.self_employment.vehicles","value":4}},"row_label":"Vehicle","visible_when":{"op":"truthy","ref":"income_sources.self_employment.has_vehicle"}},{"add_label":"Add an expense","binds":"self_employment[].other_expenses{}","help":"Add one row per kind of expense, from your records. Leave out the vehicle, the home office and the equipment, which have questions of their own.","id":"income_sources.self_employment.other_expenses","kind":"repeat","label":"What did you spend on running your business?","min_rows":0,"nodes":[{"binds":"self_employment[].other_expenses{}.key","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from your records, such as office costs or supplies.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.other_expenses.key","includes_united_states":false,"kind":"text","label":"What do you call that expense?","label_when":[],"options":[],"placeholder":"Office expense","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"self_employment[].other_expenses{}.value","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The total for the year from your records.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.other_expenses.value","includes_united_states":false,"kind":"money","label":"How much did you spend on it during the year?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"self_employment[].expense_lines{}.value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each kind of expense goes on its own line of Schedule C. Pick the closest one, or Something else if none of them fits.","help_lines":["Leave out income tax, here or abroad, and social insurance you pay as a self-employed person: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments, entertainment and personal costs."],"help_when":[[{"op":"in","ref":"context.tax_year","values":[2021,2022]},"For this tax year, food and drinks a restaurant provided are fully deductible. Enter your business meals with the half deductible meals, or with the meals during work under transport hours of service limits, and the next question asks you how much of them a restaurant provided."]],"id":"income_sources.self_employment.other_expenses.schedule_c_line","includes_united_states":false,"kind":"choice","label":"Which of these best describes what you paid for?","label_when":[],"off_ramp":{"body":"Depletion is worked out by a method that depends on the property, and we do not prepare it.","code":"business_depletion","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out depletion","when":{"op":"eq","ref":"income_sources.self_employment.other_expenses.schedule_c_line","value":"depletion"}},"options":[{"label":"Advertising.","value":"advertising"},{"label":"Commissions and fees.","value":"commissions_and_fees"},{"label":"Contract labor.","value":"contract_labor"},{"help":"We do not work out depletion, so a return that claims it cannot be filed from here.","label":"Depletion.","value":"depletion"},{"help":"Do not include insurance on a vehicle you claim by the standard mileage rate: the rate already covers it.","label":"Insurance, other than health insurance.","value":"insurance"},{"help":"Interest on a mortgage on property the business uses, as the bank's Form 1098 shows it. Interest with no Form 1098 is other interest.","label":"Mortgage interest a bank reported to you on Form 1098.","value":"mortgage_interest_form_1098"},{"label":"Other interest.","value":"other_interest"},{"label":"Legal and professional fees.","value":"legal_and_professional"},{"label":"Office expenses.","value":"office"},{"help":"Do not include the lease of a vehicle you claim by the standard mileage rate: the rate already covers it.","label":"Rent or lease of vehicles, machinery or equipment.","value":"rent_vehicles_equipment"},{"label":"Rent of other business property.","value":"rent_other_property"},{"help":"Do not include repairs to a vehicle you claim by the standard mileage rate: the rate already covers them.","label":"Repairs and maintenance.","value":"repairs_and_maintenance"},{"label":"Supplies.","value":"supplies"},{"help":"Licenses and taxes on the business's own property, such as sales tax you owe as a seller. Leave out income tax, here or abroad, and social insurance you pay as a self-employed person: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments, entertainment and personal costs.","label":"Taxes and licenses.","value":"taxes_and_licenses"},{"label":"Travel.","value":"travel"},{"help":"Enter what the meals cost. Only half of the cost of most business meals can be deducted, and we work out that half.","label":"Business meals, half deductible.","value":"meals_50"},{"help":"Only meals you gave employees and treated as their pay, or gave someone you reported on Form 1099-NEC, are fully deductible.","label":"Meals that are fully deductible.","value":"meals_100"},{"help":"Only for meals during work under the Department of Transportation hours of service limits, such as interstate truck and bus drivers, pilots and air crews, certain railroad workers and merchant mariners. Enter what the meals cost. Up to 80% can be deducted, and we work it out.","label":"Meals during work under transport hours of service limits.","value":"meals_80"},{"label":"Utilities.","value":"utilities"},{"help":"Anything that fits none of these, listed under the name you give it. Leave out income tax, here or abroad, and social insurance you pay as a self-employed person: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments, entertainment and personal costs.","label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employment[].restaurant_meals{}.value","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"For this tax year, food and drinks a restaurant provided can be deducted in full, and other business meals only in part. Enter the part of this expense that a restaurant provided, from your receipts, or 0 if none of it was.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.other_expenses.restaurant_part","includes_united_states":false,"kind":"money","label":"How much of that did you spend on food or drinks a restaurant provided?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"in","ref":"context.tax_year","values":[2021,2022]},{"op":"in","ref":"income_sources.self_employment.other_expenses.schedule_c_line","values":["meals_50","meals_80"]}]}}],"row_label":"Expense"},{"binds":"self_employment[].vehicle_loan_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only the business-use portion.","help_lines":["If you use the vehicle for both business and personal purposes, allocate the vehicle loan interest between its business use and personal use, and enter only the business-use portion.","Enter zero if none of the other interest is on a vehicle loan.","For this tax year the form puts that portion on a line of its own."],"help_when":[],"id":"income_sources.self_employment.vehicle_loan_interest","includes_united_states":false,"kind":"money","label":"How much of your business's other interest is on a vehicle loan?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.vehicle_loan_interest.placement_problems","required_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.self_employment.other_expenses","rules":[{"op":"eq","ref":"income_sources.self_employment.other_expenses.schedule_c_line","value":"other_interest"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.self_employment.other_expenses","rules":[{"op":"eq","ref":"income_sources.self_employment.other_expenses.schedule_c_line","value":"other_interest"}]}]}},{"binds":"self_employment[].capital_material_income_producing_factor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Money invested means stock, equipment or property. Say yes if the business could not have earned what it did without that investment, as a shop with stock or a firm that owns its machines does. Say no if it earned its income from your own work, as most consulting and freelance work does. The exclusion of pay earned abroad treats the two differently.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.capital_material_income_producing_factor","includes_united_states":false,"kind":"yesno","label":"Did this business earn from money invested in it, not just from your work?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"}]}]}},{"binds":"self_employment[].reasonable_compensation_for_personal_services","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"For a business that earns from money invested in it as well as from your own work, only a reasonable amount of pay for your own work counts toward the exclusion of pay earned abroad.","help_lines":["When the business makes a net profit, it counts for no more than 30% of that profit after the deductible part of self-employment tax (we work that out for you); when it makes a loss, that limit does not apply.","Give the amount for the year for the work you did yourself."],"help_when":[],"id":"income_sources.self_employment.reasonable_compensation_for_personal_services","includes_united_states":false,"kind":"money","label":"What is a reasonable pay for your own work in this business this year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.business_capital_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"truthy","ref":"income_sources.self_employment.capital_material_income_producing_factor"}]}},{"binds":"self_employment[].qualifying_period_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Only income from work done in that part of the year counts toward the exclusion of pay earned abroad. From your records, give what the business took in for that work, less any refunds and the cost of goods you sold for it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.qualifying_period_amount","includes_united_states":false,"kind":"money","label":"How much of this business's income was for work you did between {derived.income_sources.self_employment.qualifying_period}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"ne","ref":"income_sources.self_employment.capital_material_income_producing_factor","value":true},{"op":"derived","ref":"income_sources.self_employment.qualifying_period"}]}},{"binds":"self_employment[].presence_period_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"You said yes to both ways of qualifying, and the 330-day test covers a different part of the year, so each is worked out with the income for its own part. From your records, give what the business took in for that work, less any refunds and the cost of goods you sold for it.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.presence_period_amount","includes_united_states":false,"kind":"money","label":"How much of this business's income was for work you did between {derived.income_sources.self_employment.presence_period}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.qualifying_period_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"ne","ref":"income_sources.self_employment.capital_material_income_producing_factor","value":true},{"op":"derived","ref":"income_sources.self_employment.presence_period"}]}},{"binds":"self_employment[].work_performed_while_residing_in_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if your home was in the United States while you did this work, even if you traveled abroad to do it. We mean where you were actually living, not where your mail goes.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.work_performed_while_residing_in_us","includes_united_states":false,"kind":"yesno","label":"Were you living in the United States while you did this work?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your addresses abroad, which cover the whole year. Change it if that was not right.","value":false,"when":{"op":"derived","ref":"income_sources.self_employment.lived_abroad_all_year"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]}},{"binds":"self_employment[].receipts_for_other_year_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a client who paid you this year for work you did last year, or paid you in advance for next year. An invoice for December work that was paid in January counts as last year's work.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.receipts_for_other_year_work","includes_united_states":false,"kind":"yesno","label":"Was any of this income paid for work you did in another year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]}},{"binds":"self_employment[].prior_year_work_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From your payslips or records: only work done in another country during the days you qualified for the exclusion that year. Enter 0 if none. If a bonus rewards several years, split it by the months worked in each year.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.prior_year_work_amount","includes_united_states":false,"kind":"money","label":"How much of this income was for your qualifying work abroad in {context.return_year_less_1}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]}},{"binds":"self_employment[].other_year_work_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Such as work before {context.return_year_less_1}, work abroad in {context.return_year_less_1} outside the days you qualified, work in the United States, or pay in advance for a later year. This part stays in your income on this return. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.other_year_work_amount","includes_united_states":false,"kind":"money","label":"How much of this income was for your other work not done in {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]}},{"binds":"self_employment[].other_year_us_work_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"drawn_when_named":true,"help":"From your payslips or records: the part of the amount you just gave for other work that was not done in another country, such as a bonus for work in the United States before you moved abroad, or work on a ship at sea. That part does not count as income from abroad. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.other_year_us_work_amount","includes_united_states":false,"kind":"money","label":"Of that, how much was for your work in the US or at sea?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_us_work_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]},{"op":"gt","ref":"income_sources.self_employment.other_year_work_amount","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"}]}},{"binds":"self_employment[].combat_zone_support","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if you did this work in an area the United States has named a combat zone, in support of its armed forces. Your contract says so. Your home in the United States then does not stop this income counting as income earned abroad.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.combat_zone_support","includes_united_states":false,"kind":"yesno","label":"Were you serving in a combat zone in support of the US Armed Forces?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"truthy","ref":"income_sources.self_employment.work_performed_while_residing_in_us"}]}},{"binds":"self_employment[].worked_days_outside_foreign_countries","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count days you worked in the United States or its territories, or at sea or in the air outside any country, at any time in the year. Leave out days you only changed planes there.","help_lines":["Income for those days is United States income, so it is left out of the foreign income your credit for foreign tax is worked out on."],"help_when":[],"id":"income_sources.self_employment.worked_days_outside_foreign_countries","includes_united_states":false,"kind":"yesno","label":"Did you work in the United States or at sea for this business?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.ftc_workday_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_foreign_taxes"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_ftc_carryovers"}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]}]}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"ne","ref":"income_sources.self_employment.work_performed_while_residing_in_us","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"where_you_lived.physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"}]}]}]}]},{"op":"derived","ref":"income_sources.self_employment.qualifying_period"}]}]}},{"binds":"self_employment[].workdays_outside_foreign_countries","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the days you worked in this business while you lived abroad that were spent in the United States or its territories, or at sea or in the air outside any country, as your calendar and travel records show. Enter 0 if every one of those workdays was in a foreign country.","help_lines":["Leave out days you only changed planes in the United States."],"help_when":[],"id":"income_sources.self_employment.workdays_outside_foreign_countries","includes_united_states":false,"kind":"integer","label":"How many of your workdays were in the United States or at sea?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.workday_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"ne","ref":"income_sources.self_employment.work_performed_while_residing_in_us","value":true},{"op":"or","rules":[{"op":"any_row","ref":"where_you_lived.physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"}]}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_foreign_taxes"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_tax.has_ftc_carryovers"}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.worked_days_outside_foreign_countries"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"ne","ref":"income_sources.self_employment.work_performed_while_residing_in_us","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"where_you_lived.physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"where_you_lived.bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_physical_presence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_physical_presence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.trips","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters"}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]},{"op":"ne","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","value":true}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters"}]}]}]}]},{"op":"derived","ref":"income_sources.self_employment.qualifying_period"}]},{"op":"truthy","ref":"income_sources.self_employment.worked_days_outside_foreign_countries"}]}]}},{"binds":"self_employment[].workdays_total","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Every workday in it while you lived abroad, wherever you were, from your calendar or your invoices. The income for the days in the United States or at sea is worked out as their share of these days.","help_lines":[],"help_when":[],"id":"income_sources.self_employment.workdays_total","includes_united_states":false,"kind":"integer","label":"How many days did you work in this business in all while living abroad?","label_when":[],"options":[],"placeholder":"230","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.workday_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"gt","ref":"income_sources.self_employment.workdays_outside_foreign_countries","value":0}}],"row_label":"Trade","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_self_employment"}]}},{"add_label":"Add a business","binds":"businesses[]","help":"Add one row per trade you listed earlier. This card asks about the business itself rather than the money it took in.","id":"income_sources.businesses","kind":"repeat","label":"How is each trade you listed set up?","min_rows":1,"nodes":[{"binds":"businesses[].name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the trade you listed earlier so the two line up, or type the name if it is not in the list.","help_lines":[],"help_when":[],"id":"income_sources.businesses.name","includes_united_states":false,"kind":"pick_row","label":"Which of the trades you listed is this business?","label_when":[],"options":[],"picks_field":"income_sources.self_employment.business_name","picks_from":"income_sources.self_employment","placeholder":"Energy Build","prefill":{"confirm":false,"exact":true,"note":"Filled in with the one business you listed.","value_from":"income_sources.businesses.only_trade_name","when":{"op":"derived","ref":"income_sources.businesses.only_trade_name"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_4562_activity_name":{"message_too_long":"Give the business a name of 40 characters or fewer, here and where you first listed the trade, so the two still match. The IRS form for writing off what the business owns has room for 40."}},"validators":["form_4562_activity_name"]},{"binds":"businesses[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You and your spouse each listed a trade of this name earlier, so say whose business this is. Each business goes on the Schedule C of the person who runs it, even when you both use the same business name.","help_lines":[],"help_when":[],"id":"income_sources.businesses.owner","includes_united_states":false,"kind":"choice","label":"Is this business yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"eq","ref":"income_sources.self_employment.business_name","value_ref":"income_sources.businesses.name"}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"eq","ref":"income_sources.self_employment.business_name","value_ref":"income_sources.businesses.name"}]}]}]}},{"binds":"businesses[].separate_business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if you invoice under your own name. Schedule C line C is then left blank.","help_lines":[],"help_when":[],"id":"income_sources.businesses.separate_business_name","includes_united_states":false,"kind":"yesno","label":"Does this business trade under a name other than your own?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].principal_product_or_service","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from your own description of the trade, such as consulting or tutoring.","help_lines":[],"help_when":[],"id":"income_sources.businesses.principal_product_or_service","includes_united_states":false,"kind":"text","label":"What does your business sell or do?","label_when":[],"options":[],"placeholder":"Designer","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ascii_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["ascii_text_100"]},{"binds":"businesses[].started_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your registration paper or your first invoice.","help_lines":[],"help_when":[],"id":"income_sources.businesses.started_on","includes_united_states":false,"kind":"date","label":"When did you start this business?","label_when":[],"options":[],"placeholder":"2022-04-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].conducted_from_home_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if the business has an address of its own, such as an office or a shop. Schedule C line E then shows it.","help_lines":[],"help_when":[],"id":"income_sources.businesses.conducted_from_home_address","includes_united_states":false,"kind":"yesno","label":"Did you run this business from the home address on your return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"address_variant":"full","binds":"businesses[].business_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The street address of the office or shop, from your lease or your registration paper. Use a street address, not a box number.","help_lines":[],"help_when":[],"id":"income_sources.businesses.business_address","includes_united_states":false,"kind":"address","label":"What is your business's address?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.SoleProprietorship._check_header","required_when":{"op":"eq","ref":"income_sources.businesses.conducted_from_home_address","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"eq","ref":"income_sources.businesses.conducted_from_home_address","value":false}},{"binds":"businesses[].ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On the letter the IRS sent when it issued the number. Leave it blank if you trade under your own taxpayer number.","help_lines":[],"help_when":[],"id":"income_sources.businesses.ein","includes_united_states":false,"kind":"text","label":"What is your business's own nine-digit employer identification number?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the number on your IRS letter and type it as two digits, a hyphen, then seven."}},"validators":["ein"]},{"binds":"businesses[].accounting_method","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Cash means you count money when it moves. Accrual means you count it when it is invoiced.","help_lines":[],"help_when":[],"id":"income_sources.businesses.accounting_method","includes_united_states":false,"kind":"choice","label":"How do you keep your books?","label_when":[],"options":[{"label":"Cash: I count money when it moves.","value":"cash"},{"label":"Accrual: I count money when it is invoiced.","value":"accrual"},{"label":"Some other way.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].accounting_method_other_description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words, at most twenty letters, for Schedule C line F.","help_lines":[],"help_when":[],"id":"income_sources.businesses.accounting_method_other_description","includes_united_states":false,"kind":"text","label":"How do you keep your books instead?","label_when":[],"options":[],"placeholder":"Hybrid method","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.SoleProprietorship._check_header","required_when":{"op":"eq","ref":"income_sources.businesses.accounting_method","value":"other"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"short_description_20":{"message":"Use ordinary letters, numbers and spaces in the label.","message_too_long":"Write the label in 20 characters or fewer, which is all the line on the form has room for: Property tax rather than Property tax (predial)."}},"validators":["short_description_20"],"visible_when":{"op":"eq","ref":"income_sources.businesses.accounting_method","value":"other"}},{"binds":"businesses[].form_1099_required","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, fees you paid a contractor in the United States that you report on Form 1099-NEC. Schedule C line I asks this.","help_lines":[],"help_when":[],"id":"income_sources.businesses.form_1099_required","includes_united_states":false,"kind":"yesno","label":"Did the business make payments this year you had to report on Form 1099?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].form_1099_filed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule C line J asks this.","help_lines":[],"help_when":[],"id":"income_sources.businesses.form_1099_filed","includes_united_states":false,"kind":"yesno","label":"Have you filed, or will you file, every Form 1099 you had to?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.SoleProprietorship._check_header","required_when":{"op":"truthy","ref":"income_sources.businesses.form_1099_required"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.form_1099_required"}},{"binds":"businesses[].materially_participated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule C asks this of every business. Say yes if you worked in it on a regular, continuous and substantial basis, for example more than 500 hours in the year. If the business made a loss, a no means the loss is limited by rules we do not work out here. Choose Not sure if you cannot say.","help_lines":[],"help_when":[],"id":"income_sources.businesses.materially_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in running this business regularly, continuously and substantially during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"businesses[].all_investment_at_risk","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Money is at risk when you could lose it, such as your own cash or a loan you are personally liable for.","help_lines":["A loan nobody can make you repay is not at risk.","This matters only if the business made a loss, and a loss on selling something the business used counts. After a no, we ask for a few figures about the money at risk, which limit the loss.","Choose Not sure if you cannot say, or if the business made no loss, including any loss on selling something it used."],"help_when":[],"id":"income_sources.businesses.all_investment_at_risk","includes_united_states":false,"kind":"yesno","label":"Was all the money you put into this business at risk of being lost?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"businesses[].amt_prior_year_unallowed_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VII, column (c), of last year's Form 8582 worked out for the alternative minimum tax, on the row for this business. Enter 0 if no loss on it was held back for that tax.","help_lines":[],"help_when":[],"id":"income_sources.businesses.amt_prior_year_unallowed_loss","includes_united_states":false,"kind":"money","label":"What loss did you carry in for alternative minimum tax (a second tax)?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.materially_participated","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]},{"op":"ne","ref":"income_sources.businesses.home_office.home_asset.used_predominantly_outside_us","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":true},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"land_improvement"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":16},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.section_1250_property","value":false}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.early_first_year_allowance","value":"eligible"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.used_before_acquired"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative"}]}]}]}]}]}]}]}},{"binds":"businesses[].at_risk.detailed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose. Part III is its longer way of working that out, as last year's return shows. Say no if you did not file the form for it last year, or used only Part II.","help_lines":["Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.detailed_last_year","includes_united_states":false,"kind":"yesno","label":"Did you fill in Part III of Form 6198 for this business last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false}},{"binds":"businesses[].at_risk.adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Your basis is what you put in (cash and the cost of property, including loans used for it), less the depreciation and losses already taken. Do not take off what you still owe on those loans. Give it in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.adjusted_basis","includes_united_states":false,"kind":"money","label":"What was your basis in this business on the first day of the year?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]}},{"binds":"businesses[].at_risk.prior_year_line_19b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 19b of last year's Form 6198 for this business, in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.prior_year_line_19b","includes_united_states":false,"kind":"money","label":"What amount at risk did your Form 6198 last year show on line 19b?","label_when":[],"options":[],"placeholder":"15000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"}]}},{"binds":"businesses[].at_risk.prior_year_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 21 of last year's Form 6198 for this business, without the parentheses. Enter zero if it was blank. It lowers the money at risk you start this year with.","help_lines":["Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.prior_year_line_21","includes_united_states":false,"kind":"money","label":"What deductible loss did your Form 6198 last year show on line 21?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"}]}},{"binds":"businesses[].at_risk.increases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you added during the year, from your own records. That means cash and the basis of property you put in, loans for it that you owe personally, and the value of your own property outside it that secures a loan for it. Do not count this year's profit. Enter zero if nothing was added.","help_lines":["Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.increases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this business rise this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]}]}},{"binds":"businesses[].at_risk.decreases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you took out during the year, from your own records: cash and the basis of property you withdrew. Do not count this year's loss. Enter zero if nothing was taken out.","help_lines":["Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]},"Also count every loan included in your basis that you are not personally responsible for, such as one only the property secures or one from the seller. Also count money a guarantee protects."],[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"}]},"Do not count last year's deductible loss: you gave it on its own."]],"id":"income_sources.businesses.at_risk.decreases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this business fall this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]}]}},{"binds":"businesses[].at_risk.losses_deducted_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The losses of this business you took on returns for years after 1978, from your own records, in United States dollars. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.losses_deducted_earlier","includes_united_states":false,"kind":"money","label":"How much loss from this business have you deducted on earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.businesses.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.businesses.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.businesses.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"businesses[].at_risk.recapture_added_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What earlier returns added to income because the money at risk fell below zero, from your own records. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.recapture_added_earlier","includes_united_states":false,"kind":"money","label":"How much of your losses came back as income on your earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.businesses.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.businesses.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.businesses.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"businesses[].at_risk.below_zero_at_end_of_1978","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter zero if this business started later, or if it was not below zero then.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the business makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.below_zero_at_end_of_1978","includes_united_states":false,"kind":"money","label":"How far below zero was your money at risk at the end of 1978?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"eq","ref":"income_sources.businesses.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.businesses.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.all_investment_at_risk","value":false},{"op":"truthy","ref":"income_sources.businesses.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.businesses.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.businesses.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"businesses[].amortizable_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count start-up costs only if they were more than you could deduct at once in the year the business began, or if an earlier return is still writing them off over 15 years (Form 4562, Part VI). Count goodwill, a customer list, a non-compete agreement, a franchise or a license bought with the business, in any year, while it is still being written off. Count research or development done outside the United States, software included.","help_lines":["Start-up costs small enough to deduct at once come off in full in the year the business began: if that is this year, add them to your costs and say no here.","Equipment and supplies do not count here, we ask about them later."],"help_when":[],"id":"income_sources.businesses.amortizable_costs","includes_united_states":false,"kind":"yesno","label":"Are you writing off start-up, purchase or research costs over many years?","label_when":[],"off_ramp":{"body":"Start-up and purchase costs above what can be deducted at once, and research done abroad, are written off over many years on a form we do not prepare.","code":"business_amortization","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare costs written off over many years","when":{"op":"truthy","ref":"income_sources.businesses.amortizable_costs"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].co_owned","clears":["income_sources.businesses.co_owner","income_sources.businesses.community_property"],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if the business is yours alone. Say yes if you share its profit with a partner, a relative or your spouse.","help_lines":[],"help_when":[],"id":"income_sources.businesses.co_owned","includes_united_states":false,"kind":"yesno","label":"Does someone else, your spouse included, own part of this business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].run_through_foreign_entity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a company or limited liability company formed under another country's law, such as a GmbH, an SARL or a Ltd, even if you are its only owner. Say no if you trade in your own name, registered or not.","help_lines":[],"help_when":[],"id":"income_sources.businesses.run_through_foreign_entity","includes_united_states":false,"kind":"yesno","label":"Do you run it through a company or LLC set up abroad?","label_when":[],"off_ramp":{"body":"A company or LLC set up abroad is taxed by its own rules and may need its own form with your return (Form 5471, 8865 or 8858), which we do not prepare for a company.","code":"business_foreign_entity","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a business run through a company abroad","when":{"op":"truthy","ref":"income_sources.businesses.run_through_foreign_entity"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].prior_year_limited_loss","clears":["income_sources.businesses.prior_year_limited_loss_rules","income_sources.businesses.at_risk.carried_loss","income_sources.businesses.at_risk.carried_loss_from_sale","income_sources.businesses.passive_carried_loss","income_sources.businesses.passive_carried_loss_before_2018"],"currency_pickable":false,"derived_from_presence":[],"help":"Some losses are held back by the passive activity or at-risk rules and carried to the next year. Last year's Form 8582 or Form 6198 shows it. Say yes too if last year's Form 6198 added earlier losses back to income. Say no if you never had either.","help_lines":[],"help_when":[],"id":"income_sources.businesses.prior_year_limited_loss","includes_united_states":false,"kind":"yesno","label":"Did your return from last year carry forward a limited loss from this business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.started_on","value":1}]}},{"binds":"businesses[].not_for_profit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A hobby is not a business for tax. Its income is reported differently and its costs are not deducted. Say no if you run it to make a profit, even if it lost money.","help_lines":[],"help_when":[],"id":"income_sources.businesses.not_for_profit","includes_united_states":false,"kind":"yesno","label":"Do you run this business mainly as a pastime, not to make a profit?","label_when":[],"off_ramp":{"body":"Income from an activity run mainly as a pastime is reported differently from business income, and we do not prepare that.","code":"business_not_for_profit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a hobby","when":{"op":"truthy","ref":"income_sources.businesses.not_for_profit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].minister_or_exempt","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count work as a minister, as a member of a religious order or as a Christian Science practitioner. Count an approved exemption from self-employment tax on Form 4361 or Form 4029. Say no otherwise.","help_lines":[],"help_when":[],"id":"income_sources.businesses.minister_or_exempt","includes_united_states":false,"kind":"yesno","label":"Are you a minister, or exempt from this tax by Form 4361 or 4029?","label_when":[],"off_ramp":{"body":"Earnings as a minister, and an approved exemption from self-employment tax, follow their own rules, which we do not apply.","code":"business_minister","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the tax of a minister or an exempt filer","when":{"op":"truthy","ref":"income_sources.businesses.minister_or_exempt"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].treated_as_contractor_but_employee","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a company paid you on a Form 1099-NEC but told you when and how to work, as it would an employee. Say no if you really worked for yourself.","help_lines":["If yes, leave that pay out of this business and add the payer on the income page, as pay from a payer who treated you as a contractor."],"help_when":[],"id":"income_sources.businesses.treated_as_contractor_but_employee","includes_united_states":false,"kind":"yesno","label":"Did a payer treat you as a contractor when you were really its employee?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].notary_fees","clears":["income_sources.businesses.notary_fees_whole_profit","income_sources.businesses.notary_net_profit"],"currency_pickable":false,"derived_from_presence":[],"help":"Fees for notarizing documents are not self-employment earnings. Say no if you are not a notary.","help_lines":[],"help_when":[],"id":"income_sources.businesses.notary_fees","includes_united_states":false,"kind":"yesno","label":"Is some of the money you earn here fees as a notary public?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["income_sources.businesses.terminated_on"],"currency_pickable":false,"derived_from_presence":["businesses[].terminated_on"],"help":"Your closing or sale paperwork, or your last invoice, shows when. Answer no if you still run it.","help_lines":[],"help_when":[],"id":"income_sources.businesses.has_closed","includes_united_states":false,"kind":"yesno","label":"Have you closed this business, or sold it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].co_owner","clears":["income_sources.businesses.community_property"],"currency_pickable":false,"derived_from_presence":[],"help":"Pick your spouse only if nobody else owns a share.","help_lines":[],"help_when":[],"id":"income_sources.businesses.co_owner","includes_united_states":false,"kind":"choice","label":"Who else owns part of your business?","label_when":[],"off_ramp":{"body":"A business owned with another person is reported as a partnership on a form we do not prepare.","code":"business_co_owned","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a business owned with someone else","when":{"op":"eq","ref":"income_sources.businesses.co_owner","value":"other"}},"options":[{"label":"My spouse only.","value":"spouse"},{"label":"Someone else, with or without my spouse.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.co_owned"}},{"binds":"businesses[].community_property","clears":["income_sources.businesses.joint_venture_election","income_sources.businesses.owner_share_percent"],"currency_pickable":false,"derived_from_presence":[],"help":"Community property laws apply in some states and countries. They make what either spouse earns belong to both. Choose Not sure if you cannot say.","help_lines":[],"help_when":[],"id":"income_sources.businesses.community_property","includes_united_states":false,"kind":"yesno","label":"Is the business your community property under the law where you live?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.businesses.co_owner","value":"spouse"}},{"binds":"businesses[].joint_venture_election","clears":["income_sources.businesses.owner_share_percent"],"currency_pickable":false,"derived_from_presence":[],"help":"Each of you can report your own share on your own Schedule C when you file jointly, you both work in the business regularly, and it is not held by an LLC or other company. Otherwise it files a partnership return.","help_lines":[],"help_when":[],"id":"income_sources.businesses.joint_venture_election","includes_united_states":false,"kind":"choice","label":"How do you and your spouse report this business?","label_when":[],"off_ramp":{"body":"A business that files a partnership return needs a form we do not prepare (Form 1065).","code":"business_partnership_return","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a partnership return","when":{"op":"eq","ref":"income_sources.businesses.joint_venture_election","value":"partnership"}},"options":[{"label":"Each of us reports our own share.","value":"joint_venture"},{"label":"On a partnership return, Form 1065.","value":"partnership"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.businesses.community_property","value":false}},{"binds":"businesses[].owner_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your agreement with your spouse, or your own records, show your share. Your spouse reports the rest.","help_lines":[],"help_when":[],"id":"income_sources.businesses.owner_share_percent","includes_united_states":false,"kind":"text","label":"What percentage of this business is yours?","label_when":[],"options":[],"placeholder":"50","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.business_situations.joint_venture_refusals","required_when":{"op":"eq","ref":"income_sources.businesses.joint_venture_election","value":"joint_venture"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_share_percent":{"message":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100."}},"validators":["business_share_percent"],"visible_when":{"op":"eq","ref":"income_sources.businesses.joint_venture_election","value":"joint_venture"}},{"binds":"businesses[].notary_fees_whole_profit","clears":["income_sources.businesses.notary_net_profit"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if notarizing documents is the only work you do in this business.","help_lines":[],"help_when":[],"id":"income_sources.businesses.notary_fees_whole_profit","includes_united_states":false,"kind":"yesno","label":"Is all of this business's profit from your notary fees?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.business_situations.notary_net_profits","required_when":{"op":"truthy","ref":"income_sources.businesses.notary_fees"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.notary_fees"}},{"binds":"businesses[].notary_net_profit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Take the notary fees and subtract the costs of your notary work, from your own records. Give the figure in United States dollars. This part is left out of self-employment tax.","help_lines":[],"help_when":[],"id":"income_sources.businesses.notary_net_profit","includes_united_states":false,"kind":"money","label":"How much of this business's profit is from your notary fees?","label_when":[],"options":[],"placeholder":"1500","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.business_situations.notary_net_profits","required_when":{"op":"eq","ref":"income_sources.businesses.notary_fees_whole_profit","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.businesses.notary_fees_whole_profit","value":false}},{"binds":"businesses[].prior_year_limited_loss_rules","clears":["income_sources.businesses.at_risk.carried_loss","income_sources.businesses.at_risk.carried_loss_from_sale","income_sources.businesses.passive_carried_loss","income_sources.businesses.passive_carried_loss_before_2018"],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 6198 shows a loss held back by the at-risk rules, and last year's Form 8582 one held back by the passive activity rules.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you answer this."],"help_when":[],"id":"income_sources.businesses.prior_year_limited_loss_rules","includes_united_states":false,"kind":"choice","label":"Which rules held back your loss carried from last year?","label_when":[],"options":[{"label":"The at-risk rules, on Form 6198.","value":"at_risk"},{"label":"The passive activity rules, on Form 8582.","value":"passive"},{"label":"Both of them.","value":"both"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.prior_year_limited_loss"}},{"binds":"businesses[].passive_carried_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VII, column (c), of last year's Form 8582, on the row for this business. Give it in United States dollars. It can come off this year's figures.","help_lines":[],"help_when":[],"id":"income_sources.businesses.passive_carried_loss","includes_united_states":false,"kind":"money","label":"How much loss of this business did your Form 8582 last year carry forward?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.prior_year_limited_loss"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"passive"},{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"both"}]}]}},{"binds":"businesses[].prior_loss_places.elsewhere","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582 shows it, if that part was filled in. Say no if the whole loss was on that schedule.","help_lines":[],"help_when":[],"id":"income_sources.businesses.prior_loss_places.elsewhere","includes_united_states":false,"kind":"yesno","label":"Was any of your carried loss reported somewhere other than Schedule C last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"gt","ref":"income_sources.businesses.passive_carried_loss","value":0}},{"binds":"businesses[].prior_loss_places.form_4797_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.businesses.prior_loss_places.form_4797_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.businesses.passive_carried_loss","value":0},{"op":"truthy","ref":"income_sources.businesses.prior_loss_places.elsewhere"}]}},{"binds":"businesses[].prior_loss_places.form_4797_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.businesses.prior_loss_places.form_4797_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.businesses.passive_carried_loss","value":0},{"op":"truthy","ref":"income_sources.businesses.prior_loss_places.elsewhere"}]}},{"binds":"businesses[].passive_carried_loss_before_2018","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or your earlier Forms 8582. A loss from before 2018 does not reduce your qualified business income. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.businesses.passive_carried_loss_before_2018","includes_united_states":false,"kind":"money","label":"How much of your carried loss arose before 2018?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.prior_year_limited_loss"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"passive"},{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"both"}]},{"op":"truthy","ref":"income_sources.qualified_business_income_deduction_claimed"}]}},{"binds":"businesses[].at_risk.carried_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use last year's Form 6198 for this activity: the line 5 loss, without the parentheses, less line 21. Add what last year's return added back to income for it because the money at risk fell below zero. Give it in United States dollars. It comes off this year's figures first.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you give it."],"help_when":[],"id":"income_sources.businesses.at_risk.carried_loss","includes_united_states":false,"kind":"money","label":"How much did your Form 6198 last year carry forward for this business?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.prior_year_limited_loss"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"at_risk"},{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"both"}]}]}},{"binds":"businesses[].at_risk.carried_loss_from_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 6198 for this business shows such a loss on line 2a or 2b, a loss on Form 8949, Schedule D or Form 4797.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you answer it."],"help_when":[],"id":"income_sources.businesses.at_risk.carried_loss_from_sale","includes_united_states":false,"kind":"yesno","label":"Did any of that carried loss come from selling property you used in it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.prior_year_limited_loss"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"at_risk"},{"op":"eq","ref":"income_sources.businesses.prior_year_limited_loss_rules","value":"both"}]}]}},{"binds":"businesses[].terminated_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your closing or sale paperwork.","help_lines":[],"help_when":[],"id":"income_sources.businesses.terminated_on","includes_united_states":false,"kind":"date","label":"On which day did you close or sell it?","label_when":[],"options":[],"placeholder":"2025-08-31","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.businesses.has_closed"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_closed"}},{"binds":"businesses[].sold_business","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if you only closed it, or sold a single item such as a computer. Say yes if a buyer took over the business or most of what it owned.","help_lines":[],"help_when":[],"id":"income_sources.businesses.sold_business","includes_united_states":false,"kind":"yesno","label":"Did you sell the business, or all of its assets together, to someone?","label_when":[],"off_ramp":{"body":"When a business is sold, or all of its assets are sold together, the price is split between the assets on a form we do not prepare.","code":"business_sale","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of a whole business","when":{"op":"truthy","ref":"income_sources.businesses.sold_business"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_closed"}},{"clears":["income_sources.businesses.home_office.total_home_area_sqft"],"currency_pickable":false,"derived_from_presence":["businesses[].home_office"],"help":"The room or area has to be used regularly for the business and for nothing else. Count only work for this business: a home office you use as someone's employee cannot be deducted on this return.","help_lines":[],"help_when":[],"id":"income_sources.businesses.has_home_office","includes_united_states":false,"kind":"yesno","label":"Did you work from part of your home used only for this business?","label_when":[],"off_ramp":{"body":"A space you use for a daycare, or to store the inventory or product samples you sell, can count even when you also use it for other things. A daycare is worked out here at the flat rate, from the hours the space was used for it. Storing inventory or samples is not worked out here.","code":"home_office_exclusive_use_exceptions","next_step":"Continue. If the space is a daycare, you can answer yes, because a daycare space does not have to be kept only for the business. That holds only if you have applied for, been granted, or do not need a state license, certification, registration or approval to run the daycare. If you store inventory or samples there, use another preparer for a return like this. Your answers stay saved.","severity":"info","title":"Two uses of a home do not need a space kept only for the business","when":{"op":"eq","ref":"income_sources.businesses.has_home_office","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].home_office.simplified_method_elected","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The flat rate needs only the floor area of the space. The detailed way works out the business share of what running your whole home cost, from your bills for the year, and asks a few more questions.","help_lines":["With the flat rate none of your home's running costs and none of the home's own cost can be deducted for the business."],"help_when":[],"id":"income_sources.businesses.home_office.simplified_method_elected","includes_united_states":false,"kind":"yesno","label":"Are you claiming that space at the simple flat rate?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.total_home_area_sqft","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your floor plan, your lease or your own measurement. We need square feet, not square meters.","help_lines":["We work out the share of your home used for the business from floor area.","1 square meter is about 10.8 square feet, so multiply a figure in square meters by 10.8."],"help_when":[],"id":"income_sources.businesses.home_office.total_home_area_sqft","includes_united_states":false,"kind":"integer","label":"How big is your whole home, in square feet?","label_when":[],"options":[],"placeholder":"1200","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"square_feet":{"message_bounds":"Enter the floor area as a whole number of square feet, from 1 to 999999."}},"validators":["square_feet"],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.business_area_sqft","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Measure the room or area you use for nothing else, or read it off your floor plan. We need square feet, not square meters: 1 square meter is about 10.8 square feet.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.business_area_sqft","includes_united_states":false,"kind":"integer","label":"How big is the part you use only for business, in square feet?","label_when":[],"options":[],"placeholder":"120","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"square_feet":{"message_bounds":"Enter the floor area as a whole number of square feet, from 1 to 999999."}},"validators":["square_feet"],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.daycare","clears":["income_sources.businesses.home_office.total_hours_available","income_sources.businesses.home_office.total_hours_business_used","income_sources.businesses.home_office.daycare_exclusive"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no unless you are paid to look after children or adults in your home. A daycare is worked out from the hours the space was open, so we ask for those next.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.daycare","includes_united_states":false,"kind":"yesno","label":"Do you run a daycare from that space?","label_when":[],"off_ramp":{"body":"A home used for daycare is worked out on Form 8829 from the hours the space was open, which we do not prepare here.","code":"home_office_daycare","next_step":"Choose the flat rate instead, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We do not prepare a home daycare by the detailed way","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.other_fixed_business_location","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example an office, a studio or a shop the business uses. Answer no if you work only from home, or only visit clients at their own premises.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.other_fixed_business_location","includes_united_states":false,"kind":"yesno","label":"Does this business also earn money at a fixed place other than your home?","label_when":[],"off_ramp":{"body":"When the business also earns money somewhere other than your home, only the part earned at home counts toward the limit on the deduction, whichever way you claim the space, and splitting it by the time spent at each place is not something we do here.","code":"home_office_other_location","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a business with a second place of work","when":{"op":"truthy","ref":"income_sources.businesses.home_office.other_fixed_business_location"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","required_when":{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.other_home_used_for_business","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a home you moved out of during the year, or a second home you also work from. Answer no if this is the only home you worked from.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.other_home_used_for_business","includes_united_states":false,"kind":"yesno","label":"During the year, did you also use a different home for this business?","label_when":[],"off_ramp":{"body":"Each home you used for the business during the year is claimed on its own, and we prepare the claim for one home here.","code":"home_office_second_home","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare the home office of one home only","when":{"op":"truthy","ref":"income_sources.businesses.home_office.other_home_used_for_business"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8829.home_office_refusals","required_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":true},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.daycare_exclusive","clears":["income_sources.businesses.home_office.total_hours_available","income_sources.businesses.home_office.total_hours_business_used"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if nothing else happens there, such as family meals or sleeping. Say no if the space is also used for other things, and we ask for the hours next.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.daycare_exclusive","includes_united_states":false,"kind":"yesno","label":"Do you use that space only for the daycare?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"}]}},{"binds":"businesses[].home_office.total_hours_available","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own diary of opening hours.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.total_hours_available","includes_united_states":false,"kind":"integer","label":"How many hours was your space available for the daycare during the year?","label_when":[],"options":[],"placeholder":"8760","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.daycare_hours_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"ne","ref":"income_sources.businesses.home_office.daycare_exclusive","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"hours_available_in_a_year":{"message_bounds":"Enter the hours as a whole number, from 1 to 8784, which is every hour of the longest year."}},"validators":["hours_available_in_a_year"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"ne","ref":"income_sources.businesses.home_office.daycare_exclusive","value":true}]}},{"binds":"businesses[].home_office.total_hours_business_used","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the same diary.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.total_hours_business_used","includes_united_states":false,"kind":"integer","label":"And how many of those hours did you actually use it for the daycare?","label_when":[],"options":[],"placeholder":"2400","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.daycare_hours_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"ne","ref":"income_sources.businesses.home_office.daycare_exclusive","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"hours_in_a_year":{"message_bounds":"Enter the hours as a whole number, from 0 to 8784, which is every hour of the longest year."}},"validators":["hours_in_a_year"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"truthy","ref":"income_sources.businesses.home_office.daycare"},{"op":"ne","ref":"income_sources.businesses.home_office.daycare_exclusive","value":true}]}},{"binds":"businesses[].home_office.home_owned","clears":["income_sources.businesses.home_office.improvements_after_business_use"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you rent it. An owner deducts part of the mortgage interest, the property tax and the home's own cost; a tenant deducts part of the rent.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_owned","includes_united_states":false,"kind":"yesno","label":"Do you own the home?","label_when":[],"off_ramp":{"body":"When the business or its use of your home ends part way through the year, only part of the year's write-off of the home can be taken, and we do not work that part out here.","code":"home_office_business_ended","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a home office that stopped during the year","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},{"op":"truthy","ref":"income_sources.businesses.has_closed"},{"op":"age_lt","ref":"income_sources.businesses.terminated_on","value":1}]}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","required_when":{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},{"binds":"businesses[].home_office.used_for_business_all_year","clears":["income_sources.businesses.home_office.business_use_began_on","income_sources.businesses.home_office.business_use_ended_on"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you started or stopped using it for the business during the year, or if the business itself started or closed during the year. Only the part of the year you used it counts.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]},"Answer no if you started or stopped using it for the business during the year, or if the business itself started or closed during the year. The days are asked later, with your home's details."]],"id":"income_sources.businesses.home_office.used_for_business_all_year","includes_united_states":false,"kind":"yesno","label":"Did you use the space for this business on every day of the year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8829.home_office_refusals","required_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":true},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.has_home_office"}},{"binds":"businesses[].home_office.business_use_began_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records, such as your lease or your first invoice. Leave it blank if you were already using it on the first day of the year.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.business_use_began_on","includes_united_states":false,"kind":"date","label":"On which day did you start using the space for this business?","label_when":[],"options":[],"placeholder":"2025-07-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_tax_year","not_after_tax_year"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.used_for_business_all_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":true},{"op":"eq","ref":"income_sources.businesses.home_office.home_owned","value":false}]}]}},{"binds":"businesses[].home_office.business_use_ended_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records. Leave it blank if you were still using it on the last day of the year.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.business_use_ended_on","includes_united_states":false,"kind":"date","label":"On which day did you stop using the space for this business?","label_when":[],"options":[],"placeholder":"2025-10-31","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_tax_year","not_after_tax_year"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.used_for_business_all_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":true},{"op":"eq","ref":"income_sources.businesses.home_office.home_owned","value":false}]}]}},{"binds":"businesses[].home_office.filed_form_8829_before","clears":["income_sources.businesses.home_office.carryover_operating_expenses","income_sources.businesses.home_office.carryover_excess_casualty_depreciation"],"currency_pickable":false,"derived_from_presence":[],"help":"Look for a Form 8829 with any earlier year's return. Costs a limit stopped you deducting then can carry forward to this year, even if you used the flat rate in between.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.filed_form_8829_before","includes_united_states":false,"kind":"yesno","label":"Have you claimed this home office the detailed way before, on a Form 8829?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","required_when":{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},{"binds":"businesses[].home_office.carryover_operating_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 43 of your last Form 8829. If you used the flat rate last year, it is line 6a of last year's Simplified Method Worksheet instead. Enter zero if there is none. The form gives it in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.carryover_operating_expenses","includes_united_states":false,"kind":"money","label":"How much in running costs did your last Form 8829 carry forward?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"}]}},{"binds":"businesses[].home_office.carryover_excess_casualty_depreciation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 44 of your last Form 8829. If you used the flat rate last year, it is line 6b of last year's Simplified Method Worksheet instead. Enter zero if there is none. The form gives it in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.carryover_excess_casualty_depreciation","includes_united_states":false,"kind":"money","label":"What damage losses and home write-off did your last Form 8829 carry forward?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_method","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"}]}},{"clears":["income_sources.businesses.home_office.casualty_losses"],"currency_pickable":false,"derived_from_presence":["businesses[].home_office.casualty_losses"],"help":"Answer yes only for a loss your insurance did not fully pay for. Ordinary wear and repairs belong in the list of what running your home cost.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.has_casualty_loss","includes_united_states":false,"kind":"yesno","label":"Was your home damaged or robbed by fire, storm, theft or another sudden event?","label_when":[],"off_ramp":{"body":"A loss from damage or theft goes through a separate IRS worksheet before it reaches the home office form, and we do not prepare that worksheet here.","code":"home_office_casualty_loss","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare damage to your home","when":{"op":"truthy","ref":"income_sources.businesses.home_office.has_casualty_loss"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},{"binds":"businesses[].home_office.casualty_losses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your repair bills, or what was stolen, less what your insurer paid, from the insurer's letter. Give it in United States dollars. For an amount in another currency, use the exchange rate on the day it was paid or received.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.casualty_losses","includes_united_states":false,"kind":"money","label":"How much of that loss did your insurance not pay for?","label_when":[],"options":[],"placeholder":"2000","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.has_casualty_loss"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.has_casualty_loss"}]}},{"binds":"businesses[].home_office.expenses_cover_period_of_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You used the space for this business for only part of the year, so only the bills paid for that part count, from your own records. Answer yes once your list of home office bills holds only those.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.expenses_cover_period_of_use","includes_united_states":false,"kind":"yesno","label":"Do your home office bills cover only the months you used it?","label_when":[],"off_ramp":{"body":"You used the space for the business for only part of the year, so only the bills paid for that part can be counted, and we do not split a whole year's bills here.","code":"home_office_part_year_bills","next_step":"Update your list of home office bills so it holds only the bills for the part of the year you used the space, and answer yes, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"Bills for the whole year need sorting first","when":{"op":"eq","ref":"income_sources.businesses.home_office.expenses_cover_period_of_use","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.used_for_business_all_year","value":false},{"op":"age_lt","ref":"income_sources.businesses.started_on","value":1},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_closed"},{"op":"age_lt","ref":"income_sources.businesses.terminated_on","value":1}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":1}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},{"op":"truthy","ref":"income_sources.businesses.home_office.home_asset.disposed_on"}]}]}]}},{"add_label":"Add a home cost","binds":"businesses[].home_office.expenses[]","help":"Add one row per kind of bill, from your own records. Leave out costs that have nothing to do with the home, such as supplies: those go with the business's other expenses.","id":"income_sources.businesses.home_office.expenses","kind":"repeat","label":"What did running your home cost you during the year?","min_rows":0,"nodes":[{"binds":"businesses[].home_office.expenses[].category","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each kind of bill goes on its own line of the form. Pick the closest one, or Something else if none of them fits.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.expenses.category","includes_united_states":false,"kind":"choice","label":"Which kind of bill did you pay?","label_when":[],"off_ramp":{"body":"You also claim your housing costs abroad, and the same rent, utilities, insurance or repairs cannot be counted twice, and keeping the business share out of the housing figure is not something we do here.","code":"home_office_housing_claimed_twice","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not split housing costs claimed twice","when":{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.home_office.expenses.category","values":["rent","utilities","insurance","repairs_maintenance"]},{"op":"gt","ref":"income_sources.businesses.home_office.expenses.amount","value":0},{"op":"or","rules":[{"op":"gt","ref":"foreign_tax.housing_facts.qualified_housing_expenses","value":0},{"op":"gt","ref":"foreign_tax.spouse_housing_facts.qualified_housing_expenses","value":0}]}]}},"options":[{"help":"Only interest on a loan you used to buy, build or improve this home counts here. Interest on a loan you spent on something else, such as paying off cards or buying a car, does not, even when the home secures it.","label":"Mortgage interest on a loan to buy, build or improve the home you own.","value":"mortgage_interest"},{"label":"Property tax on a home you own.","value":"real_estate_taxes"},{"label":"Home insurance.","value":"insurance"},{"label":"Rent for a home you rent.","value":"rent"},{"label":"Repairs and upkeep.","value":"repairs_maintenance"},{"label":"Electricity, heating, water and other utilities.","value":"utilities"},{"label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].home_office.expenses[].label","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from the bill, such as security monitoring or cleaning the whole home.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.expenses.label"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.expenses.category"}]}]},"You gave us this cost in your own words before we asked which kind of bill it was. Choose the kind of bill, and these words go away."]],"id":"income_sources.businesses.home_office.expenses.label","includes_united_states":false,"kind":"text","label":"What did you pay for?","label_when":[],"options":[],"placeholder":"Security monitoring","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeExpense._check_row","required_when":{"op":"eq","ref":"income_sources.businesses.home_office.expenses.category","value":"other"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.expenses.category","value":"other"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.expenses.label"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.expenses.category"}]}]}]}},{"binds":"businesses[].home_office.expenses[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The total of your bills for the year, in full, from your own records: the business share is worked out for you.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.used_for_business_all_year","value":false},{"op":"age_lt","ref":"income_sources.businesses.started_on","value":1},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_closed"},{"op":"age_lt","ref":"income_sources.businesses.terminated_on","value":1}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":1}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},{"op":"truthy","ref":"income_sources.businesses.home_office.home_asset.disposed_on"}]}]},"You used the space for the business for only part of the year, so give the bills for that part only, in full, from your own records: the business share is worked out for you."]],"id":"income_sources.businesses.home_office.expenses.amount","includes_united_states":false,"kind":"money","label":"How much did you pay for it during the year?","label_when":[],"options":[],"placeholder":"2400","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].home_office.expenses[].direct","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for something like painting or repairing that room alone, which comes off in full. Answer no for a bill for the whole home, which is shared out by floor area.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.expenses.direct","includes_united_states":false,"kind":"yesno","label":"Did it benefit only the space you use for the business?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in because mortgage interest, property tax and rent are always for the whole home.","value":false,"when":{"op":"in","ref":"income_sources.businesses.home_office.expenses.category","values":["mortgage_interest","real_estate_taxes","rent"]}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"off_ramp":{"body":"You gave us these costs in your own words before we asked which kind of bill each one was. Each kind goes on its own line of the form, so nothing is worked out from them until it is chosen.","code":"home_office_costs_need_sorting","next_step":"Choose the kind of each cost in the list, and say whether it was for the business space alone.","severity":"review","title":"Some of your home costs need sorting","when":{"op":"any_row","ref":"income_sources.businesses.home_office.expenses","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.expenses.label"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.businesses.home_office.expenses.category"}]}]}]}},"row_label":"Home cost","visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]}},{"binds":"businesses[].home_office.improvements_after_business_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a new roof, an extension, new wiring or a remodeled kitchen, from your builder's invoices. Repairs that only keep the home in good order do not count.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.improvements_after_business_use","includes_united_states":false,"kind":"yesno","label":"Have you added to or improved your home since its business use began?","label_when":[],"off_ramp":{"body":"An addition or an improvement made after you began using the space is written off on its own, with a separate statement we do not prepare here.","code":"home_office_improvements","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare improvements made since you started","when":{"op":"truthy","ref":"income_sources.businesses.home_office.improvements_after_business_use"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.business.HomeOfficeFacts._check_owned","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on your deeds or your purchase contract.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.description","includes_united_states":false,"kind":"text","label":"What is the address of your home?","label_when":[],"options":[],"placeholder":"12 Rua Augusta Lisbon","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.placed_in_service_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day the space was set up and first used only for the business, from your own records. The month decides how much of the home is written off in the first year.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.placed_in_service_on","includes_united_states":false,"kind":"date","label":"On which day did you first use part of your home for this business?","label_when":[],"options":[],"placeholder":"2025-03-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."}},"validators":["not_after_tax_year"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.cost_or_other_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The price on your purchase contract, plus what you paid to buy it, such as legal fees, recording fees and transfer taxes, plus what you spent improving it before you began using it for the business. Include the land under it: the next question takes the land back out. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.cost_or_other_basis","includes_united_states":false,"kind":"money","label":"What did your home cost you, in United States dollars?","label_when":[],"options":[],"placeholder":"400000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.land_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Land is never written off, so the cost has to be split between the land and the building.","help_lines":["Your purchase contract or your property tax assessment may show the split; if neither does, divide the cost in proportion to what the land and the building were each worth.","Enter zero only if the cost includes no land, as with some apartments.","Give the figure in United States dollars."],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.land_value","includes_united_states":false,"kind":"money","label":"How much of what you paid was for the land your home stands on?","label_when":[],"options":[],"placeholder":"100000","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_land_value","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"land_below_cost":{"message_algorithm":"Check the land share: it has to be less than the whole cost of the building and its land, because the building itself is what gets written off."}},"validators":["land_below_cost"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.fair_market_value_at_conversion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A valuation from the time, or the price similar homes sold for then. The home is written off from the lower of what it cost and this value. Leave out the land, which is never written off, and give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.fair_market_value_at_conversion","includes_united_states":false,"kind":"money","label":"What was your home worth, without land, when its business use began?","label_when":[],"options":[],"placeholder":"320000","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.used_predominantly_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A home outside the United States is written off over a longer period, under a different set of IRS tables.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.used_predominantly_outside_us","includes_united_states":false,"kind":"yesno","label":"Is your home outside the United States?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":false,"note":"Filled in because your main place of work is outside the United States. Change it if your home is not.","value":true,"when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"},{"op":"ne","ref":"where_you_lived.residency.tax_home.country","value":"US"}]}},{"confirm":false,"exact":false,"note":"Filled in because your main place of work is in the United States. Change it if your home is not.","value":false,"when":{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"US"}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.prior_depreciation_allowed_or_allowable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add up line 42 of the Form 8829 for each earlier year you used the space. Count a year you could have claimed it and did not, because what is left to write off is reduced either way. A year you used the flat rate counts as zero. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.prior_depreciation_allowed_or_allowable","includes_united_states":false,"kind":"money","label":"What home write-off could you have taken for this business in earlier years?","label_when":[],"options":[],"placeholder":"2000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":1}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"prior_within_cost":{"message_algorithm":"Check the figure for earlier years: it cannot be more than what the item cost without its land."}},"validators":["prior_within_cost"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":1}]}]}]}},{"binds":"businesses[].home_office.home_asset.disposed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records, or the date on your sale contract. Leave it blank if you were still using the space for the business at the end of the year.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.disposed_on","includes_united_states":false,"kind":"date","label":"When did you stop using your home for this business, or sell it?","label_when":[],"off_ramp":{"body":"When the business or its use of your home ends part way through the year, only part of the year's write-off of the home can be taken, and we do not work that part out here.","code":"home_office_business_ended","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a home office that stopped during the year","when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_asset.disposed_on"}},"options":[],"placeholder":"2025-08-15","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_first_use":{"message_algorithm":"Check this date: it cannot fall before the day you started using it."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_first_use","not_before_tax_year","not_after_tax_year"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]}},{"binds":"businesses[].home_office.home_asset.disposal_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The price on your sale contract or closing statement. Count any loan the buyer took over, or bought the home subject to, as part of the price. Enter zero if you stopped using the space for the business without selling the home. Give the figure in United States dollars. If you were paid in another currency, convert it at the exchange rate on the day of the sale.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.home_asset.disposal_proceeds","includes_united_states":false,"kind":"money","label":"How much did you receive for the home?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"truthy","ref":"income_sources.businesses.home_office.home_asset.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_asset.disposed_on"}]}},{"binds":"businesses[].home_office.amt_carryover_operating_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 43 of your last Form 8829 worked out again for the alternative minimum tax, which your records of that tax keep. Enter zero if none was carried forward for that tax.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.amt_carryover_operating_expenses","includes_united_states":false,"kind":"money","label":"What running costs did you carry in for alternative minimum tax (a second tax)?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"},{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":true},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"land_improvement"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":16},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.section_1250_property","value":false}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.early_first_year_allowance","value":"eligible"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.used_before_acquired"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative"}]}]}]}]}]}]}},{"binds":"businesses[].home_office.amt_carryover_excess_casualty_depreciation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 44 of your last Form 8829 worked out again for the alternative minimum tax, which your records of that tax keep. Enter zero if none was carried forward for that tax.","help_lines":[],"help_when":[],"id":"income_sources.businesses.home_office.amt_carryover_excess_casualty_depreciation","includes_united_states":false,"kind":"money","label":"What write-off did you carry in for alternative minimum tax (a second tax)?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.filed_form_8829_before"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]},{"op":"ne","ref":"income_sources.businesses.home_office.home_asset.used_predominantly_outside_us","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"gt","ref":"income_sources.businesses.home_office.carryover_excess_casualty_depreciation","value":0}]},{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":true},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"land_improvement"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":16},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.section_1250_property","value":false}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.early_first_year_allowance","value":"eligible"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.used_before_acquired"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative"}]}]}]}]}]}]}]}},{"clears":["income_sources.businesses.depreciable_assets"],"currency_pickable":false,"derived_from_presence":["businesses[].depreciable_assets[]"],"help":"A computer, a car, tools or machinery, from your purchase invoices. Supplies you use up during the year do not count.","help_lines":[],"help_when":[],"id":"income_sources.businesses.has_depreciable_assets","includes_united_states":false,"kind":"yesno","label":"Did you buy or own anything for this business that lasts over a year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add an item","binds":"businesses[].depreciable_assets[]","help":"Add one row per item, such as a computer, a car or machinery.","id":"income_sources.businesses.depreciable_assets","kind":"repeat","label":"What did you buy or own that lasts more than a year?","min_rows":1,"nodes":[{"binds":"businesses[].depreciable_assets[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from your purchase contract, your deeds or the invoice, such as the address of the building or what the item is.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.description","includes_united_states":false,"kind":"text","label":"How would you describe it?","label_when":[],"options":[],"placeholder":"Laptop","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"]},{"binds":"businesses[].depreciable_assets[].asset_class","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What kind of thing it is decides over how many years its cost is written off. Land on its own is never written off, so do not add a row for it.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.asset_class","includes_united_states":false,"kind":"choice","label":"Which of these best describes what you bought or own?","label_when":[],"off_ramp":{"body":"Writing off a vehicle is capped by yearly limits and needs your mileage for the year, which we do not work out here.","code":"asset_vehicle","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a vehicle's write-off","when":{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"vehicle"}},"options":[{"help":"Include the land it stands on in the cost; the land is split out next.","label":"A building nobody lives in, such as an office, a shop or a warehouse.","value":"nonresidential_building"},{"help":"Include the land it stands on in the cost; the land is split out next.","label":"A house or an apartment that people rent to live in.","value":"residential_rental_building"},{"label":"Work done to the land itself, such as a fence, a path, a driveway or planting.","value":"land_improvement"},{"label":"A computer, or equipment that goes with one, such as a printer.","value":"computer"},{"label":"Office machinery, such as a copier or a calculator.","value":"office_equipment"},{"label":"Office furniture or fittings, such as desks, filing cabinets or a safe.","value":"furniture_fixtures"},{"label":"A car, van, truck, motorcycle, boat or aircraft.","value":"vehicle"},{"help":"Choose this only when the IRS guide to depreciation puts it in the five-year group.","label":"Something else the IRS writes off over five years.","value":"other_5_year"},{"help":"The IRS puts anything it gives no other group in this one, so choose it when nothing above fits.","label":"Something else, written off over seven years.","value":"other_7_year"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].depreciable_assets[].placed_in_service_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the day it was ready and available, even if nothing happened on it yet: the day the item was delivered and set up. Your purchase contract, your invoice or your own records show it. For something you used privately first, give the day you started using it in your business.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.placed_in_service_on","includes_united_states":false,"kind":"date","label":"On which day was it first ready for you to use in your business?","label_when":[],"off_ramp":{"body":"Property first used before 1987 is written off under older rules that we do not prepare here.","code":"asset_before_1987","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare property first used before 1987","when":{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":40}]}]}]}]}},"options":[],"placeholder":"2025-03-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."}},"validators":["not_after_tax_year"]},{"binds":"businesses[].depreciable_assets[].cost_or_other_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The price on your purchase contract or invoice, plus your costs of buying it. Those are costs such as legal fees, recording fees, transfer taxes and delivery. For a building, include the land under it: the next question takes the land back out. Give the figure in United States dollars. If you paid in another currency, convert it at the exchange rate on the day you paid. If your currency has more than one official rate, give the figure in US dollars at the rate you actually used.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use"},"You used it privately first, so give what it cost you plus what you spent improving it before you started using it for the business."]],"id":"income_sources.businesses.depreciable_assets.cost_or_other_basis","includes_united_states":false,"kind":"money","label":"What did it cost you, in United States dollars?","label_when":[],"options":[],"placeholder":"2400","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].depreciable_assets[].land_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Land is never written off, so the cost has to be split between the land and the building.","help_lines":["Your purchase contract or your property tax assessment may show the split; if neither does, divide the cost in proportion to what the land and the building were each worth.","A building always stands on land, so enter zero only if the cost includes none, as with some apartments in a larger building.","Give the figure in United States dollars."],"help_when":[],"id":"income_sources.businesses.depreciable_assets.land_value","includes_united_states":false,"kind":"money","label":"How much of what you paid was for the land the building stands on?","label_when":[],"options":[],"placeholder":"50000","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_land_value","required_when":{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"land_below_cost":{"message_algorithm":"Check the land share: it has to be less than the whole cost of the building and its land, because the building itself is what gets written off."}},"validators":["land_below_cost"],"visible_when":{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}},{"binds":"businesses[].depreciable_assets[].interior_improvement_of_building_in_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, new partitions, lighting or a fit-out inside an office or shop that was already open. Enlarging the building, a lift or escalator, or work on its frame does not count.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.interior_improvement_of_building_in_use","includes_united_states":false,"kind":"yesno","label":"Is it your improvement to the inside of a building already in use?","label_when":[],"off_ramp":{"body":"An improvement to the inside of a building already in use can be written off over a much shorter period than the building, which we do not work out here.","code":"asset_interior_improvement","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare an improvement inside a building in use","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.interior_improvement_of_building_in_use"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"nonresidential_building"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]}]}]}},{"binds":"businesses[].depreciable_assets[].converted_from_personal_use","clears":["income_sources.businesses.depreciable_assets.fair_market_value_at_conversion"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a home you lived in before you let it, or a car or a computer you owned before the business used it. Its value on the day you switched is asked next, because the lower of that value and its cost is what gets written off.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.converted_from_personal_use","includes_united_states":false,"kind":"yesno","label":"Did you use it privately before you started using it in your business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].depreciable_assets[].fair_market_value_at_conversion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A valuation or an appraisal from the time, or the price similar property sold for then. Leave out the land, because land is never written off. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.fair_market_value_at_conversion","includes_united_states":false,"kind":"money","label":"What was it worth, without any land, on the day you switched?","label_when":[],"options":[],"placeholder":"900","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use"}},{"binds":"businesses[].depreciable_assets[].used_predominantly_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count where it is used for most of the year, from your own records. Something used mainly abroad is written off over a longer period, under a different set of IRS tables, and none of its cost can be deducted in full in its first year.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","includes_united_states":false,"kind":"yesno","label":"Do you use it mainly outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"businesses[].depreciable_assets[].business_use_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own mileage log, diary or usage records. Leave it blank if you use it only for the business, which counts as 100.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.business_use_percent","includes_united_states":false,"kind":"text","label":"What percentage of the time do you use it for this business?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_use_percent":{"message":"Enter a percentage between 0 and 100, for example 80. It has to be more than 0."}},"validators":["business_use_percent"]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this as a figure between 0 and 1, which is how we asked before. It is kept here so you can check it against the percentage you gave, and it is not filed.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.business_use_share","includes_united_states":false,"kind":"text","label":"What share of its use is for business, as you told us before?","label_when":[],"off_ramp":{"body":"You told us the share of the time you use this item for the business as a figure between 0 and 1. We now ask for a percentage out of 100, so we multiplied your figure by 100 and put the result in the percentage question.","code":"business_use_share_converted","next_step":"Check that the percentage is right, and change it if it is not.","severity":"review","title":"Check the percentage we filled in from your earlier answer","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.business_use_share"}},"options":[],"placeholder":"0.8","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.business_use_share"}},{"binds":"businesses[].depreciable_assets[].listed_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Items like these are easily used privately, so the IRS asks for more about them. Answer no if you use it only for your business, or only at your place of business.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.listed_property","includes_united_states":false,"kind":"yesno","label":"Could you use it for entertainment, like a camera or sound or video equipment?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["office_equipment","other_5_year","other_7_year"]}},{"binds":"businesses[].depreciable_assets[].acquired_by_gift_inheritance_or_from_relative","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A close relative here is your spouse, a parent or grandparent, or a child or grandchild. Count a company you own more than half of, or a trust you set up or benefit from, as well. Your purchase invoice or the papers that passed it to you show who it came from.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative","includes_united_states":false,"kind":"yesno","label":"Did you get it as a gift or inheritance, or from a close relative?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building","land_improvement"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use","value":true},{"op":"not","rules":[{"op":"lt","ref":"income_sources.businesses.depreciable_assets.business_use_percent","value":50}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.business_use_percent","value":50}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_elected"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","values":["took","neither"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.bonus_elected","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","value":"elected_out"}]}]}]}]}},{"binds":"businesses[].depreciable_assets[].section_179_elected","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You can deduct some or all of the business share of the cost of an item you started using this year all at once.","help_lines":["The total you deduct this way is limited by what the business earns, and anything over that carries to next year.","Enter zero to spread the whole cost over its life.","Take the cost from your purchase invoice, and give the figure in United States dollars."],"help_when":[[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},"You started using it before this year, so give what the return for its first year deducted in full, from line 12 of that year's Form 4562 or your depreciation schedule, or zero."]],"id":"income_sources.businesses.depreciable_assets.section_179_elected","includes_united_states":false,"kind":"money","label":"How much of its cost do you deduct in full in its first year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"expensed_within_cost":{"message_algorithm":"Reduce the amount you are deducting in full this year to no more than the business share of what the item cost."}},"validators":["expensed_within_cost"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building","land_improvement"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use","value":true},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative","value":true},{"op":"not","rules":[{"op":"lt","ref":"income_sources.businesses.depreciable_assets.business_use_percent","value":50}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.business_use_percent","value":50}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building","land_improvement"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":40}]}]}]}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use","value":true},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative","value":true}]}]}},{"binds":"businesses[].depreciable_assets[].bonus_elected","clears":["income_sources.businesses.depreciable_assets.acquired_on"],"currency_pickable":false,"derived_from_presence":[],"help":"An item you started using this year can have a large part of its cost deducted in its first year, with the rest spread over its life.","help_lines":["Answering no is a choice not to take the allowance, and the IRS applies that choice to everything of the same kind you started using this year."],"help_when":[],"id":"income_sources.businesses.depreciable_assets.bonus_elected","includes_united_states":false,"kind":"yesno","label":"Are you taking the extra first-year allowance on it?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}},{"binds":"businesses[].depreciable_assets[].early_first_year_allowance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The special depreciation allowance let new items bought in some years have part of their cost written off in their first year. That year's Form 4562 or your depreciation schedule shows whether it applied. It decides whether the item's depreciation is worked out again for the alternative minimum tax.","help_lines":["Choose I am not sure if you cannot check: the return can then be filed only where the answer cannot change the alternative minimum tax."],"help_when":[],"id":"income_sources.businesses.depreciable_assets.early_first_year_allowance","includes_united_states":false,"kind":"choice","label":"In its first year, could you take the extra first-year allowance on it?","label_when":[],"options":[{"label":"Yes, it could, and I did not turn it down.","value":"eligible"},{"label":"It could, but I turned it down with a statement on that year's return.","value":"elected_out"},{"label":"No, it could not, for example because I used it before buying it.","value":"not_eligible"},{"label":"I am not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"not","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"land_improvement"}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"lt","ref":"context.tax_year","value":2025}]}},{"binds":"businesses[].depreciable_assets[].section_1250_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your depreciation schedule, or whoever set it up, can tell you. Section 1250 property is real property that can be depreciated, other than section 1245 property, so being fixed to the land does not settle it: go by your schedule. Choose Not sure if you cannot check; the return cannot be filed until it is answered.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.section_1250_property","includes_united_states":false,"kind":"yesno","label":"Do your depreciation records list this land improvement as section 1250 property?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"land_improvement"},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":16}]}},{"binds":"businesses[].depreciable_assets[].prior_special_allowance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most items first used after September 27, 2017 could have a large part of their cost written off in their first year. Unless you turned that down with a statement on that year's return, what is left to write off now is reduced as if you took it.","help_lines":["Line 14 of that year's Form 4562, or your depreciation schedule, shows the allowance you took.","Choose I am not sure if you cannot check it: this year's figure depends on it, so we cannot prepare your return until it is answered."],"help_when":[],"id":"income_sources.businesses.depreciable_assets.prior_special_allowance","includes_united_states":false,"kind":"choice","label":"In its first year, did you take the extra first-year allowance on it?","label_when":[],"off_ramp":{"body":"What is left to write off this year depends on whether the item took the extra first-year allowance in its first year, so we cannot work it out without that.","code":"asset_prior_allowance_not_sure","next_step":"Check that year's Form 4562 or your depreciation schedule and answer, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We need to know about the first-year allowance","when":{"op":"eq","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","value":"not_sure"}},"options":[{"label":"Yes, I took it.","value":"took"},{"label":"No, I turned it down with a statement on that year's return.","value":"elected_out"},{"label":"No, I did not take it, and I did not turn it down either.","value":"neither"},{"label":"I am not sure.","value":"not_sure"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]}},{"binds":"businesses[].depreciable_assets[].used_before_acquired","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, you leased or borrowed it first and then bought it. Something you bought second-hand from someone else is a no.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.used_before_acquired","includes_united_states":false,"kind":"yesno","label":"Had you used it yourself before you bought it?","label_when":[],"off_ramp":{"body":"Whether the extra first-year allowance applies to something you used before you bought it depends on rules we do not work out here.","code":"asset_used_before_bought","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the allowance on something you used before buying","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.used_before_acquired"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_elected"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","values":["took","neither"]}]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_elected"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","values":["took","neither"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.bonus_elected","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","value":"elected_out"}]}]}]}},{"binds":"businesses[].depreciable_assets[].acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your purchase contract or invoice, which can be earlier than the day you started using it. How much of the cost the first-year allowance covers depends on it.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"You sold it during the year, and the sale is reported with the day you bought it or otherwise acquired it, from your purchase contract or deeds."]],"id":"income_sources.businesses.depreciable_assets.acquired_on","includes_united_states":false,"kind":"date","label":"On which day did you buy it?","label_when":[],"options":[],"placeholder":"2025-02-15","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_elected"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","values":["took","neither"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_first_use":{"message_algorithm":"Check this date: you cannot have bought it after the day you started using it."}},"validators":["not_after_first_use"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_elected"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"eq","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.businesses.depreciable_assets.prior_special_allowance","values":["took","neither"]}]}]}},{"binds":"businesses[].depreciable_assets[].prior_depreciation_never_claimed","clears":["income_sources.businesses.depreciable_assets.prior_depreciation_allowed_or_allowable"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you started using it before this year but no earlier return claimed any of its cost, and we work out what you could have written off in those years. Answer no if an earlier return claimed some of it, and give the figure next.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.prior_depreciation_never_claimed","includes_united_states":false,"kind":"yesno","label":"Is this the first return on which you are claiming a write-off for it?","label_when":[],"off_ramp":{"body":"Even when nothing was claimed, what is left to write off is reduced by what you could have claimed in the earlier years. We work that out from the IRS tables for the kind of item and the day you started using it.","code":"prior_depreciation_from_schedule","next_step":"Continue.","severity":"info","title":"We work out what you could have written off before","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.prior_depreciation_never_claimed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]}},{"binds":"businesses[].depreciable_assets[].prior_depreciation_allowed_or_allowable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every earlier year you could have claimed it, even a year you did not: what is left to write off is reduced by what you were entitled to take.","help_lines":["Last year's depreciation schedule shows the running total; without one, add up this item's line on each earlier year's Form 4562, including any amount deducted in full or any first-year allowance.","Give the figure in United States dollars."],"help_when":[],"id":"income_sources.businesses.depreciable_assets.prior_depreciation_allowed_or_allowable","includes_united_states":false,"kind":"money","label":"How much of its cost could you have written off before this year?","label_when":[],"options":[],"placeholder":"800","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.prior_depreciation_never_claimed","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"prior_within_cost":{"message_algorithm":"Check the figure for earlier years: it cannot be more than what the item cost without its land."}},"validators":["prior_within_cost"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.prior_depreciation_never_claimed","value":true}]}},{"binds":"businesses[].depreciable_assets[].disposed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your sale contract or closing statement, or from your own records. Leave it blank if it was still in use at the end of the year. A building you sold, or started living in yourself, counts.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposed_on","includes_united_states":false,"kind":"date","label":"On which day did you sell it, or stop using it in your business?","label_when":[],"off_ramp":{"body":"The part of a sale that was for your own use is reported differently from the business part, and a loss on it cannot be deducted, which we do not work out here.","code":"asset_sale_with_private_use","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of an item you also used privately","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.converted_from_personal_use"},{"op":"lt","ref":"income_sources.businesses.depreciable_assets.business_use_percent","value":100}]}]}},"options":[],"placeholder":"2025-08-15","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_first_use":{"message_algorithm":"Check this date: it cannot fall before the day you started using it."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_first_use","not_before_tax_year","not_after_tax_year"]},{"binds":"businesses[].depreciable_assets[].disposal_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The price on your sale contract or closing statement. Count any loan the buyer took over, or bought the property subject to, as part of the price. Enter zero if you stopped using it without selling it. Give the figure in United States dollars. If you were paid in another currency, convert it at the exchange rate on the day of the sale.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposal_proceeds","includes_united_states":false,"kind":"money","label":"How much did you receive for it?","label_when":[],"options":[],"placeholder":"150","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposal_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The selling costs on your closing statement or invoices. Those are costs such as the agent's commission, the legal fees and the transfer taxes you paid. Enter zero if there were none. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposal_expenses","includes_united_states":false,"kind":"money","label":"What did the sale cost you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposal_land_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The building and the land under it are reported as two sales, so the price is split between them by what each was worth when you sold. Your closing statement or an appraisal may show it; otherwise the land's share of the property tax assessment is one way to judge it. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposal_land_proceeds","includes_united_states":false,"kind":"money","label":"How much of the price you received was for the land?","label_when":[],"options":[],"placeholder":"40000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"gt","ref":"income_sources.businesses.depreciable_assets.land_value","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"gt","ref":"income_sources.businesses.depreciable_assets.land_value","value":0}]}},{"binds":"businesses[].depreciable_assets[].form_1099s_gross_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of the Form 1099-S the closing agent sent you for this sale. Enter zero if no Form 1099-S came, which is usual for a sale outside the United States.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.form_1099s_gross_proceeds","includes_united_states":false,"kind":"money","label":"What gross proceeds did the Form 1099-S you received for the sale show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}},{"binds":"businesses[].depreciable_assets[].disposal_to_related_party","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Related includes your spouse, a parent, grandparent or other ancestor, a child, grandchild or other descendant, and a brother or sister, half brothers and sisters included; a company in which you, directly or through those family members, own more than 10% of the value of the stock; a partnership in which you own more than 10% of the capital or profits; a trust you set up or benefit from; a tax-exempt charity or educational organization that you or your family control; and, generally, an estate you are a beneficiary of.","help_lines":["Publication 925 lists every case.","Your sale contract names the buyer."],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposal_to_related_party","includes_united_states":false,"kind":"yesno","label":"Was the buyer related to you?","label_when":[],"off_ramp":{"body":"A sale to a relative, or to a company, partnership or trust tied to you that way, is taxed under rules we do not work out here.","code":"asset_sale_related_buyer","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale to someone related to you","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposal_to_related_party"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposal_fully_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you are being paid in installments over more than one year, or if part of the gain is put off, for example by exchanging it for another item. Your sale contract shows how you are paid.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposal_fully_taxable","includes_united_states":false,"kind":"yesno","label":"Are you taxed this year on all the gain or loss on the sale?","label_when":[],"off_ramp":{"body":"A sale paid in installments, or one whose gain is put off, is reported on a form we do not prepare here.","code":"asset_sale_over_years","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale paid over more than one year","when":{"op":"eq","ref":"income_sources.businesses.depreciable_assets.disposal_fully_taxable","value":false}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].disposed_part_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, two desks from a set you entered as one item. Answer no if all of it went.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.disposed_part_only","includes_united_states":false,"kind":"yesno","label":"Did you sell or give up only part of it?","label_when":[],"off_ramp":{"body":"When only part of an item goes, the gain or loss is worked out on that part's own share of the cost, which we do not work out here.","code":"asset_partly_sold","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of part of an item","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_part_only"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"binds":"businesses[].depreciable_assets[].acquired_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An inherited item's sale counts as held for more than a year however long you had it. Your purchase contract, the estate papers or the gift papers show it.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.acquired_by","includes_united_states":false,"kind":"choice","label":"How did you come to own it?","label_when":[],"options":[{"label":"I bought it.","value":"purchase"},{"label":"I inherited it.","value":"inheritance"},{"label":"It was a gift, or my spouse passed it to me.","value":"gift_or_spouse"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this answer before we started working it out for you. It is kept here for your records and is not filed.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.method","includes_united_states":false,"kind":"choice","label":"Which way did you tell us before that you were writing it off?","label_when":[],"off_ramp":{"body":"Before, we asked you which way this item was written off, over how many years, and how much first-year allowance you took. We now work those out from the kind of item and the day you started using it, so your earlier answers are kept here for your records and nothing is worked out from them.","code":"asset_write_off_answers_kept","next_step":"Continue. Choose the kind of item if you have not, and answer the questions about it.","severity":"review","title":"We now work out how this item is written off","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.method"}},"options":[{"label":"The faster declining-balance way, at double the straight-line rate.","value":"macrs_200db"},{"label":"The declining-balance way, at one and a half times the straight-line rate.","value":"macrs_150db"},{"label":"Even amounts each year, on the standard schedule.","value":"macrs_sl"},{"label":"Even amounts each year.","value":"straight_line"},{"label":"All of it in the first year, as an immediate write-off.","value":"section_179"},{"label":"A large first-year allowance, then the rest over time.","value":"bonus"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.method"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this answer before we started working it out for you. It is kept here for your records and is not filed.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.recovery_period_years","includes_united_states":false,"kind":"text","label":"Over how many years, as you told us before, are you writing it off?","label_when":[],"off_ramp":{"body":"Before, we asked you which way this item was written off, over how many years, and how much first-year allowance you took. We now work those out from the kind of item and the day you started using it, so your earlier answers are kept here for your records and nothing is worked out from them.","code":"asset_write_off_answers_kept","next_step":"Continue. Choose the kind of item if you have not, and answer the questions about it.","severity":"review","title":"We now work out how this item is written off","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.recovery_period_years"}},"options":[],"placeholder":"5","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.recovery_period_years"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this answer before we started working it out for you. It is kept here for your records and is not filed.","help_lines":[],"help_when":[],"id":"income_sources.businesses.depreciable_assets.bonus_depreciation_elected","includes_united_states":false,"kind":"money","label":"How much first-year allowance did you tell us before that you were taking?","label_when":[],"off_ramp":{"body":"Before, we asked you which way this item was written off, over how many years, and how much first-year allowance you took. We now work those out from the kind of item and the day you started using it, so your earlier answers are kept here for your records and nothing is worked out from them.","code":"asset_write_off_answers_kept","next_step":"Continue. Choose the kind of item if you have not, and answer the questions about it.","severity":"review","title":"We now work out how this item is written off","when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_depreciation_elected"}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.bonus_depreciation_elected"}}],"row_label":"Item","visible_when":{"op":"truthy","ref":"income_sources.businesses.has_depreciable_assets"}}],"row_label":"Business","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_self_employment"}]}},{"add_label":"Add interest or a dividend","binds":"investment_income[]","help":"Add one row per figure on your bank or broker statements.","id":"income_sources.investment_income","kind":"repeat","label":"What interest and dividends did you receive?","min_rows":1,"nodes":[{"binds":"investment_income[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of the statement.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.seller_financed_interest"},"For a buyer who pays you interest on a loan you gave them, type the buyer's name as it is on their Social Security card, in letters, spaces, hyphens and apostrophes."]],"id":"income_sources.investment_income.payer","includes_united_states":false,"kind":"text","label":"Who paid you?","label_when":[],"options":[],"placeholder":"Local Bank","prefills":[],"refusal":"payer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"investment_income[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Form 1099-INT box 1 is interest. On a Form 1099-DIV, enter box 1a as one row and box 1b as a second row: box 1b is the part of box 1a taxed at the lower rate, so entering both is not counting it twice.","help_lines":["Interest is box 1 or box 3 of a Form 1099-INT, or box 1, 2 or 8 of a Form 1099-OID, and tax-exempt interest is box 8 of a Form 1099-INT.","An ordinary dividend is box 1a of a Form 1099-DIV, and its qualified part is box 1b.","A nondividend distribution is box 3 of a Form 1099-DIV, and a capital gain distribution is box 2a."],"help_when":[],"id":"income_sources.investment_income.kind","includes_united_states":false,"kind":"choice","label":"Which kind of payment did you receive?","label_when":[],"options":[{"help":"Form 1099-INT box 1 or 3, or Form 1099-OID box 1, 2 or 8.","label":"Interest.","value":"interest"},{"help":"Form 1099-INT box 8.","label":"Tax-exempt interest.","value":"tax_exempt_interest"},{"help":"Form 1099-DIV box 1a.","label":"A dividend (its full amount).","value":"ordinary_dividend"},{"help":"Form 1099-DIV box 1b.","label":"The qualified part of a dividend.","value":"qualified_dividend"},{"help":"Form 1099-DIV box 3. This is your own money coming back to you rather than a profit, so it is not taxed until the payments are more than what the shares cost you. It lowers what the shares cost you, which matters when you sell them.","label":"A return of your own money (a nondividend distribution).","value":"nondividend_distribution"},{"help":"Form 1099-DIV box 2a.","label":"A capital gain distribution.","value":"capital_gain_distribution"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"investment_income[].foreign_source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement names the country when it did.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.foreign_source","includes_united_states":false,"kind":"yesno","label":"Did this payment come to you from outside the United States?","label_when":[],"off_ramp":{"body":"Interest is free of federal tax only when it is on a bond of a state, the District of Columbia, a United States territory or one of their local governments. A bank or bond outside the United States does not qualify, even when your statement calls the interest tax-free.","code":"foreign_exempt_interest","next_step":"Choose the interest kind for this payment instead, and enter it as ordinary interest.","severity":"block","title":"Interest from abroad is not free of federal tax","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"tax_exempt_interest"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"investment_income[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The figure printed in the box you chose for this payment.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"},"A dividend is qualified only if you held the shares more than 60 days around the ex-dividend date (the first day a buyer no longer gets the dividend), even when box 1b shows it. If you held them 60 days or less, leave it out of this row. For preferred stock whose dividend is for periods adding up to more than 366 days, you must have held the shares more than 90 days during the 181 days that begin 90 days before that date. Days when you had a short sale or an option on the same stock, or other protection against a loss, do not count toward the days you held it. Leave out any part you received as a nominee for someone else."],[{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"},"Enter the full figure the form shows, even if part of it is someone else's, accrued interest you paid when you bought a bond, or bond premium you take off. Check that box on the screen of uncommon situations and we take that part off on Schedule B."],[{"op":"eq","ref":"income_sources.investment_income.kind","value":"tax_exempt_interest"},"Enter your box 8 figure, less any bond premium shown in your box 13."],[{"op":"eq","ref":"income_sources.investment_income.kind","value":"ordinary_dividend"},"Enter the full amount in your box 1a, including the part in your box 1b, even if part of it is a dividend you got as a nominee for someone else. Check that box on the screen of uncommon situations and we take that part off on Schedule B."]],"id":"income_sources.investment_income.amount","includes_united_states":false,"kind":"money","label":"How much did you receive from this payer?","label_when":[],"options":[],"placeholder":"450","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"investment_income[].source_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named in box 7 of your Form 1099-INT, or box 8 of your Form 1099-DIV.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.source_country","includes_united_states":false,"kind":"country","label":"Which country did that payment reach you from?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"truthy","ref":"income_sources.investment_income.foreign_source"}},{"binds":"investment_income[].tax_exempt","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 8 of your Form 1099-INT carries interest that is free of federal tax. On a Form 1099-DIV it is box 12, headed Exempt-interest dividends.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.tax_exempt","includes_united_states":false,"kind":"yesno","label":"Is that interest free of federal tax for you?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in because you chose the box that carries interest free of federal tax. Change it if that was not right.","value":true,"when":{"op":"eq","ref":"income_sources.investment_income.kind","value":"tax_exempt_interest"}},{"confirm":false,"exact":true,"note":"Filled in as no because the box you chose does not carry interest free of federal tax. Change it if that was not right.","value":false,"when":{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","qualified_dividend","capital_gain_distribution","nondividend_distribution"]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"}]}},{"clears":["income_sources.investment_income.foreign_tax_paid","income_sources.investment_income.federal_income_tax_withheld"],"currency_pickable":false,"derived_from_presence":["investment_income[].foreign_tax_paid","investment_income[].federal_income_tax_withheld"],"help":"Box 6 of a Form 1099-INT or box 7 of a Form 1099-DIV shows foreign tax. United States tax is in box 4 of either. Say no if all of those boxes are empty. Each statement has these boxes once, so a Form 1099-DIV answers them on its box 1a row, and the rows for its other boxes do not ask.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.any_tax_taken_off","includes_united_states":false,"kind":"yesno","label":"Was any tax taken off this payment before you received it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"in","ref":"income_sources.investment_income.kind","values":["qualified_dividend","capital_gain_distribution","nondividend_distribution"]}]}},{"clears":["income_sources.investment_income.nominee_amount","income_sources.investment_income.accrued_interest_paid","income_sources.investment_income.bond_premium_amortized"],"currency_pickable":false,"derived_from_presence":["investment_income[].nominee_amount","investment_income[].accrued_interest_paid","investment_income[].bond_premium_amortized"],"help":"Enter this payment's amount as the full figure printed on your Form 1099. If you entered it after taking this part off, change it to the full figure. Say yes if part of it belongs to someone else, or, for interest, you paid accrued interest when you bought the bond or take bond premium off it.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.amount_reduced","includes_united_states":false,"kind":"yesno","label":"Does part of this payment come off before it counts as your income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income_reduced"},{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","ordinary_dividend"]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]}},{"binds":"investment_income[].nominee_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The part paid in your name that is another person's, from your own records of the account. Enter 0 if all of it is yours.","help_lines":["Schedule B shows the full amount from the payer and then takes this part off, labeled Nominee Distribution.","You give that person a Form 1099 for their part unless they are your spouse."],"help_when":[],"id":"income_sources.investment_income.nominee_amount","includes_united_states":false,"kind":"money","label":"How much of this payment is someone else's and not yours?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income_reduced"},{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","ordinary_dividend"]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]},{"op":"truthy","ref":"income_sources.investment_income.amount_reduced"}]}},{"binds":"investment_income[].accrued_interest_paid","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your broker's statement for the purchase shows the interest the bond had earned before you bought it, which you paid to the seller. That part is the seller's income. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.accrued_interest_paid","includes_united_states":false,"kind":"money","label":"How much accrued interest did you pay the seller when buying the bond?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income_reduced"},{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","ordinary_dividend"]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]},{"op":"truthy","ref":"income_sources.investment_income.amount_reduced"}]},{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"}]}},{"binds":"investment_income[].bond_premium_amortized","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 11 of your Form 1099-INT shows the premium for the year, or box 12 for Treasury interest. Enter 0 if you have not chosen to take bond premium off interest, or if your payer already took it off box 1.","help_lines":["Bond premium is what you paid for a taxable bond above its face value, spread over the years to maturity.","If the premium is more than the interest, we cannot file this return: the rest can be a deduction worked out from the bond's earlier years, which we do not do."],"help_when":[],"id":"income_sources.investment_income.bond_premium_amortized","includes_united_states":false,"kind":"money","label":"How much bond premium are you taking off this interest?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income_reduced"},{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","ordinary_dividend"]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]},{"op":"truthy","ref":"income_sources.investment_income.amount_reduced"}]},{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"}]}},{"binds":"investment_income[].seller_financed_mortgage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if the payer bought property from you and pays you back over time with interest. Say no for interest from a bank, a bond or any other loan.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.seller_financed_mortgage","includes_united_states":false,"kind":"yesno","label":"Is this interest from a buyer of your property, on a loan from you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.seller_financed_interest"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]}},{"binds":"investment_income[].buyer_used_as_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule B lists this interest first, with the buyer's name, address and number, when they live in the property.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.buyer_used_as_home","includes_united_states":false,"kind":"yesno","label":"Did your buyer live in the property as their home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.seller_financed_interest"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]},{"op":"truthy","ref":"income_sources.investment_income.seller_financed_mortgage"}]}},{"binds":"investment_income[].buyer_tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The nine digits the buyer gave you. If they have none, use their other taxpayer identification number. You also need to give the buyer your own number.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.buyer_tin","includes_united_states":false,"kind":"ssn","label":"What is your buyer's Social Security number?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456."}},"validators":["nine_digit_tin"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.seller_financed_interest"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]},{"op":"truthy","ref":"income_sources.investment_income.seller_financed_mortgage"},{"op":"truthy","ref":"income_sources.investment_income.buyer_used_as_home"}]}},{"address_variant":"full","binds":"investment_income[].buyer_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Usually the property you sold them, if they live there.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.buyer_address","includes_united_states":false,"kind":"address","label":"What is your buyer's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.seller_financed_interest"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"interest"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}]},{"op":"truthy","ref":"income_sources.investment_income.seller_financed_mortgage"},{"op":"truthy","ref":"income_sources.investment_income.buyer_used_as_home"}]}},{"binds":"investment_income[].foreign_tax_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 6 of your Form 1099-INT, or box 7 of your Form 1099-DIV, in United States dollars as the form shows it. This tax counts toward the credit for tax you paid abroad, except tax on a dividend if you held the shares fewer than 16 days around the ex-dividend date (the first day a buyer no longer gets the dividend). Tax in another currency goes on the page about tax you paid abroad instead.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.foreign_tax_paid","includes_united_states":false,"kind":"money","label":"How much foreign tax was taken off before it reached you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.investment_income.any_tax_taken_off"}},{"binds":"investment_income[].foreign_tax_paid_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A United States fund that holds shares abroad can pass the tax it paid there on to you, and its Form 1099-DIV then shows it in box 7. Otherwise the country the payment came from took it.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.foreign_tax_paid_by","includes_united_states":false,"kind":"choice","label":"Who took that foreign tax off the payment to you?","label_when":[],"off_ramp":{"body":"Foreign tax a fund passed through can be claimed without the full credit form when all of your income from abroad is interest, dividends and the like, all of your foreign tax is on statements like this one, and the total is within 300 dollars, or 600 dollars on a joint return. If your return needs the full form, the review page says so, and a return like that cannot be filed from here.","code":"investment_foreign_tax","next_step":"Continue. The review page says whether the short route applies.","severity":"review","title":"A fund's foreign tax is filed from here only on the short route","when":{"op":"eq","ref":"income_sources.investment_income.foreign_tax_paid_by","value":"united_states_fund"}},"options":[{"label":"A United States mutual fund or other investment fund that passed it through to you.","value":"united_states_fund"},{"label":"The country the payment came from, before it reached you.","value":"foreign_country"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}},{"binds":"investment_income[].foreign_tax_on_form_1099","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 6 of a Form 1099-INT or box 7 of a Form 1099-DIV. A statement from a bank abroad is not a Form 1099.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.foreign_tax_on_form_1099","includes_united_states":false,"kind":"yesno","label":"Does your Form 1099-INT or Form 1099-DIV show that foreign tax in US dollars?","label_when":[],"off_ramp":{"body":"Tax a country took that no Form 1099 shows in dollars is converted at the rate on the day it was paid, from its own currency, and the page about tax you paid abroad asks for both.","code":"investment_foreign_tax","next_step":"Enter it on that page and set the foreign tax on this payment to zero.","severity":"block","title":"Enter this tax on the page about tax you paid abroad","when":{"op":"eq","ref":"income_sources.investment_income.foreign_tax_on_form_1099","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.investment_income.foreign_tax_paid_by","value":"foreign_country"}},{"binds":"investment_income[].foreign_tax_also_on_foreign_tax_page","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each tax is counted once. We ask so that the same tax is never claimed twice.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.foreign_tax_also_on_foreign_tax_page","includes_united_states":false,"kind":"yesno","label":"Have you also entered this tax on the page about tax you paid abroad?","label_when":[],"off_ramp":{"body":"Counted here and on the page about tax you paid abroad, this tax would be claimed twice, so the return cannot be filed while both are there.","code":"investment_foreign_tax","next_step":"Remove it from one place: set the foreign tax on this payment to zero, or remove the row on that page.","severity":"block","title":"The same tax would be claimed twice","when":{"op":"truthy","ref":"income_sources.investment_income.foreign_tax_also_on_foreign_tax_page"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}},{"binds":"investment_income[].foreign_tax_claimable_back","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example tax withheld above the rate a tax treaty allows. Only the tax you legally owe counts for the credit, whether or not you claim the rest back. Say no if none of it can be claimed back.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.foreign_tax_claimable_back","includes_united_states":false,"kind":"yesno","label":"Could you claim any of that foreign tax back from the country?","label_when":[],"off_ramp":{"body":"The credit takes only the tax you legally owe, and we do not work out the part you can claim back.","code":"foreign_tax_not_creditable","next_step":"Set the foreign tax on this payment to only the part you owe and answer no, or use another preparer for the return.","severity":"block","title":"We can only claim the tax you owe","when":{"op":"truthy","ref":"income_sources.investment_income.foreign_tax_claimable_back"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.investment_income.foreign_tax_paid_by","value":"foreign_country"}},{"binds":"investment_income[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form 1099-INT or Form 1099-DIV. Only tax the United States kept back counts. Tax another country took goes on the page about tax you paid abroad, so leave this at zero if that is all that was taken.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much United States federal income tax was taken off before it reached you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.investment_income.any_tax_taken_off"}},{"binds":"investment_income[].section_199a_dividends","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 5 of your Form 1099-DIV, headed Section 199A dividends. The amount is part of the total already in box 1a. Leave it at zero if the box is empty. Count only the dividends on shares you held more than 45 days during the 91 days that begin 45 days before the ex-dividend date. If you held a share 45 days or less, leave its dividend out of this box, even if the form shows it.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.section_199a_dividends","includes_united_states":false,"kind":"money","label":"How much does box 5 of your Form 1099-DIV show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","tax_exempt_interest","qualified_dividend","nondividend_distribution","capital_gain_distribution"]}]}},{"binds":"investment_income[].unrecaptured_section_1250_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2b is headed Unrecap. Sec. 1250 gain and is part of box 2a. Leave it at zero if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.unrecaptured_section_1250_gain","includes_united_states":false,"kind":"money","label":"How much does box 2b of your Form 1099-DIV show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.investment_income.kind","value":"capital_gain_distribution"}},{"binds":"investment_income[].section_1202_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2c is headed Section 1202 gain and is part of box 2a. Leave it at zero if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.section_1202_gain","includes_united_states":false,"kind":"money","label":"How much does box 2c of your Form 1099-DIV show?","label_when":[],"off_ramp":{"body":"Some of the gain in box 2c may be left out of your income, which is worked out on a form we do not prepare here.","code":"section_1202_gain","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a gain on small business stock","when":{"op":"gt","ref":"income_sources.investment_income.section_1202_gain","value":0}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.investment_income.kind","value":"capital_gain_distribution"}},{"binds":"investment_income[].collectibles_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2d is headed Collectibles (28%) gain and is part of box 2a. Leave it at zero if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.collectibles_gain","includes_united_states":false,"kind":"money","label":"How much does box 2d of your Form 1099-DIV show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.investment_income.kind","value":"capital_gain_distribution"}},{"binds":"investment_income[].foreign_fund","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement or the fund's own papers say where it is set up. A fund based in Ireland, Luxembourg or another country, such as a UCITS fund, is set up outside the United States.","help_lines":["Choose Not sure if you cannot check.","A fund or ETF set up outside the United States is taxed under rules of its own, worked out on Form 8621. If you answer yes, enter this money on the fund's own row under shares in a fund set up abroad, and remove this row."],"help_when":[],"id":"income_sources.investment_income.foreign_fund","includes_united_states":false,"kind":"yesno","label":"Did a fund or ETF set up outside the United States pay you?","label_when":[],"off_ramp":{"body":"Payments and sales of a fund set up outside the United States are worked out on Form 8621 from the fund's own row, so this row cannot stay.","code":"foreign_fund_form_8621","next_step":"Add the fund under shares in a fund set up abroad on the kinds of income, with this payment or sale, then remove this row.","severity":"block","title":"Enter this fund's money on the fund's own row","when":{"op":"truthy","ref":"income_sources.investment_income.foreign_fund"}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"in","ref":"income_sources.investment_income.kind","values":["qualified_dividend","capital_gain_distribution"]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"in","ref":"income_sources.investment_income.kind","values":["qualified_dividend","capital_gain_distribution"]}]}},{"binds":"investment_income[].us_broker_reported_box_1b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Look for a Form 1099-DIV from a United States broker or fund that shows this amount in box 1b.","help_lines":["Answer no if the figure comes only from a statement of a bank or broker outside the United States."],"help_when":[],"id":"income_sources.investment_income.us_broker_reported_box_1b","includes_united_states":false,"kind":"yesno","label":"Did a United States form show it to you as a qualified dividend?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"}]}},{"binds":"investment_income[].qualified_foreign_company","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if your payer meets any one of these three tests. If none is met, the dividend is taxed as an ordinary dividend, at the same rate as your other income.","help_lines":["The company is incorporated in a United States territory.","The company qualifies for the benefits of an income tax treaty with the United States that is on the list in Table 1-3 of IRS Publication 550.","The shares that paid the dividend are readily traded on an established stock exchange in the United States.","Choose Not sure if you cannot check. We then cannot file this return until you can."],"help_when":[],"id":"income_sources.investment_income.qualified_foreign_company","includes_united_states":false,"kind":"yesno","label":"Does your payer meet a test for a qualified foreign company?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"}]},{"op":"eq","ref":"income_sources.investment_income.foreign_fund","value":false},{"op":"eq","ref":"income_sources.investment_income.us_broker_reported_box_1b","value":false}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"qualified_dividend"}]},{"op":"eq","ref":"income_sources.investment_income.foreign_fund","value":false},{"op":"eq","ref":"income_sources.investment_income.us_broker_reported_box_1b","value":false}]}},{"binds":"investment_income[].return_of_capital_statement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A payer outside the United States who sends no such statement has paid an ordinary dividend, and it is taxed as one.","help_lines":["Choose Not sure if you cannot check. We then cannot file this return until you can."],"help_when":[],"id":"income_sources.investment_income.return_of_capital_statement","includes_united_states":false,"kind":"yesno","label":"Did the payer send a statement saying this is a return of your capital?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"nondividend_distribution"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.kind","value":"nondividend_distribution"}]}},{"binds":"investment_income[].payments_exceed_cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every payment of this kind over the years, from your own records. Also answer yes if the company is being closed down and boxes 9 or 10 of your Form 1099-DIV show a payment.","help_lines":["Once the payments pass your cost, the rest is a gain, which we do not work out from a dividend statement. Answering yes or Not sure means we cannot file this return.","Choose Not sure if you cannot add them up."],"help_when":[],"id":"income_sources.investment_income.payments_exceed_cost","includes_united_states":false,"kind":"yesno","label":"Have these payments added up to more than the shares cost you?","label_when":[],"off_ramp":{"body":"When your payments have added up to more than the shares cost you, or the company is being closed down, the part above your cost is a capital gain, which we do not work out from a dividend statement.","code":"return_of_capital_not_computed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a gain on a return of capital","when":{"op":"truthy","ref":"income_sources.investment_income.payments_exceed_cost"}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.investment_income.kind","value":"nondividend_distribution"},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.return_of_capital_statement","value":false}]}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.investment_income.kind","value":"nondividend_distribution"},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"},{"op":"eq","ref":"income_sources.investment_income.return_of_capital_statement","value":false}]}]}]}},{"binds":"investment_income[].private_activity_bond_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 9 of your Form 1099-INT, or box 13 of your Form 1099-DIV. Enter zero if that box is empty.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.private_activity_bond_interest","includes_united_states":false,"kind":"money","label":"How much of your tax-free interest is private activity bond interest?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.investment_income.kind","value":"tax_exempt_interest"},{"op":"truthy","ref":"income_sources.investment_income.tax_exempt"}]}},{"binds":"investment_income[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.investment_income.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}}],"row_label":"Interest or dividend","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_investment_income"}]}},{"add_label":"Add a payment","binds":"passive_income[]","help":"Add one row per payment, from the statement your payer sent you. Interest and dividends belong with your interest and dividends, and income tax a state or local office refunded you belongs with the questions about that refund, so neither of those goes here.","id":"income_sources.passive_income","kind":"repeat","label":"What other regular payments did you receive?","min_rows":1,"nodes":[{"binds":"passive_income[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The heading beside the amount on your statement says which one. On a Form 1099-MISC, rent is box 1, a royalty is box 2 and anything else is box 3.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.kind","includes_united_states":false,"kind":"choice","label":"Which kind of payment did you receive?","label_when":[],"options":[{"label":"An annuity payment.","value":"annuity"},{"label":"Rent.","value":"rent"},{"label":"Fishing boat proceeds.","value":"fishing_boat_proceeds"},{"label":"A medical or health care payment.","value":"medical_payments"},{"label":"A substitute payment instead of a dividend or interest.","value":"substitute_dividends"},{"label":"Crop insurance proceeds.","value":"crop_insurance_proceeds"},{"label":"A taxable grant.","value":"taxable_grant"},{"label":"An agriculture payment.","value":"agricultural_payment"},{"label":"Another government payment.","value":"other_government_payment"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"passive_income[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of the statement.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.payer","includes_united_states":false,"kind":"text","label":"Who paid you?","label_when":[],"options":[],"placeholder":"Northern Press","prefills":[],"refusal":"payer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"passive_income[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 1 of your Form 1099-MISC for rent, or box 2 for a royalty. For anything else, the yearly total on your payer's statement.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.amount","includes_united_states":false,"kind":"money","label":"How much did you receive during the year?","label_when":[],"options":[],"placeholder":"1200","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"passive_income[].source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement says where the payer is.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.source","includes_united_states":false,"kind":"choice","label":"Where did your money come from?","label_when":[],"options":[{"label":"From inside the United States.","value":"US"},{"label":"From outside the United States.","value":"foreign"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"passive_income[].source_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your statement.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.source_country","includes_united_states":false,"kind":"country","label":"Which country did that payment reach you from?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"eq","ref":"income_sources.passive_income.source","value":"foreign"}},{"binds":"passive_income[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form 1099-MISC, and only tax the United States kept back. Tax another country took goes on the page about tax you paid abroad, so leave this at zero if that is all that was taken. A pension or annuity payer shows it on their own statement instead.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much United States federal income tax was taken off before it reached you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"passive_income[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.passive_income.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}}],"row_label":"Payment","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_passive_income"}]}},{"add_label":"Add a sale","binds":"capital_transactions[]","help":"Add one row per sale on your broker's yearly statement.","id":"income_sources.capital_transactions","kind":"repeat","label":"What did you sell?","min_rows":1,"nodes":[{"binds":"capital_transactions[].asset_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Crypto and other digital assets go in boxes of their own on the sale schedule, so the kind decides where the sale is listed.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.asset_kind","includes_united_states":false,"kind":"choice","label":"What kind of investment did you sell?","label_when":[],"options":[{"label":"Shares, funds or bonds.","value":"stocks"},{"label":"Crypto or another digital asset.","value":"digital"},{"label":"Something else, such as property or a home.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_transactions[].main_home_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part or all of the gain on selling your main home may not be taxed. A home you only rented out or used for vacations is not your main home.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.main_home_sale","includes_united_states":false,"kind":"yesno","label":"Was it the home you lived in as your main home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"}},{"binds":"capital_transactions[].used_in_business_or_rental","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, land a business of yours stood on, or equipment you deducted in full. Something you list with a business or a rental is reported there instead.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.used_in_business_or_rental","includes_united_states":false,"kind":"yesno","label":"Did you use it in a business or a rental?","label_when":[],"off_ramp":{"body":"A sale of property used in a business or a rental goes on the form for business property, not with your investment sales.","code":"capital_sale_business_property","next_step":"Remove this sale and give the day you sold it on the item in your business's or rental's list, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"Business and rental property is reported with the business","when":{"op":"truthy","ref":"income_sources.capital_transactions.used_in_business_or_rental"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false}]}},{"binds":"capital_transactions[].foreign_currency_exchange","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a gain of more than {context.personal_currency_gain_limit} on money in another currency that you entered here as a sale, as the accounts page asked. Answer no for anything else you sold.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.foreign_currency_exchange","includes_united_states":false,"kind":"yesno","label":"Is this sale an exchange or payment of your money in another currency?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false},{"op":"truthy","ref":"foreign_accounts.screened_inputs.personal_currency_gain_over_200"}]}},{"binds":"capital_transactions[].home_sale.received_form_1099_s","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The closing agent or the person handling the sale sends Form 1099-S, Proceeds From Real Estate Transactions. A sale of your home has to be reported when one came, even if none of the gain is taxed.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.received_form_1099_s","includes_united_states":false,"kind":"yesno","label":"Did you get a Form 1099-S for the sale of your home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"}},{"binds":"capital_transactions[].home_sale.disqualified","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 1: either one means no part of the gain can be left out. The expatriate tax applies to some people who gave up United States citizenship or a long-held green card.","help_lines":["This also applies if you got the home as a gift, or otherwise kept a previous owner's cost, from someone who got it by like-kind exchange within those 5 years."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.disqualified","includes_united_states":false,"kind":"yesno","label":"Within 5 years, did you get this home by like-kind exchange (a swap of property on which tax was put off), or are you subject to expatriate tax?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"}},{"binds":"capital_transactions[].home_sale.disqualified_business_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes too if any depreciation on the home was not straight line. Either one is reported on Form 4797, Sales of Business Property, in a way we do not work out for a home, so a yes means this return cannot be filed from here.","help_lines":["Straight line means the same amount each year, the usual way for a rental home or a home office."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.disqualified_business_use","includes_united_states":false,"kind":"yesno","label":"Was any of your home rented or used for business on the sale day?","label_when":[],"off_ramp":{"body":"A part of a home rented out or used for business on the day of the sale, or depreciation other than straight line, is reported on Form 4797 in a way we do not work out for a home.","code":"disqualified_home_business_use","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this part of your home sale","when":{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.disqualified_business_use"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":true}]}},{"binds":"capital_transactions[].home_sale.special_situation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 5, lists situations that change how the gain is figured. Answer yes if any of them applies.","help_lines":["You used part of the home, or all of it, for a business or as a rental at any time.","After 2008, and before the last day you lived in it, there was a time when neither you nor your spouse used the whole home as your main home, for example as a vacation home, a second home or a rental.","You sold only vacant land next to your home, or only the right to own the home in the future.","An earlier home of yours was destroyed or condemned, and you count your time there toward owning and living in a home for 2 years.","A separation, a divorce, your spouse's death or service away from home does not count here: we ask about them when you count the 2 years."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.special_situation","includes_united_states":false,"kind":"yesno","label":"Does any of these apply to your home sale?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false}]}},{"binds":"capital_transactions[].home_sale.other_special_situation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 5, lists these situations. We work out business or rental use, and time the home was not your main home, from the next questions. If you say yes, we ask which of these applies.","help_lines":["You sold only vacant land next to your home, apart from the home itself.","You sold only the right to own the home in the future.","An earlier home of yours was destroyed or condemned, and you count your time there toward owning and living in a home for 2 years."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.other_special_situation","includes_united_states":false,"kind":"yesno","label":"Does any of these other situations apply to you and this home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true}]}},{"binds":"capital_transactions[].home_sale.vacant_land_sold_apart","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Land sold together with the home is part of the home's sale, so answer no for that.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart","includes_united_states":false,"kind":"yesno","label":"Did you sell only vacant land here, apart from the home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]}},{"binds":"capital_transactions[].home_sale.vacant_land_part_of_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Vacant land next to home: you owned and used the land as part of your home. If you moved the home itself off the land, as with a mobile home moved to a new lot, answer no.","help_lines":["A no means the land was not part of your home, so none of its gain can be left out."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","includes_united_states":false,"kind":"yesno","label":"Was this land beside your home's land and used as part of your home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]}},{"binds":"capital_transactions[].home_sale.vacant_land_home_sale_qualifies","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The 2 years run before or after the day you sold the land. A home sale after it counts only if it happened by the due date of this return. Answer yes only if the gain on the home's sale could be left out, in full or in part, under the tests on these pages.","help_lines":["If you have not sold the home by the due date of this return, answer no. The land's gain is then taxed on this return. Once the home is sold within the 2 years, you can claim the exclusion on an amended return."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","includes_united_states":false,"kind":"yesno","label":"Did you sell the home within 2 years of this land sale?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]}},{"binds":"capital_transactions[].home_sale.vacant_land_home_exclusion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The land and the home share one limit, and the home's gain is left out first. Enter 0 if none was left out. If the home's sale is also on this return, enter the amount left out on it.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.vacant_land_home_exclusion","includes_united_states":false,"kind":"money","label":"How much gain did you leave out on the sale of the home itself?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies"}]}},{"binds":"capital_transactions[].home_sale.vacant_land_home_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A loss on the home reduces the land gain that can be left out. The home's sale on your Form 8949 shows it. Enter 0 if the home sold at a gain or broke even.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.vacant_land_home_loss","includes_united_states":false,"kind":"money","label":"How much money did you lose on the sale of the home itself?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies"}]}},{"binds":"capital_transactions[].home_sale.remainder_interest_sold","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"This is a remainder interest: someone else keeps the right to live in the home now, and you sold the right to own it later.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.remainder_interest_sold","includes_united_states":false,"kind":"yesno","label":"Did you sell only the right to own the home in the future?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]}},{"binds":"capital_transactions[].home_sale.remainder_buyer_related","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A related party can be a related person, or a company, trust, partnership or other entity you control or have an interest in. A yes means none of the gain can be left out.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.remainder_buyer_related","includes_united_states":false,"kind":"yesno","label":"Is the buyer related to you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]}},{"binds":"capital_transactions[].home_sale.remainder_earlier_interest_excluded","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Remainder interest: the gain can be left out only if you have not done so before on another interest in the same home. A yes means none of this gain can be left out.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded","includes_united_states":false,"kind":"yesno","label":"Did you sell an interest in this home before and leave out its gain?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]}},{"binds":"capital_transactions[].home_sale.earlier_home_converted","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if you put off tax on the gain from the earlier home by buying this one with the insurance or the award. Then your time in the earlier home counts as time in this one.","help_lines":["Count that time when you answer whether you owned and lived in the home for 2 of the 5 years, and in the days you lived in it."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.earlier_home_converted","includes_united_states":false,"kind":"yesno","label":"Did you buy this home to replace an earlier home destroyed or condemned?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]}},{"binds":"capital_transactions[].home_sale.earlier_home_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The purchase and sale papers of the earlier home show its dates. These days are added to the time you owned this home, which we take from the dates you bought and sold it.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.earlier_home_days","includes_united_states":false,"kind":"integer","label":"How many days did you own and live in the earlier home?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"day_count":{"message_bounds":"Enter the days as a whole number, with no decimals."}},"validators":["day_count"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.earlier_home_converted"}]}},{"binds":"capital_transactions[].home_sale.owned_two_of_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 2: 24 months in total out of the 5 years up to the closing date. On a joint return, this is about you; your spouse is asked next.","help_lines":["If your spouse or former spouse gave the home to you, count the time they owned it as yours.","If your spouse died and you have not remarried, count the time your late spouse owned it.","If you or your spouse served in the uniformed services, the Foreign Service, the intelligence community or the Peace Corps on qualified official extended duty, you can choose to leave up to 10 years of that duty out of the 5 years you count back from the sale. The duty counts only if you were called or ordered to active duty for more than 90 days or for no set time, and your duty station was at least 50 miles from the home or you lived in government quarters under government orders. You can do this for one home at a time."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","includes_united_states":false,"kind":"yesno","label":"Did you own the home at least 2 of the 5 years before selling?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]}},{"binds":"capital_transactions[].home_sale.lived_two_of_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 3: 24 months, or 730 days, in total.","help_lines":["They do not have to be in one block, and vacations and other short absences count as time you lived there.","If you became unable to care for yourself and lived in the home as your main home for at least 12 months of those 5 years, time in a licensed care facility, such as a nursing home, counts as time you lived there.","While you owned it, time your spouse or former spouse lived there as their main home under a divorce or separation agreement or decree counts as yours.","If your spouse died and you have not remarried, count the time your late spouse lived there.","If you or your spouse served in the uniformed services, the Foreign Service, the intelligence community or the Peace Corps on qualified official extended duty, you can choose to leave up to 10 years of that duty out of the 5 years you count back from the sale. The duty counts only if you were called or ordered to active duty for more than 90 days or for no set time, and your duty station was at least 50 miles from the home or you lived in government quarters under government orders. You can do this for one home at a time."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","includes_united_states":false,"kind":"yesno","label":"Was it your main home for at least 2 of those 5 years?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]}},{"binds":"capital_transactions[].home_sale.no_other_exclusion_in_two_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 4: the gain on a main home can be left out only once in 2 years. Answer yes if you sold no other home in that time, or sold one and paid tax on all of its gain.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"},"For vacant land sold apart from your home, leave out the sale of that home itself: the two count as one sale."],[{"op":"ne","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart","value":true},"If you also sold vacant land next to this home within 2 years of it, as part of the home, leave out that land sale: the two count as one sale."]],"id":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","includes_united_states":false,"kind":"yesno","label":"Before this sale, did you go 2 years without excluding another home's gain?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]}},{"binds":"capital_transactions[].home_sale.spouse_owned_two_of_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On a joint return only one of you has to meet the ownership test, but both of you have to meet the other two for the larger limit (Publication 523, Worksheet 1).","help_lines":["If you or your spouse served in the uniformed services, the Foreign Service, the intelligence community or the Peace Corps on qualified official extended duty, you can choose to leave up to 10 years of that duty out of the 5 years you count back from the sale. The duty counts only if you were called or ordered to active duty for more than 90 days or for no set time, and your duty station was at least 50 miles from the home or you lived in government quarters under government orders. You can do this for one home at a time."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","includes_united_states":false,"kind":"yesno","label":"Did your spouse own it at least 2 of the 5 years before selling?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"capital_transactions[].home_sale.spouse_lived_two_of_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 3, for your spouse: 24 months, or 730 days, in total. If your spouse became unable to care for themselves and lived in the home as your main home for at least 12 months of those 5 years, time in a licensed care facility, such as a nursing home, counts as time you lived there.","help_lines":["If you or your spouse served in the uniformed services, the Foreign Service, the intelligence community or the Peace Corps on qualified official extended duty, you can choose to leave up to 10 years of that duty out of the 5 years you count back from the sale. The duty counts only if you were called or ordered to active duty for more than 90 days or for no set time, and your duty station was at least 50 miles from the home or you lived in government quarters under government orders. You can do this for one home at a time."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","includes_united_states":false,"kind":"yesno","label":"Was it your spouse's main home for at least 2 of those 5 years?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"capital_transactions[].home_sale.spouse_no_other_exclusion_in_two_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Eligibility Step 4, for your spouse. Answer yes if they sold no other home in that time, or paid tax on all of its gain.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","includes_united_states":false,"kind":"yesno","label":"Before this sale, did your spouse go 2 years without excluding another home's gain?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"capital_transactions[].home_sale.surviving_spouse_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1: a surviving spouse who has not remarried and sells within 2 years of the death may leave out as much gain as a married couple filing jointly.","help_lines":["This changes your tax only if the gain on the sale is more than $250,000. Choose Not sure if you cannot say."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.surviving_spouse_sale","includes_united_states":false,"kind":"yesno","label":"Did your spouse die in the 2 years before this sale, without you remarrying?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"in","ref":"about_you.filing_status","values":["single","hoh","qss"]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}},{"binds":"capital_transactions[].home_sale.late_spouse_no_other_exclusion_in_two_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1, surviving spouse: neither you nor your late spouse took the exclusion on another home sold less than 2 years before this sale. Answer yes if your late spouse sold no other home in that time, or paid tax on all of its gain.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.late_spouse_no_other_exclusion_in_two_years","includes_united_states":false,"kind":"yesno","label":"Had your late spouse gone 2 years without excluding another home's gain?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"in","ref":"about_you.filing_status","values":["single","hoh","qss"]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.surviving_spouse_sale"}]}},{"binds":"capital_transactions[].home_sale.sold_for_work_health_or_unforeseen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your answers so far mean the full amount of the gain cannot be left out. Publication 523 still allows part of it to be left out if the main reason for the sale was a change in where you work, a health issue or an event you could not foresee, and a no means the whole gain is taxed.","help_lines":["Work: you, your spouse, a co-owner or anyone else who lived in the home took a new job, or were transferred, at least 50 miles farther from the home than the old work location, or began a first job at least 50 miles from it.","Health: someone moved to get, give or arrange diagnosis, cure or treatment of a disease, illness or injury, or medical or personal care for a family member, or a doctor recommended the move for a health problem.","Unforeseeable: the home was destroyed, condemned or damaged by a disaster or an act of terrorism, or someone who lived there died, divorced or legally separated, had two or more children from one pregnancy, became eligible for unemployment pay, or could no longer pay the household's basic living costs after a change in work.","Otherwise, the facts show the main reason was one of these, for example the situation arose while you owned and lived in the home and you could not reasonably have expected it when you bought it."],"help_when":[[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true}]}]}]},"One of you meets every test, so this changes your tax only if the gain on the sale is more than $250,000. You can leave it blank otherwise."]],"id":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen","includes_united_states":false,"kind":"yesno","label":"Did you sell mainly for a new job, health or an unforeseen event?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]}},{"binds":"capital_transactions[].home_sale.days_lived_in_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1 Section B, Step 1: \"Your time of residence in the home during the 5-year period leading up to the sale.\" Count the days in total from your own records; vacations and other short absences count as time you lived there. We take the time you owned it from the dates you bought and sold it.","help_lines":["If you or your spouse served in the uniformed services, the Foreign Service, the intelligence community or the Peace Corps on qualified official extended duty, you can choose to leave up to 10 years of that duty out of the 5 years you count back from the sale. The duty counts only if you were called or ordered to active duty for more than 90 days or for no set time, and your duty station was at least 50 miles from the home or you lived in government quarters under government orders. You can do this for one home at a time."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.days_lived_in_five_years","includes_united_states":false,"kind":"integer","label":"How many days was it your main home in the 5 years before selling?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_five_years":{"message_bounds":"Enter a whole number of days between 0 and 1827, the most days 5 years hold."}},"validators":["days_in_five_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen"}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]}]}},{"binds":"capital_transactions[].home_sale.days_since_last_exclusion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1 Section B, Step 1: \"The time that has elapsed between the sale and the date you last sold a home for which you took the exclusion.\" You said you left out the gain on another home in the 2 years before this sale; count the days from the closing dates in your records.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.days_since_last_exclusion","includes_united_states":false,"kind":"integer","label":"How many days before this sale did you last exclude gain on a home?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_five_years":{"message_bounds":"Enter a whole number of days between 0 and 1827, the most days 5 years hold."}},"validators":["days_in_five_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen"}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":false}]}},{"binds":"capital_transactions[].home_sale.spouse_days_lived_in_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1 Section B, Step 4: \"Repeat Steps 1-3 for your spouse and add the two results\", starting with your spouse's \"time of residence in the home during the 5-year period leading up to the sale.\" Count the days from your own records.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.spouse_days_lived_in_five_years","includes_united_states":false,"kind":"integer","label":"How many days of the 5 years before the sale was it your spouse's main home?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_five_years":{"message_bounds":"Enter a whole number of days between 0 and 1827, the most days 5 years hold."}},"validators":["days_in_five_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true}]}]}]}},{"binds":"capital_transactions[].home_sale.spouse_days_owned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1 Section B, Step 4, for your spouse: \"Your time of ownership of the home leading up to the sale.\" Count from the day your spouse became an owner, as your deed or your records show, to the day of the sale.","help_lines":["On a joint return each of you counts as an owner for the whole time either of you owned the home, so we use the longer of this and the dates you bought and sold it for both of you."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.spouse_days_owned","includes_united_states":false,"kind":"integer","label":"How many days did your spouse own the home before the sale?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"day_count":{"message_bounds":"Enter the days as a whole number, with no decimals."}},"validators":["day_count"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"capital_transactions[].home_sale.spouse_days_since_last_exclusion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 1 Section B, Step 4, for your spouse: \"The time that has elapsed between the sale and the date you last sold a home for which you took the exclusion.\" Count the days from the closing dates in your records.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.spouse_days_since_last_exclusion","includes_united_states":false,"kind":"integer","label":"How many days before this sale did your spouse last exclude home gain?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_five_years":{"message_bounds":"Enter a whole number of days between 0 and 1827, the most days 5 years hold."}},"validators":["days_in_five_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":false},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years"},{"op":"answered","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.no_other_exclusion_in_two_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.sold_for_work_health_or_unforeseen"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.owned_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_owned_two_of_five_years","value":true}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_lived_two_of_five_years","value":true},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":true}]}]}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.spouse_no_other_exclusion_in_two_years","value":false}]}},{"binds":"capital_transactions[].home_sale.business_or_rental_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A home office or a room you rented out counts, and so does renting out the whole home.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2024}]},"Publication 523 for this year, Worksheet 3, Section A: \"Complete this section only if you used any part of your home for business or rental purposes between May 6, 1997, and the date of sale\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2023},{"op":"lt","ref":"context.tax_year","value":2026}]},"Publication 523 for this year, Worksheet 3, Section A: \"Complete this section only if you used all or part of your home for business or rental purposes between May 7, 1997, and the date of sale\"."]],"id":"income_sources.capital_transactions.home_sale.business_or_rental_use","includes_united_states":false,"kind":"yesno","label":"Since May 7, 1997, was any of your home used for business or rented?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]}},{"binds":"capital_transactions[].home_sale.business_use_on_sale_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A home office or a rented room inside the home you lived in does not count here. Otherwise the business or rental part is reported on Form 4797, Sales of Business Property (Instructions for Form 4797, Sale of Home Used for Business), and we prepare it with the rest of your return in the cases the next questions describe.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_use_on_sale_date","includes_united_states":false,"kind":"yesno","label":"On the sale day, was the home, or a part outside your living space, rented or used for business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]}},{"binds":"capital_transactions[].home_sale.whole_home_used_on_sale_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 4797 instructions report \"the sale of the entire property if used entirely for business\" on that form, with the part of the gain you can leave out entered on its own line.","help_lines":["Answer no if only a part separate from your living space was, such as the other unit of a duplex, a shop below your apartment or a stable."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","includes_united_states":false,"kind":"yesno","label":"On that day, was all of your home rented out or used for business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]}},{"binds":"capital_transactions[].home_sale.business_part_rented","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The sale of a rented home or part counts toward that rental's income or loss for the passive activity rules, which we do not work out for a home, so a yes means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_part_rented","includes_united_states":false,"kind":"yesno","label":"Was it rented out, rather than used for a business of your own?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":true}]}},{"binds":"capital_transactions[].home_sale.business_use_began_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 4797 instructions place the sale by whether the property \"was held more than 1 year after you converted it to business use\". For a part used that way since you bought the home, enter the day you bought it.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_use_began_on","includes_united_states":false,"kind":"date","label":"On what day did you begin that business or rental use?","label_when":[],"options":[],"placeholder":"2023-01-01","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":true}]}},{"binds":"capital_transactions[].home_sale.business_use_inside_living_area","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A home office or a spare room you rented out is an example. Publication 523, Space within the living area: for that space \"you do not need to report the sale of the business or rental part on Form 4797.\" Answer no if you rented out or used the whole home, or space outside your living area, at a time you did not live in it and later moved back.","help_lines":["Depreciation on such a former use is reported on Form 4797 in a way we do not work out, so this return cannot then be filed from here."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_use_inside_living_area","includes_united_states":false,"kind":"yesno","label":"Was all that use inside your living area while you lived there?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date","value":false}]}},{"binds":"capital_transactions[].home_sale.former_space_income_in_sale_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523 for this year counts space formerly used for business or rental as part of your home only if, among other things, \"You didn't earn any business or rental income from the space in the year you sold your home.\" If you did, that part is reported on Form 4797 in a way we do not work out, so a yes means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.former_space_income_in_sale_year","includes_united_states":false,"kind":"yesno","label":"Did it earn you any business or rental income in the year you sold?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date","value":false}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.business_use_inside_living_area","value":false},{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"capital_transactions[].home_sale.separate_part_used","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example the other unit of a duplex, a shop with your apartment above it, or a stable or farm.","help_lines":["Publication 523, Property Used Partly for Business or Rental: \"You can't exclude gain on the separate part of your property used for business or to produce rental income unless you owned and lived in that part of your property for at least 2 years during the 5-year period ending on the date of the sale.\" A room or other space within the living area of your home does not need its gain split off."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.separate_part_used","includes_united_states":false,"kind":"yesno","label":"Was any of that use in a part separate from your living space?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date","value":false}]}},{"binds":"capital_transactions[].home_sale.separate_part_lived_in_two_of_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523: without that, \"Report the sale of the business or rental part on Form 4797\".","help_lines":["We prepare that for a part still rented out or used for a business on the day of the sale.","A part no longer used that way then, or one you lived in for 2 of the 5 years and used that way on the day of the sale, is reported in a way we do not work out, so this return cannot then be filed from here."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","includes_united_states":false,"kind":"yesno","label":"Did you own and live in that separate part at least 2 of the 5 years before the sale?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date","value":false}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.separate_part_used"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":false}]}]}},{"binds":"capital_transactions[].home_sale.separate_part_business_over_three_of_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523 for this year: \"If you have used part of the home (not within the home's living area) for solely business or rental purposes for more than 3 of the last 5 years, you need to make separate gain/loss calculations for the business and residence portions of your property.\" It does not say how the part is reported otherwise, so a no means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.separate_part_business_over_three_of_five_years","includes_united_states":false,"kind":"yesno","label":"Did you use that part only for business or rental over 3 of the 5 years before the sale?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":false}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":false}]},{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"capital_transactions[].home_sale.business_part_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Business or rental usage calculations: \"If you took depreciation on your home on past tax returns, use the same business or rental percentage that you used in determining how much depreciation to take.","help_lines":["If you didn't take depreciation on your home on past tax returns, compare the size of your business or rental space to the size of the whole property and express this as a percentage.\" We take that share of the sale price and of the selling costs for the business part."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_part_percent","includes_united_states":false,"kind":"text","label":"What percentage of your property was that business or rental part?","label_when":[],"options":[],"placeholder":"33.3","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"home_business_part_percent":{"message":"Enter a percentage between 0 and 100, for example 33.3. It has to be more than 0 and less than 100."}},"validators":["home_business_part_percent"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":false}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":false}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_business_over_three_of_five_years","value":false}]}},{"binds":"capital_transactions[].home_sale.business_part_adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 6 of the business or rental copy of Worksheet 2. Publication 523 has you make that copy. Give it in US dollars: if you paid in another currency, convert it at the exchange rate on the day you paid.","help_lines":["Improvements made only to one part go only to that part, all of the depreciation goes to the business part, and anything else for the whole property is shared by the business percentage you gave.","The rest of the cost basis you gave for the home is the part you lived in."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_part_adjusted_basis","includes_united_states":false,"kind":"money","label":"What is the adjusted basis of the business or rental part of your property?","label_when":[],"options":[],"placeholder":"186000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":false}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":false}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_business_over_three_of_five_years","value":false}]}},{"binds":"capital_transactions[].home_sale.business_part_land_price","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 4797 instructions: \"you must allocate the amount realized between the two types of property based on their respective fair market values\", and the land is reported on its own line apart from the building. For a separate part, give the land of that part only; for an apartment with no land of its own, enter 0. For a price in another currency, convert it at the exchange rate on the day of the sale.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_part_land_price","includes_united_states":false,"kind":"money","label":"How much of your sale price for the business part was for the land?","label_when":[],"options":[],"placeholder":"100000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":false}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":false}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_business_over_three_of_five_years","value":false}]}]}},{"binds":"capital_transactions[].home_sale.business_part_land_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The land's part of the cost, from your purchase records. Or use the split you used for depreciation. Land is not depreciated, so none of the depreciation is the land's. Enter 0 if there is no land. If you paid in another currency, convert it at the exchange rate on the day you paid.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.business_part_land_basis","includes_united_states":false,"kind":"money","label":"How much of your basis in it is the land's?","label_when":[],"options":[],"placeholder":"80000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.whole_home_used_on_sale_date","value":false}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":false}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_business_over_three_of_five_years","value":false}]}]}},{"binds":"capital_transactions[].home_sale.depreciation_after_may_6_1997","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your past Forms 4562 and 8829 show it. Count depreciation you could have taken even if you did not take it. This part of the gain cannot be left out and is taxed at up to 25%. It is also the depreciation the adjusted basis you gave was reduced by.","help_lines":["A year you used the simplified method for a home office counts as zero depreciation for that office."],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2023}]},"Publication 523 for this year, Worksheet 3, Section A, Step 2: \"List the total of all depreciation deductions that you took or could have taken for the use of your home for business or rental purposes between May 6, 1997, and the date of sale\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"lt","ref":"context.tax_year","value":2024}]},"Publication 523 for this year, Worksheet 3, Section A, Step 2: \"List the total of all depreciation deductions that you took or could have taken for the use of your home for business or rental purposes between May 7, 1997, and the date of sale\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2023},{"op":"lt","ref":"context.tax_year","value":2026}]},"Publication 523 for this year, Worksheet 3, Section A, Step 2: \"List the total of all depreciation deductions that you took or could have taken for the use of all or part of your home for business or rental purposes between May 7, 1997, and the date of sale\"."]],"id":"income_sources.capital_transactions.home_sale.depreciation_after_may_6_1997","includes_united_states":false,"kind":"money","label":"What depreciation did you or could you claim for it since May 7, 1997?","label_when":[],"options":[],"placeholder":"12000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]}},{"binds":"capital_transactions[].home_sale.depreciation_straight_line_after_1986","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That counts what you took and what you could have taken. That is the usual case: a rental home placed in service after 1986 is depreciated in equal amounts over 27.5 years, and a home office over 31.5 or 39 years.","help_lines":["The Form 4797 instructions say that for this property \"Section 1250 recapture does not apply.\" Any other depreciation is reported on Form 4797 in a way we do not work out, so a no means this return cannot be filed from here."],"help_when":[],"id":"income_sources.capital_transactions.home_sale.depreciation_straight_line_after_1986","includes_united_states":false,"kind":"yesno","label":"Was your depreciation all straight-line, no special allowance, on a use begun after 1986?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"gt","ref":"income_sources.capital_transactions.home_sale.depreciation_after_may_6_1997","value":0}]}},{"binds":"capital_transactions[].home_sale.depreciation_before_may_7_1997","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 4797 counts all of the depreciation, and only the part after May 6, 1997 cannot be left out. We do not work out the earlier part, so a yes means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.depreciation_before_may_7_1997","includes_united_states":false,"kind":"yesno","label":"Did you take, or could you take, depreciation on it before May 7, 1997?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]},{"op":"ne","ref":"income_sources.capital_transactions.home_sale.separate_part_lived_in_two_of_five_years","value":true}]}},{"binds":"capital_transactions[].home_sale.nonqualified_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Time after you last lived there, within the 5 years before the sale, does not count, such as renting it out after you moved abroad.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2021}]},"Publication 523 for this year, Worksheet 3, Section B, is for: \"there is a period, after the year 2008, when neither you nor your spouse (or your former spouse) used the property as a main home\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2020},{"op":"lt","ref":"context.tax_year","value":2023}]},"Publication 523 for this year, Worksheet 3, Section B, is for: \"periods of non-qualified use when neither you nor your spouse (or your former spouse) used the property as your main residence\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"lt","ref":"context.tax_year","value":2026}]},"Publication 523 for this year, Worksheet 3, Section B, is for: \"periods of nonqualified use when neither you nor your spouse (or your former spouse) used the entire property as your main home\"."]],"id":"income_sources.capital_transactions.home_sale.nonqualified_use","includes_united_states":false,"kind":"yesno","label":"After 2008 and before you last lived there, was the home ever neither your nor your spouse's main home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]}},{"binds":"capital_transactions[].home_sale.nonqualified_use_excepted","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 523, Worksheet 3, Section B, Note: \"If the period of nonuse was 1) for an aggregate of 2 years or less and due to a change in employment, a health condition, or other 'unforeseen circumstance' ... then you may skip Section B.\"","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.home_sale.nonqualified_use_excepted","includes_united_states":false,"kind":"yesno","label":"Was it 2 years or less, due to your work, health or the unforeseen?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.nonqualified_use"}]}},{"binds":"capital_transactions[].home_sale.nonqualified_use_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count them from your own records. We take the days you owned the home from the dates you bought and sold it.","help_lines":["Leave out days away, up to 2 years in total, because of a change of job, a health condition or an unforeseen event.","Leave out too up to 10 years when you or your spouse served away on qualified official extended duty in the uniformed services, the Foreign Service or the intelligence community."],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2021}]},"Publication 523 for this year, Worksheet 3, Section B, Step 2: \"Enter the total number of days after 2008 when neither you nor your spouse (or former spouse) used the home as a main residence\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2020},{"op":"lt","ref":"context.tax_year","value":2023}]},"Publication 523 for this year, Worksheet 3, Section B, Step 2: \"Enter the total number of days after 2008 and before the date of sale that neither you nor your spouse (or former spouse) used the home as a main residence. Do not include any days that occurred after the last day that you or your spouse (or former spouse) used the property as your main residence during the 5-year period prior to the date of sale\"."],[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"lt","ref":"context.tax_year","value":2026}]},"Publication 523 for this year, Worksheet 3, Section B, Step 2: \"Enter the total number of days after 2008 and before the date of sale that neither you nor your spouse (or former spouse) used the entire home as a main residence. Do not include any days that occurred after the last day that you or your spouse (or former spouse) used the entire property as your main home during the 5-year period prior to the date of sale\"."]],"id":"income_sources.capital_transactions.home_sale.nonqualified_use_days","includes_united_states":false,"kind":"integer","label":"How many of those days was it neither your nor your spouse's main home?","label_when":[],"options":[],"placeholder":"730","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.home_sale.compute_home_sale","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"day_count":{"message_bounds":"Enter the days as a whole number, with no decimals."}},"validators":["day_count"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_sold_apart"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.vacant_land_part_of_home"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.vacant_land_home_sale_qualifies","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_buyer_related"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.other_special_situation"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_interest_sold"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.remainder_earlier_interest_excluded"}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.nonqualified_use"}]},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.nonqualified_use_excepted","value":false}]}},{"binds":"capital_transactions[].source_form","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only a United States broker sends these forms. Form 1099-DA reports sales of crypto and other digital assets from 2025. If you sold through a broker or exchange outside the United States, you most likely received neither.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.source_form","includes_united_states":false,"kind":"choice","label":"Did you receive a Form 1099-B or Form 1099-DA for this sale?","label_when":[],"options":[{"label":"Yes, a Form 1099-B.","value":"1099-B"},{"label":"Yes, a Form 1099-DA, which reports digital asset sales.","value":"1099-DA"},{"label":"No, neither form came for this sale.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"}]}},{"binds":"capital_transactions[].subtotal_row","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Entering each sale is simplest: there is nothing to upload. With very many sales on one statement, you can instead enter one total for each sales type, the heading above each table of sales. The IRS then needs the broker's statement itself, attached as a PDF before filing.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.subtotal_row","includes_united_states":false,"kind":"yesno","label":"How are you entering the sales from this form?","label_when":[],"options":[{"label":"Enter each sale on its own (recommended). Nothing to upload.","value":"no"},{"label":"Enter one total per sales type, and attach the broker's statement as a PDF.","value":"yes"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.capital_transactions.source_form","values":["1099-B","1099-DA"]}},{"binds":"capital_transactions[].collectible","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Collectibles include works of art, rugs, antiques, metals such as gold, silver and platinum bullion, gems, stamps, coins, alcoholic beverages and some other physical items. The gain on a collectible held for more than a year can be taxed at up to 28%.","help_lines":["A fund or trust that holds metal, such as a gold trust, or an exchange-traded commodity counts when you held your interest in it for more than a year."],"help_when":[[{"op":"truthy","ref":"income_sources.capital_transactions.subtotal_row"},"If your statement marks any sale in this subtotal as from collectibles, enter that sale on its own row and answer no for the rest."],[{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"1099-B"},"Your Form 1099-B says so: answer yes if the Collectibles box in box 3 is checked for this sale, and no if it is not."]],"id":"income_sources.capital_transactions.collectible","includes_united_states":false,"kind":"yesno","label":"Was what you sold a collectible?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind"},{"op":"answered","ref":"income_sources.capital_transactions.box_category"}]},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"1099-B"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"},{"op":"in","ref":"income_sources.capital_transactions.box_category","values":["lt_no_form"]}]}]}},{"binds":"capital_transactions[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The description printed on your broker's statement, such as the share name and the number sold.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.capital_transactions.subtotal_row"},"For a subtotal, give the name of the broker that sent you the form."]],"id":"income_sources.capital_transactions.description","includes_united_states":false,"kind":"text","label":"What did you sell?","label_when":[],"options":[],"placeholder":"100 shares of Stock A","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"capital_transactions[].acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1b of Form 1099-B or box 1d of Form 1099-DA. Or the date acquired column on your broker's statement. Leave it blank if the statement does not say.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},"For something you were given, enter the date it was given to you. The date the giver got it is asked separately."],[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"wash_sale_replacement"},"For shares you bought back after a loss, enter the date you bought these shares back. The earlier shares' dates are asked separately."],[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"spouse_transfer"},"For something your spouse or former spouse transferred to you, enter the date your spouse got it, not the date of the transfer: you take over their dates."]],"id":"income_sources.capital_transactions.acquired_on","includes_united_states":false,"kind":"date","label":"When did you buy it?","label_when":[],"options":[],"placeholder":"2021-05-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.subtotal_row"}]}},{"binds":"capital_transactions[].sold_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1c of Form 1099-B or box 1e of Form 1099-DA. Or the date sold column on your broker's statement. It has to fall in the tax year of this return: a sale from another year goes on that year's return.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.sold_on","includes_united_states":false,"kind":"date","label":"When did you sell it?","label_when":[],"options":[],"placeholder":"2025-07-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_tax_year","not_after_tax_year"],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.subtotal_row"}]}},{"binds":"capital_transactions[].proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1d of your Form 1099-B, or box 1f of your Form 1099-DA. Give it in United States dollars. If you were paid in another currency, convert it at the exchange rate in effect on the day of the sale.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"},"With no form, enter what you received less your selling costs, such as fees and commissions."],[{"op":"truthy","ref":"income_sources.capital_transactions.subtotal_row"},"For a subtotal, enter the total proceeds your statement shows for that sales type."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.received_form_1099_s"}]},"For your home, enter the gross proceeds in box 2 of your Form 1099-S. Selling costs it leaves out, such as the agent's commission and legal fees, go in the adjustment you give later for this sale, as a negative figure, with the reason about selling costs."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.received_form_1099_s","value":false}]},"For your home, enter the selling price less your selling costs, such as the agent's commission and legal fees."],[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},"If you owned the home with someone else, including a spouse who is not on this return, enter only your share. If your Form 1099-S shows the whole price, enter your share of it."],[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},"Leave out what you got for furniture and other things that were not a permanent part of the home: Publication 523 has you report that as other income. Include vacant land next to the home that you owned and used as part of it and sold with it."]],"id":"income_sources.capital_transactions.proceeds","includes_united_states":false,"kind":"money","label":"How much did you get for it?","label_when":[],"options":[],"placeholder":"15000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_transactions[].cost_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1e of your Form 1099-B, box 1g of your Form 1099-DA, or your own purchase contract note.","help_lines":["If you bought the shares under a share option from your employer, box 1e is often less than they really cost you: the Form 8949 instructions say to add the amount that was counted as your pay when the option was granted or when you exercised it.","For something you inherited, the instructions say its cost is generally its value on the date the owner died.","Two cases differ. If the estate chose the later valuation date the estate tax rules allow, its cost is its value on that date. If you or your spouse gave it to the person who died within one year before their death, and it was then worth more than it had cost, its cost is what it cost that person just before their death.","For money in another currency whose exchange or payment gained more than {context.personal_currency_gain_limit}, its cost is what it was worth in dollars when it came in, worked out the same way every year, and what you sold it for is what it was worth in dollars when you changed, spent or sent it.","If you were paid in shares or share units, such as restricted stock, their value when they vested was already counted as your pay, so it belongs in the cost too. Where the cost on your statement is lower, give the adjustment with the reason about cost.","Give it in United States dollars.","If you paid in another currency, convert it at the exchange rate on the day you bought it. For something you inherited, use the rate on the date of death.","For a gift, convert the giver's cost at the rate on each day the giver paid, and its value on the day of the gift at the rate on that day.","If your currency has more than one official rate, give the figure in US dollars at the rate you actually used."],"help_when":[[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"spouse_transfer"},"For something your spouse or former spouse transferred to you, enter your spouse's cost, what they paid for it, with the improvements, not its value on the day of the transfer."],[{"op":"truthy","ref":"income_sources.capital_transactions.subtotal_row"},"For a subtotal, enter the total cost your statement shows for that sales type."],[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},"For something you were given, enter the cost your form shows (box 1e of Form 1099-B, box 1g of Form 1099-DA), or 0 if no form came. We work out its basis from your answers about the gift."],[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"wash_sale_replacement"},"For shares you bought back after a loss, enter the cost your form shows (box 1e of Form 1099-B, box 1g of Form 1099-DA), or what you paid for them if no form came. The blocked loss is asked separately."],[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},"For your home, enter its adjusted basis from Publication 523, Worksheet 2, line 6: what you paid for it with the buying costs and the improvements still part of it, less any depreciation you took or could have taken and the other reductions that worksheet lists."],[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},"If you owned the home with someone else, including a spouse who is not on this return, enter only your share. If your Form 1099-S shows the whole price, enter your share of it."],[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},"A year you used the simplified method for a home office counts as zero depreciation for that office."],[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},"If you paid for the home, the buying costs or the improvements in another currency, convert each payment at the exchange rate on the day you paid it, not all at the rate on the day you bought the home."]],"id":"income_sources.capital_transactions.cost_basis","includes_united_states":false,"kind":"money","label":"What did it cost you?","label_when":[],"options":[],"placeholder":"8000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_transactions[].box_category","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Form 1099-B says both: box 2 says short term or long term, and box 12 is checked when the cost was reported to the IRS.","help_lines":["On Form 1099-DA, box 6 gives the term and box 2 is checked when the cost was reported.","Many statements also print the answer as a heading above the sale.","Long term means held for more than one year, counting from the day after you bought it, and your dates have to agree with the answer."],"help_when":[[{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"},"If no form came for this sale, choose one of the two answers that say you received none."]],"id":"income_sources.capital_transactions.box_category","includes_united_states":false,"kind":"choice","label":"How long did you hold it, and was the cost reported for you?","label_when":[],"options":[{"label":"Held a year or less, and the cost was reported to the IRS.","value":"st_covered"},{"label":"Held a year or less, and the cost was not reported to the IRS.","value":"st_noncovered"},{"label":"Held more than a year, and the cost was reported to the IRS.","value":"lt_covered"},{"label":"Held more than a year, and the cost was not reported to the IRS.","value":"lt_noncovered"},{"label":"Held a year or less, and no Form 1099-B or 1099-DA came for it.","value":"st_no_form"},{"label":"Held more than a year, and no Form 1099-B or 1099-DA came for it.","value":"lt_no_form"},{"label":"The statement does not say.","value":"unknown"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_transactions[].holding_period_reason","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Shares you inherit are long term whatever your dates say, even when your statement prints short term, and shares you were given or bought back after a loss can count the earlier owner's or the earlier shares' time too, so your broker may print long term beside a recent purchase date.","help_lines":["Your statement and your dates can both be right then."],"help_when":[],"id":"income_sources.capital_transactions.holding_period_reason","includes_united_states":false,"kind":"choice","label":"Did you get it in a way that starts its holding period earlier?","label_when":[],"options":[{"label":"No, I bought it myself.","value":"none"},{"label":"I inherited it.","value":"inherited"},{"label":"Someone gave it to me.","value":"gift"},{"label":"I bought it within 30 days before or after selling the same thing at a loss.","value":"wash_sale_replacement"},{"label":"My spouse or former spouse transferred it to me.","value":"spouse_transfer"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"answered","ref":"income_sources.capital_transactions.box_category"},{"op":"answered","ref":"income_sources.capital_transactions.acquired_on"}]}},{"binds":"capital_transactions[].spouse_was_nonresident_alien","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if your spouse was not a United States citizen or a resident for tax purposes at the time, or if you are not sure: the rule that lets you take over your spouse's cost and dates does not apply then, and we do not work out what does.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.spouse_was_nonresident_alien","includes_united_states":false,"kind":"yesno","label":"Was your spouse neither a United States citizen nor a resident then?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"spouse_transfer"}},{"binds":"capital_transactions[].gift.donor_adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Publication 550 calls this the donor's adjusted basis: what they paid, plus any costs of buying it, adjusted for anything that changed it while they held it.","help_lines":["Ask the person who gave it to you for the figure from their records, as it stood just before the gift; a change while you held it is asked separately.","Give it in United States dollars.","If they paid in another currency, convert it at the exchange rate on the day the person who gave it to you bought it.","If your currency has more than one official rate, give the figure in US dollars at the rate you actually used."],"help_when":[],"id":"income_sources.capital_transactions.gift.donor_adjusted_basis","includes_united_states":false,"kind":"money","label":"What was the giver's cost for it, just before they gave it to you?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"}},{"binds":"capital_transactions[].gift.fair_market_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its value on the day of the gift, from your broker's statement. For example the closing price that day times the number of shares.","help_lines":["When this is less than the giver's cost, a loss on the sale is figured from this value instead.","Give it in United States dollars.","For a value in another currency, use the exchange rate on the day of the gift.","If your currency has more than one official rate, give the figure in US dollars at the rate you actually used."],"help_when":[],"id":"income_sources.capital_transactions.gift.fair_market_value","includes_united_states":false,"kind":"money","label":"What was it worth on the day it was given to you?","label_when":[],"options":[],"placeholder":"9000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"}},{"binds":"capital_transactions[].gift.donor_acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the giver's own records, such as their purchase contract note. Publication 550 counts their time holding it as yours when the sale is figured from their cost. Leave it blank if you do not know the date; you will then be asked whether it was more than a year before your sale.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.donor_acquired_on","includes_united_states":false,"kind":"date","label":"When did the person who gave it to you get it?","label_when":[],"options":[],"placeholder":"2015-04-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"}},{"binds":"capital_transactions[].gift.donor_held_more_than_one_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count from the day after they got it up to and including the day you sold it.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.donor_held_more_than_one_year","includes_united_states":false,"kind":"yesno","label":"Did they get it more than a year before the day you sold it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},{"op":"not","rules":[{"op":"answered","ref":"income_sources.capital_transactions.gift.donor_acquired_on"}]}]}},{"binds":"capital_transactions[].gift.donor_holding_documented","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For crypto and other digital assets received as a gift, Publication 550 counts the giver's time as yours only when you have documentation of how long they held it, such as their own records. Without it, your holding period starts the day after you received the gift.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.donor_holding_documented","includes_united_states":false,"kind":"yesno","label":"Do you have records of how long the giver held it before you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"digital"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"1099-DA"}]},{"op":"gt","ref":"context.tax_year","value":2023}]}},{"binds":"capital_transactions[].gift.paid_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you paid part of the price, so that it was partly a sale and partly a gift. We do not work out that case, so a yes means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.paid_part","includes_united_states":false,"kind":"yesno","label":"Did you pay anything for it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"}},{"binds":"capital_transactions[].gift.basis_adjusted_while_held","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records: nondividend distributions on shares lower their cost, as the Form 8949 instructions say. We do not work out a gift whose cost changed while you held it, so a yes means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.basis_adjusted_while_held","includes_united_states":false,"kind":"yesno","label":"Did your cost in it change while held, as by a return of capital?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"}},{"binds":"capital_transactions[].gift.gift_tax_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Gift tax is reported on Form 709, the gift tax return. Part of it can be added to your basis when the gift was worth more than the giver's cost.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.gift_tax_paid","includes_united_states":false,"kind":"yesno","label":"Did the person who gave it to you pay gift tax on it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.capital_transactions.gift.donor_adjusted_basis"}]},{"op":"not","rules":[{"op":"answered","ref":"income_sources.capital_transactions.gift.fair_market_value"}]},{"op":"not","rules":[{"op":"lt","ref":"income_sources.capital_transactions.gift.fair_market_value","value_ref":"income_sources.capital_transactions.gift.donor_adjusted_basis"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"digital"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"1099-DA"}]},{"op":"gt","ref":"context.tax_year","value":2023}]}]}]}},{"binds":"capital_transactions[].gift.gift_tax_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The gift tax paid on this gift, from the giver's Form 709. Give it in United States dollars. For an amount in another currency, use the exchange rate on the day it was paid or received.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.gift_tax_amount","includes_united_states":false,"kind":"money","label":"How much gift tax was paid on what you were given?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},{"op":"truthy","ref":"income_sources.capital_transactions.gift.gift_tax_paid"}]}},{"binds":"capital_transactions[].gift.gift_tax_value_of_gift","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its value for gift tax purposes after taking off the annual exclusion and any marital or charitable deduction, as the giver's Form 709 shows it. Give it in United States dollars. For an amount in another currency, use the exchange rate on the day it was paid or received.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.gift.gift_tax_value_of_gift","includes_united_states":false,"kind":"money","label":"What was the amount of your gift for gift tax purposes?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"gift"},{"op":"truthy","ref":"income_sources.capital_transactions.gift.gift_tax_paid"}]}},{"binds":"capital_transactions[].wash_sale_replacement.disallowed_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The loss you could not deduct on the earlier sale, which is added to the cost of these shares. A Form 1099-B shows it in box 1g of the earlier sale. Give it in United States dollars. For an amount in another currency, use the exchange rate on the day it was paid or received.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.wash_sale_replacement.disallowed_loss","includes_united_states":false,"kind":"money","label":"How much loss on the earlier sale was blocked because you bought these shares?","label_when":[],"options":[],"placeholder":"250","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"wash_sale_replacement"}},{"binds":"capital_transactions[].wash_sale_replacement.included_in_cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A broker that tracked the wash sale in the same account adds the blocked loss to the cost it reports for the new shares. Answer no if the cost is only what you paid.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.wash_sale_replacement.included_in_cost","includes_united_states":false,"kind":"yesno","label":"Does the cost you entered for these shares already include that blocked loss?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"wash_sale_replacement"},{"op":"in","ref":"income_sources.capital_transactions.source_form","values":["1099-B","1099-DA"]}]}},{"binds":"capital_transactions[].wash_sale_replacement.original_acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date acquired on your statement for the earlier sale, box 1b of its Form 1099-B. Their holding period counts towards these shares' holding period.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.wash_sale_replacement.original_acquired_on","includes_united_states":false,"kind":"date","label":"When did you buy the shares you sold at a loss?","label_when":[],"options":[],"placeholder":"2024-01-05","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"wash_sale_replacement"}},{"binds":"capital_transactions[].wash_sale_replacement.original_sold_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date sold on your statement for the earlier sale, box 1c of its Form 1099-B. A wash sale buys the same thing back within 30 days before or after the sale at a loss.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.wash_sale_replacement.original_sold_on","includes_united_states":false,"kind":"date","label":"When did you sell them at a loss?","label_when":[],"options":[],"placeholder":"2025-02-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.holding_period_reason","value":"wash_sale_replacement"}},{"binds":"capital_transactions[].wash_sale_disallowed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1g of your Form 1099-B, or box 1i of your Form 1099-DA. Type it as a positive number even if your statement shows it in parentheses. Give it in United States dollars. For an amount in another currency, use the exchange rate on the day it was paid or received.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"},"With no form, enter the part of this sale's loss you cannot deduct because you bought the same or substantially identical shares within 30 days before or after the sale. It can be no more than the loss."]],"id":"income_sources.capital_transactions.wash_sale_disallowed","includes_united_states":false,"kind":"money","label":"How much of your loss was blocked because you bought the same thing back?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_transactions[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form 1099-B or Form 1099-DA, and only tax the United States kept back. It is empty on most statements; leave it at zero then.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much United States federal income tax did your broker take off?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.capital_transactions.source_form","values":["1099-B","1099-DA"]}},{"binds":"capital_transactions[].adjustment_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it at zero unless your own records say the figures on the statement need adjusting.","help_lines":["Shares you bought under an employer share option are the common case, because the cost your broker reports leaves out the part that was already counted as your pay.","Enter a figure that lowers your gain as a negative number, such as selling costs your form leaves out.","A loss blocked because you bought the same thing back is already counted in your answer about that blocked loss and does not belong here.","Give it in United States dollars.","For an amount in another currency, use the exchange rate on the day it was paid or received."],"help_when":[],"id":"income_sources.capital_transactions.adjustment_amount","includes_united_states":false,"kind":"money","label":"How much does your gain or loss need to be adjusted by?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_transactions[].adjustment_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your broker does not print this: the sale schedule carries a letter of its own to say why your figure differs from the statement, and picking the reason here chooses the letter for you.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.adjustment_code","includes_united_states":false,"kind":"choice","label":"Which of these explains the adjustment you just gave?","label_when":[],"options":[{"label":"The cost your statement reported for it was wrong.","value":"B"},{"label":"You sold a collectible, such as art, a coin or a stamp collection.","value":"C"},{"help":"Enter the discount in the adjustment as a negative number. We report it as interest, as the form says to.","label":"Your statement shows discount that had built up on a bond you held.","value":"D"},{"label":"Selling costs, option premiums or digital asset costs are not in the figures on your statement.","value":"E"},{"label":"You sold the home you live in at a gain, and some or all of that gain is not taxed.","value":"H"},{"label":"You cannot deduct the loss, for a reason other than having bought the same thing back.","value":"L"},{"label":"You put several sales together on one row.","value":"M"},{"label":"The statement came to you, but someone else owned what was sold.","value":"N"},{"help":"If the sale is of a bond whose payments depend on a future event, you will be asked, because that has a worksheet of its own that we do not prepare.","label":"Something else needs adjusting that none of these answers covers.","value":"O"},{"label":"You sold a share in a partnership that does business in the United States, and the United States taxes you only on your income from there.","value":"P"},{"label":"You sold shares in a small business and some of the gain is not taxed.","value":"Q"},{"label":"You are putting off tax on the gain by reinvesting it.","value":"R"},{"help":"Choosing this means we cannot prepare this return, because that part of the loss is reported on a form we do not prepare for it.","label":"You lost money on small business shares, and part of the loss counts against ordinary income.","value":"S"},{"label":"Your statement gives the wrong holding period, short term where it was long term or the other way round.","value":"T"},{"label":"You cannot deduct the loss because you bought the same thing back.","value":"W"},{"label":"Some of your gain is not taxed because of an enterprise zone or a qualified community.","value":"X"},{"help":"Choosing this means your return cannot be filed from here, because the IRS wants a separate form with it that we do not prepare.","label":"You are reporting a gain you put off in an earlier year by investing in an opportunity fund.","value":"Y"},{"help":"Choosing this means your return cannot be filed from here, because the IRS wants a separate form with it that we do not prepare.","label":"You are putting off tax on a gain by investing it in an opportunity fund.","value":"Z"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"gt","ref":"income_sources.capital_transactions.adjustment_amount","value":0},{"op":"lt","ref":"income_sources.capital_transactions.adjustment_amount","value":0}]}},{"binds":"capital_transactions[].unrecaptured_section_1250_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only for a building or other real property you took depreciation on, such as a former rental, held for more than a year: from your own records, the smaller of the depreciation you took or could have taken on it and the gain on this sale, less any part of the gain already taxed as ordinary income.","help_lines":["Leave it at zero for shares and any other sale."],"help_when":[[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false}]},"For your home, leave this at zero: the home sale questions ask for its depreciation and work this part out."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":true}]},"For this home, none of the gain can be left out, so enter it here: the smaller of the gain and all the depreciation taken or allowable on the home, including what was taken on the property you swapped for it. Enter 0 only if neither home was ever used for business or rental, so no depreciation was allowable."]],"id":"income_sources.capital_transactions.unrecaptured_section_1250_gain","includes_united_states":false,"kind":"money","label":"How much of your gain came from property you had written down?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_d.reported_capital_transactions","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"not","rules":[{"op":"in","ref":"income_sources.capital_transactions.asset_kind","values":["stocks","digital"]}]}},{"binds":"capital_transactions[].personal_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for something you kept for your own use and not to earn income. A loss on a sale of something like that cannot be deducted, so we leave it out.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.personal_use","includes_united_states":false,"kind":"yesno","label":"Did you use it yourself, like a car or a vacation home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false}]},{"op":"gt","ref":"income_sources.capital_transactions.cost_basis","value_ref":"income_sources.capital_transactions.proceeds"}]}},{"binds":"capital_transactions[].sold_to_related_party","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Relatives are your brothers and sisters, your spouse, your parents and grandparents, and your children and grandchildren. A loss on a sale to a relative, or to a company you own more than half of, cannot be deducted. If you answer yes and the loss is on something other than shares, we cannot prepare this return, because we do not work out which buyers count.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.sold_to_related_party","includes_united_states":false,"kind":"yesno","label":"Did you sell it to a relative or to a company you control?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false}]},{"op":"gt","ref":"income_sources.capital_transactions.cost_basis","value_ref":"income_sources.capital_transactions.proceeds"}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]}]}},{"binds":"capital_transactions[].payments_after_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if the buyer pays you in installments that run into a later year. A sale paid for over time is reported on a different form, which we do not prepare.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.payments_after_year","includes_united_states":false,"kind":"yesno","label":"Will any of the price be paid to you after this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false}]}},{"binds":"capital_transactions[].contingent_payment_debt","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your broker's form marks one as a contingent payment debt instrument. Answer no for anything else. A yes means we cannot prepare this return, because the worksheet for it needs figures we do not hold.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.contingent_payment_debt","includes_united_states":false,"kind":"yesno","label":"Is what you sold a bond whose payments depend on a future event?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.capital_transactions.adjustment_code","value":"O"}},{"binds":"capital_transactions[].real_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An apartment, a house, an office or a plot of land counts. Answer no for anything else, such as a car, art or gold.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.real_property","includes_united_states":false,"kind":"yesno","label":"Was what you sold land or a building?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"other"},{"op":"eq","ref":"income_sources.capital_transactions.main_home_sale","value":false}]}},{"binds":"capital_transactions[].property_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your deeds or the sale contract. Choose the United States for a property there.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.property_country","includes_united_states":true,"kind":"country","label":"Which country is your property in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"US","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"truthy","ref":"income_sources.capital_transactions.real_property"}]}},{"binds":"capital_transactions[].foreign_currency_loan_paid_off","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A mortgage or other loan in euros, pounds or any currency other than US dollars. Paying it off at a different exchange rate from the one you borrowed at brings a gain or a loss of its own, which we do not work out.","help_lines":["Choose Not sure if you cannot tell from your loan papers."],"help_when":[],"id":"income_sources.capital_transactions.foreign_currency_loan_paid_off","includes_united_states":false,"kind":"yesno","label":"Did you pay off a loan in another currency when you sold it?","label_when":[],"off_ramp":{"body":"Paying off a loan in another currency at a different exchange rate brings a gain or a loss of its own, which we do not work out.","code":"currency_loan_payoff","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a currency gain on a loan","when":{"op":"truthy","ref":"income_sources.capital_transactions.foreign_currency_loan_paid_off"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"truthy","ref":"income_sources.capital_transactions.real_property"}]},{"op":"answered","ref":"income_sources.capital_transactions.property_country"},{"op":"ne","ref":"income_sources.capital_transactions.property_country","value":"US"}]}},{"binds":"capital_transactions[].taxed_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your tax assessment or the statement of the bank that sold it shows the tax.","help_lines":["For a loss, answer yes if that country would have taxed a gain on it.","Where it was sold does not matter, only whether another country taxed it."],"help_when":[],"id":"income_sources.capital_transactions.taxed_abroad","includes_united_states":false,"kind":"yesno","label":"Did another country tax your gain on this sale?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.real_property"}]}]}},{"binds":"capital_transactions[].taxed_by_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your tax assessment.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.taxed_by_country","includes_united_states":false,"kind":"country","label":"Which country taxed your gain?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"truthy","ref":"income_sources.capital_transactions.taxed_abroad"}},{"binds":"capital_transactions[].foreign_tax_at_least_10_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Divide the tax on this sale, from your assessment, by the gain on it. For a loss, answer yes if that country's rate on a gain would have been 10% or more.","help_lines":["Below 10%, the gain counts as income from the United States for the credit for tax paid abroad."],"help_when":[],"id":"income_sources.capital_transactions.foreign_tax_at_least_10_percent","includes_united_states":false,"kind":"yesno","label":"Was that tax at least 10% of your gain?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.capital_transactions.taxed_abroad"}},{"binds":"capital_transactions[].foreign_fund","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your broker's contract note or the fund's own papers say where it is set up. A fund based in Ireland, Luxembourg or another country, such as a UCITS fund, is set up outside the United States.","help_lines":["Choose Not sure if you cannot check.","A fund or ETF set up outside the United States is taxed under rules of its own, worked out on Form 8621. If you answer yes, enter this money on the fund's own row under shares in a fund set up abroad, and remove this row."],"help_when":[],"id":"income_sources.capital_transactions.foreign_fund","includes_united_states":false,"kind":"yesno","label":"Was what you sold a fund or ETF set up outside the United States?","label_when":[],"off_ramp":{"body":"Payments and sales of a fund set up outside the United States are worked out on Form 8621 from the fund's own row, so this row cannot stay.","code":"foreign_fund_form_8621","next_step":"Add the fund under shares in a fund set up abroad on the kinds of income, with this payment or sale, then remove this row.","severity":"block","title":"Enter this fund's money on the fund's own row","when":{"op":"truthy","ref":"income_sources.capital_transactions.foreign_fund"}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"none"}]}},{"clears":["income_sources.capital_transactions.incentive_stock_option.granted_on","income_sources.capital_transactions.incentive_stock_option.price_paid","income_sources.capital_transactions.incentive_stock_option.value_at_exercise","income_sources.capital_transactions.incentive_stock_option.amt_basis","income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2","income_sources.capital_transactions.incentive_stock_option.free_to_sell_at_exercise","income_sources.capital_transactions.incentive_stock_option.conflict_of_interest_sale","income_sources.capital_transactions.incentive_stock_option.bought_replacement_within_30_days","income_sources.capital_transactions.incentive_stock_option.w2_employer_name","income_sources.capital_transactions.incentive_stock_option.w2_owner","income_sources.capital_transactions.incentive_stock_option.vesting_worked_abroad","income_sources.capital_transactions.incentive_stock_option.vesting_workdays_in_united_states","income_sources.capital_transactions.incentive_stock_option.vesting_abroad_days"],"currency_pickable":false,"derived_from_presence":["capital_transactions[].incentive_stock_option"],"help":"Say yes if a Form 3921 from your employer covers them.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.is_incentive_stock_option","includes_united_states":false,"kind":"yesno","label":"Did you get these shares by exercising an incentive stock option?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]}},{"binds":"capital_transactions[].incentive_stock_option.granted_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the Form 3921.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.granted_on","includes_united_states":false,"kind":"date","label":"When was the option granted to you?","label_when":[],"options":[],"placeholder":"2023-03-12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]}},{"binds":"capital_transactions[].incentive_stock_option.price_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The exercise price in box 3 of the Form 3921 times the shares sold, plus anything you paid for the option itself.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.price_paid","includes_united_states":false,"kind":"money","label":"What did you pay for these shares when you exercised?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]}},{"binds":"capital_transactions[].incentive_stock_option.value_at_exercise","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of the Form 3921 times the shares sold.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.value_at_exercise","includes_united_states":false,"kind":"money","label":"What were these shares worth on the day you exercised?","label_when":[],"options":[],"placeholder":"1200","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]}},{"binds":"capital_transactions[].incentive_stock_option.free_to_sell_at_exercise","clears":["income_sources.capital_transactions.incentive_stock_option.amt_basis"],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if you would have had to give them back on leaving your job, or could not sell them, for a time after you exercised. Your share plan statement says.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.free_to_sell_at_exercise","includes_united_states":false,"kind":"yesno","label":"Could you sell these shares freely from the day you exercised?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.capital_transactions.acquired_on","value":1}]}]}},{"binds":"capital_transactions[].incentive_stock_option.amt_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their worth on the day they became free to sell, which your records of that year's alternative minimum tax show.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.amt_basis","includes_united_states":false,"kind":"money","label":"What is your basis in these shares for the alternative minimum tax (an extra tax)?","label_when":[],"options":[],"placeholder":"1200","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.capital_transactions.acquired_on","value":1}]},{"op":"eq","ref":"income_sources.capital_transactions.incentive_stock_option.free_to_sell_at_exercise","value":false}]}},{"binds":"capital_transactions[].incentive_stock_option.conflict_of_interest_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is a sale under a certificate of divestiture, for example on taking a government job. Say no otherwise.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.conflict_of_interest_sale","includes_united_states":false,"kind":"yesno","label":"Did you sell these shares to meet federal conflict-of-interest rules?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]}},{"binds":"capital_transactions[].incentive_stock_option.bought_replacement_within_30_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your broker statements show any purchase. Shares bought that close to the sale change how much of it counts as pay.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.bought_replacement_within_30_days","includes_united_states":false,"kind":"yesno","label":"Did you buy the same stock within 30 days before or after this sale?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]},{"op":"lt","ref":"income_sources.capital_transactions.proceeds","value_ref":"income_sources.capital_transactions.incentive_stock_option.value_at_exercise"}]}},{"binds":"capital_transactions[].incentive_stock_option.ordinary_income_on_w2","clears":["income_sources.capital_transactions.incentive_stock_option.w2_employer_name","income_sources.capital_transactions.incentive_stock_option.w2_owner","income_sources.capital_transactions.incentive_stock_option.vesting_worked_abroad","income_sources.capital_transactions.incentive_stock_option.vesting_workdays_in_united_states","income_sources.capital_transactions.incentive_stock_option.vesting_abroad_days"],"currency_pickable":false,"derived_from_presence":[],"help":"It does that when you sell within two years of the grant or one year of exercising. Your Form W-2 or payslip shows it. Say no if it did not.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2","includes_united_states":false,"kind":"yesno","label":"Did your employer put part of this sale in your Form W-2 box 1?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]}},{"binds":"capital_transactions[].incentive_stock_option.w2_employer_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter the employer's name as you entered it on the wages page.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.w2_employer_name","includes_united_states":false,"kind":"text","label":"Which of your employers put this sale on a Form W-2?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]},{"op":"truthy","ref":"income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2"},{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}]}},{"binds":"capital_transactions[].incentive_stock_option.w2_owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the name printed on the form. Each of you is worked out separately for pay earned abroad.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.w2_owner","includes_united_states":false,"kind":"choice","label":"Is that Form W-2 yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]},{"op":"truthy","ref":"income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2"},{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"capital_transactions[].incentive_stock_option.vesting_worked_abroad","clears":["income_sources.capital_transactions.incentive_stock_option.vesting_workdays_in_united_states","income_sources.capital_transactions.incentive_stock_option.vesting_abroad_days"],"currency_pickable":false,"derived_from_presence":[],"help":"Count the time from the grant date to the day you could first exercise. Your calendar or travel records show it.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.vesting_worked_abroad","includes_united_states":false,"kind":"yesno","label":"Did you work outside the United States before you could exercise this option?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]},{"op":"answered","ref":"income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2"},{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}]}},{"binds":"capital_transactions[].incentive_stock_option.vesting_workdays_in_united_states","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the days you worked in the United States, and any at sea or in the air outside every country, from your travel records. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.vesting_workdays_in_united_states","includes_united_states":false,"kind":"integer","label":"How many of your workdays over that time were in the United States?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"day_count":{"message_bounds":"Enter the days as a whole number, with no decimals."}},"validators":["day_count"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]},{"op":"answered","ref":"income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2"},{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.incentive_stock_option.vesting_worked_abroad"}]}},{"add_label":"Add a country","binds":"capital_transactions[].incentive_stock_option.vesting_abroad_days[]","help":"Add one row for each country. Tax paid abroad is credited country by country.","id":"income_sources.capital_transactions.incentive_stock_option.vesting_abroad_days","kind":"repeat","label":"In which countries did you work abroad over that time?","min_rows":1,"nodes":[{"binds":"capital_transactions[].incentive_stock_option.vesting_abroad_days[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country you were in while you worked, as your travel records show.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.vesting_abroad_days.country","includes_united_states":false,"kind":"country","label":"In which country did you work?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"capital_transactions[].incentive_stock_option.vesting_abroad_days[].workdays","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the workdays there from the grant date to the day you could first exercise, from your calendar or travel records.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.incentive_stock_option.vesting_abroad_days.workdays","includes_united_states":false,"kind":"integer","label":"How many days did you work there?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"day_count":{"message_bounds":"Enter the days as a whole number, with no decimals."}},"validators":["day_count"]}],"row_label":"Country","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.incentive_stock_options"},{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"stocks"}]},{"op":"truthy","ref":"income_sources.capital_transactions.is_incentive_stock_option"}]},{"op":"derived","ref":"income_sources.capital_transactions.inside_holding_period"}]},{"op":"answered","ref":"income_sources.capital_transactions.incentive_stock_option.ordinary_income_on_w2"},{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.incentive_stock_option.vesting_worked_abroad"}]}},{"binds":"capital_transactions[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.capital_transactions.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}}],"row_label":"Sale","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_capital_transactions"}]}},{"add_label":"Add a fund","binds":"pfic_holdings[]","help":"Add one row per fund or company. Most funds, ETFs, unit trusts and money market funds set up outside the United States are passive foreign investment companies (PFICs). So is a company abroad in a year when at least 75% of its income is from investments, or at least 50% of its assets produce investment income. Count shares you own, including through a bank or broker. On a joint return, count your spouse's shares too. On any other return, leave out shares that are your spouse's, which are not on your return. Do not count shares inside a United States retirement plan, IRA or education account, or inside a pension plan abroad that a tax treaty treats as a pension fund, where the treaty taxes the plan's income to you only when it is paid out. Count a fund in any other plan abroad.","id":"income_sources.pfic_holdings","kind":"repeat","label":"Which funds or companies set up abroad do you hold shares in?","min_rows":1,"nodes":[{"binds":"pfic_holdings[].name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As its annual report or factsheet prints it.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.name","includes_united_states":false,"kind":"text","label":"What is the name of your fund or company?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"pfic_holdings[].reference_id","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the number from your last Form 8621 for this fund. If you never filed one, the fund's ISIN, such as IE00B4L5Y983, works: keep using it every year.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.reference_id","includes_united_states":false,"kind":"text","label":"Which reference number do you use for this fund?","label_when":[],"options":[],"placeholder":"IE00B4L5Y983","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"pfic_reference_id":{"message":"Type the reference number using letters and digits only, with no spaces or other signs."}},"validators":["pfic_reference_id"]},{"binds":"pfic_holdings[].share_class","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As the fund names it, for example Accumulating USD shares.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.share_class","includes_united_states":false,"kind":"text","label":"Which class of shares do you hold?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"pfic_holdings[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}},{"binds":"pfic_holdings[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name on the account. Shares you hold together go on one row.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.owner","includes_united_states":false,"kind":"choice","label":"Whose shares are these, yours or your spouse's?","label_when":[],"options":[{"label":"Yours.","value":"taxpayer"},{"label":"Your spouse's.","value":"spouse"},{"label":"Owned by you both.","value":"joint"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"address_variant":"foreign","binds":"pfic_holdings[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its registered address, from the annual report or factsheet.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.address","includes_united_states":false,"kind":"address","label":"What is your fund's address?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"pfic_holdings[].regime","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people have made none. A choice is made on a Form 8621, so your earlier returns show it.","help_lines":["No choice: payments above the usual amount and gains on a sale are spread over the years you held the shares, with extra tax and interest.","A qualified electing fund (QEF) choice: you report your share of the fund's income each year from the annual information statement the fund sends.","A mark-to-market choice: each year you report the rise or fall in the shares' value, for shares traded on a recognized exchange.","Choose the last answer if something else applies or you cannot tell: the return cannot be filed from here until it is settled."],"help_when":[],"id":"income_sources.pfic_holdings.regime","includes_united_states":false,"kind":"choice","label":"Which choice have you made for this fund?","label_when":[],"off_ramp":{"body":"The tax on this fund depends on the choice that applies to it, so the return cannot be filed from here until you know.","code":"pfic_regime_not_settled","next_step":"Check your earlier Forms 8621: box A or C in Part II shows a choice you made.","severity":"block","title":"We need to know which treatment applies","when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"other"}},"options":[{"label":"No choice was made for this fund.","value":"section_1291"},{"label":"A qualified electing fund (QEF) choice.","value":"qef"},{"label":"A mark-to-market choice.","value":"mark_to_market"},{"label":"Something else, or I'm not sure.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].election_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you already made it on an earlier Form 8621.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.election_this_year","includes_united_states":false,"kind":"yesno","label":"Are you making this choice for the first time on this return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.pfic_holdings.regime","values":["qef","mark_to_market"]}},{"binds":"pfic_holdings[].qef_every_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you made it for your first year with the fund, or for the year the fund became a PFIC.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_every_year","includes_united_states":false,"kind":"yesno","label":"Has your qualified electing fund (QEF) choice applied every year you held the fund?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"eq","ref":"income_sources.pfic_holdings.election_this_year","value":false}]}},{"binds":"pfic_holdings[].pfic_every_year","clears":["income_sources.pfic_holdings.pfic_since"],"currency_pickable":false,"derived_from_presence":[],"help":"A fund is one from the start. A company becomes one in a year when at least 75% of its income is from investments, or at least 50% of its assets produce investment income.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.pfic_every_year","includes_united_states":false,"kind":"yesno","label":"Was it a foreign investment fund (a PFIC) every year you held it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.pfic_holdings.regime","values":["section_1291","qef","mark_to_market"]}},{"binds":"pfic_holdings[].pfic_since","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The company's annual report or its own statement says when it became one. For shares bought before 1987, give the first day of its first tax year as a PFIC that began after 1986.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.pfic_since","includes_united_states":false,"kind":"date","label":"When did your company's first tax year as a PFIC (foreign investment fund) begin?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.pfic_holdings.regime","values":["section_1291","qef","mark_to_market"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.pfic_every_year","value":false},{"op":"any_row","ref":"income_sources.pfic_holdings.blocks","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":40}]}]}]}]}]}]}]}},{"binds":"pfic_holdings[].mark_to_market_before","clears":["income_sources.pfic_holdings.mark_to_market_last_year"],"currency_pickable":false,"derived_from_presence":[],"help":"That is box C in Part II of an earlier Form 8621, or a Part IV filled in. Answer no if you never made that choice.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.mark_to_market_before","includes_united_states":false,"kind":"yesno","label":"Did the mark-to-market choice (yearly value) apply to your shares in an earlier year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"}},{"binds":"pfic_holdings[].mark_to_market_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last year your Form 8621 for this fund had Part IV filled in.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.mark_to_market_last_year","includes_united_states":false,"kind":"integer","label":"In what year did your mark-to-market choice (yearly value) last apply?","label_when":[],"options":[],"placeholder":"2022","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"pfic_rules_year_range":{"message_bounds":"Enter a four-digit year between 1987 and 2099."}},"validators":["pfic_rules_year_range"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"},{"op":"truthy","ref":"income_sources.pfic_holdings.mark_to_market_before"}]}},{"binds":"pfic_holdings[].fund_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The annual information statement names the fund's year, for example 30 June.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.fund_year_end","includes_united_states":false,"kind":"date","label":"On what day did your fund's tax year end this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"}},{"binds":"pfic_holdings[].qef_ordinary_earnings","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The PFIC annual information statement gives your share of the ordinary earnings, in dollars.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_ordinary_earnings","includes_united_states":false,"kind":"money","label":"What share of the fund's ordinary earnings does its statement give you?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"}},{"binds":"pfic_holdings[].qef_net_capital_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The same statement gives your share of the net capital gain. Enter zero if it shows none.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_net_capital_gain","includes_united_states":false,"kind":"money","label":"What share of the fund's net capital gain does its statement give you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"}},{"binds":"pfic_holdings[].qef_capital_gain_report","clears":["income_sources.pfic_holdings.qef_28_rate_gain","income_sources.pfic_holdings.qef_unrecaptured_1250_gain"],"currency_pickable":false,"derived_from_presence":[],"help":"Some statements split the gain into kinds, such as 28% rate gain. Others give one amount taxed at your highest capital gain rate.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_capital_gain_report","includes_united_states":false,"kind":"choice","label":"How does your fund's statement show its capital gain?","label_when":[],"options":[{"label":"By kind of gain, such as 28% rate gain.","value":"categories"},{"label":"As one amount taxed at your highest capital gain rate.","value":"highest_rate"},{"label":"Something else, or I am not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"gt","ref":"income_sources.pfic_holdings.qef_net_capital_gain","value":0}]}},{"binds":"pfic_holdings[].qef_28_rate_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement shows it, for example gain on collectibles. Enter zero if it shows none.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_28_rate_gain","includes_united_states":false,"kind":"money","label":"How much of your gain is 28% rate gain?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"eq","ref":"income_sources.pfic_holdings.qef_capital_gain_report","value":"categories"}]}},{"binds":"pfic_holdings[].qef_unrecaptured_1250_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement shows it, from buildings the fund sold. Enter zero if it shows none.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_unrecaptured_1250_gain","includes_united_states":false,"kind":"money","label":"How much of your gain is unrecaptured section 1250 gain?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"eq","ref":"income_sources.pfic_holdings.qef_capital_gain_report","value":"categories"}]}},{"binds":"pfic_holdings[].section_1294_outstanding","clears":["income_sources.pfic_holdings.section_1294_elections","income_sources.pfic_holdings.section_1294_filing_date"],"currency_pickable":false,"derived_from_presence":[],"help":"That is box B in Part II of an earlier Form 8621. Answer no if you never checked it.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_outstanding","includes_united_states":false,"kind":"yesno","label":"Did you put off paying tax on this fund's income in an earlier year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"}},{"add_label":"Add a year","binds":"pfic_holdings[].section_1294_elections[]","help":"Add one row for each year you checked box B for this fund and have not paid that tax yet. Your last Form 8621 lists them in Part VI.","id":"income_sources.pfic_holdings.section_1294_elections","kind":"repeat","label":"Which of your earlier choices to put off the tax are still open?","min_rows":1,"nodes":[{"binds":"pfic_holdings[].section_1294_elections[].year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VI line 17 of your last Form 8621, usually 31 December of that year.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_elections.year_end","includes_united_states":false,"kind":"date","label":"On what day did the tax year of your choice end?","label_when":[],"options":[],"placeholder":"2021-12-31","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].section_1294_elections[].undistributed_earnings","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VI line 18 of your last Form 8621.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_elections.undistributed_earnings","includes_united_states":false,"kind":"money","label":"How much of your fund income from that year is still not paid out?","label_when":[],"options":[],"placeholder":"4000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].section_1294_elections[].deferred_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VI line 19 of your last Form 8621, or its line 25 after a part was paid.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_elections.deferred_tax","includes_united_states":false,"kind":"money","label":"How much of your tax did you put off?","label_when":[],"options":[],"placeholder":"900","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].section_1294_elections[].terminated","clears":["income_sources.pfic_holdings.section_1294_elections.event","income_sources.pfic_holdings.section_1294_elections.earnings_distributed"],"currency_pickable":false,"derived_from_presence":[],"help":"It ends when the fund pays out that income, when you sell or pledge the shares, when the fund stops being a QEF or a PFIC, or when you end it yourself.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_elections.terminated","includes_united_states":false,"kind":"yesno","label":"Did your choice for that year end this year, in whole or in part?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].section_1294_elections[].event","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the event that happened this year.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_elections.event","includes_united_states":false,"kind":"choice","label":"What ended your choice?","label_when":[],"options":[{"label":"The fund paid out the income.","value":"distribution"},{"label":"I sold or gave up the shares.","value":"disposition"},{"label":"It stopped being a QEF or a PFIC.","value":"status_change"},{"label":"I ended it myself.","value":"voluntary"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.section_1294_elections.terminated"}},{"binds":"pfic_holdings[].section_1294_elections[].earnings_distributed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your fund statement or sale papers show it. Enter all of it if you sold all the shares or the choice ended in full.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_elections.earnings_distributed","includes_united_states":false,"kind":"money","label":"How much of your income for that year did it pay out?","label_when":[],"options":[],"placeholder":"4000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.section_1294_elections.terminated"}}],"row_label":"Choice","visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"truthy","ref":"income_sources.pfic_holdings.section_1294_outstanding"}]}},{"binds":"pfic_holdings[].section_1294_filing_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day you will sign this return to send it online, or the day you will mail it. The interest on the tax you put off runs to that day. An online return must be signed on this day, so if it changes, come back and change it.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.section_1294_filing_date","includes_united_states":false,"kind":"date","label":"On what day will you sign or mail your return?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"truthy","ref":"income_sources.pfic_holdings.section_1294_outstanding"}]}},{"binds":"pfic_holdings[].niit_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is the box for Regulations section 1.1411-10(g) at the top of Form 8960, the tax on investment income. Without it, the fund's payments and sale count instead. Most people have not made it.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.niit_election","includes_united_states":false,"kind":"choice","label":"Did you choose to count your fund's income for the 3.8% tax?","label_when":[],"options":[{"label":"No, never.","value":"none"},{"label":"Yes, on an earlier return.","value":"earlier"},{"label":"Yes, I make it on this return.","value":"this_year"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"}},{"binds":"pfic_holdings[].held_in_account","clears":["income_sources.pfic_holdings.listed_on_assets_page"],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if the fund registered the shares in your own name.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.held_in_account","includes_united_states":false,"kind":"yesno","label":"Do you hold these shares through a bank or broker account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].listed_on_assets_page","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"List them there as shares you hold directly. Their value counts toward the limits for Form 8938.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.listed_on_assets_page","includes_united_states":false,"kind":"yesno","label":"Have you listed your shares on the page about accounts and assets abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.held_in_account","value":false}},{"binds":"pfic_holdings[].shares_at_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your year-end statement shows it. Enter zero if you sold them all.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.shares_at_year_end","includes_united_states":false,"kind":"text","label":"How many shares did you hold on 31 December?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"share_count":{"message":"Enter the number of shares, for example 120 or 35.5."}},"validators":["share_count"]},{"binds":"pfic_holdings[].value_at_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The value on your year-end statement, turned into dollars at the rate for 31 December. Enter zero if you sold them all.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.value_at_year_end","includes_united_states":false,"kind":"money","label":"What were your shares worth on 31 December, in dollars?","label_when":[],"options":[],"placeholder":"25000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add a purchase","binds":"pfic_holdings[].blocks[]","help":"Add one row for each day you bought shares that you still held at some point this year.","id":"income_sources.pfic_holdings.blocks","kind":"repeat","label":"When did you buy the shares you held this year?","min_rows":1,"nodes":[{"binds":"pfic_holdings[].blocks[].acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The trade date on your contract note or broker statement.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.acquired_on","includes_united_states":false,"kind":"date","label":"When did you buy these shares?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].blocks[].shares","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract note shows the number. A fraction of a share is fine.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.shares","includes_united_states":false,"kind":"text","label":"How many shares did you buy that day?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"share_count":{"message":"Enter the number of shares, for example 120 or 35.5."}},"validators":["share_count"]},{"binds":"pfic_holdings[].blocks[].cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract note shows the price. Add any fees and turn the total into dollars at the rate on the day you bought them.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.cost","includes_united_states":false,"kind":"money","label":"What did these shares cost you, in dollars?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].blocks[].sold","clears":["income_sources.pfic_holdings.blocks.sold_on","income_sources.pfic_holdings.blocks.proceeds","income_sources.pfic_holdings.blocks.qef_adjusted_basis"],"currency_pickable":false,"derived_from_presence":[],"help":"If you sold only some of them, add the sold shares as a block of their own.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.sold","includes_united_states":false,"kind":"yesno","label":"Did you sell these shares this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].blocks[].sold_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The trade date on your sale contract note.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.sold_on","includes_united_states":false,"kind":"date","label":"When did you sell them?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"}},{"binds":"pfic_holdings[].blocks[].proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your sale contract note shows the price. Take off the fees and turn it into dollars at the rate on the sale day.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.proceeds","includes_united_states":false,"kind":"money","label":"What did the sale bring you, in dollars?","label_when":[],"options":[],"placeholder":"6000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"}},{"binds":"pfic_holdings[].blocks[].qef_adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 8621 show it. It is what they cost you, plus the fund income you reported on them in earlier years and this one, less any payments from that income you received tax free.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.qef_adjusted_basis","includes_united_states":false,"kind":"money","label":"What was your basis in the sold shares, in dollars?","label_when":[],"options":[],"placeholder":"5500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.pfic_holdings.blocks.carried_qef_basis"}]},{"op":"count_gt","ref":"income_sources.pfic_holdings.blocks","value":1}]}]}},{"binds":"pfic_holdings[].blocks[].qef_niit_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 8621 and 8960 show it. It is the same basis without the fund income you reported for 2013 and later years, and without the payments from it that counted for the 3.8% tax on investment income.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.qef_niit_basis","includes_united_states":false,"kind":"money","label":"What was that basis without your fund income since 2013?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"},{"op":"eq","ref":"income_sources.pfic_holdings.niit_election","value":"none"}]}},{"binds":"pfic_holdings[].blocks[].prior_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statements for those years show the payments. Add up the payments on these shares in the last three years, or in the years you held them if fewer, in the currency the fund pays in.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.prior_distributions","includes_united_states":false,"kind":"text","label":"What did these shares pay you in the three years before this one?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50."}},"validators":["currency_amount"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.pfic_holdings.distributions","value":0},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":1}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"},{"op":"truthy","ref":"income_sources.pfic_holdings.election_this_year"}]}]}]},{"op":"not","rules":[{"op":"answered","ref":"income_sources.pfic_holdings.blocks.carried_prior_distributions"}]}]}},{"binds":"pfic_holdings[].blocks[].prior_excess_not_included","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An earlier Form 8621 for these shares shows it on its line 16a statement. It is the part of each earlier excess distribution spread to earlier PFIC years, in the fund's currency. Enter zero if no earlier payment was an excess distribution.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.prior_excess_not_included","includes_united_states":false,"kind":"text","label":"How much of those payments did your earlier returns leave untaxed as excess distribution?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50."}},"validators":["currency_amount"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.pfic_holdings.distributions","value":0},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":1}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"},{"op":"truthy","ref":"income_sources.pfic_holdings.election_this_year"}]}]}]},{"op":"not","rules":[{"op":"answered","ref":"income_sources.pfic_holdings.blocks.carried_prior_excess_not_included"}]}]}},{"binds":"pfic_holdings[].blocks[].unreversed_inclusions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 8621 show them on lines 10c, 12 and 15f. Count the gains you included in earlier years under this choice and the gain taxed on Part V line 15f in the year you made it, less the losses you deducted.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.unreversed_inclusions","includes_united_states":false,"kind":"money","label":"What net gain have you reported on these shares under the mark-to-market choice?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"},{"op":"eq","ref":"income_sources.pfic_holdings.election_this_year","value":false},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":1}]}]}]}},{"binds":"pfic_holdings[].blocks[].carried_prior_distributions","carried":true,"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Worked out from your earlier returns we prepared, in the currency the fund pays in. It is used if the fund pays you this year. Change it here only if those returns were wrong.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.carried_prior_distributions","includes_united_states":false,"kind":"text","label":"What did you get paid in the three years before, per your earlier returns?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50."}},"validators":["currency_amount"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":1}]}]}]}},{"binds":"pfic_holdings[].blocks[].carried_prior_excess_not_included","carried":true,"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Worked out from the line 16a statements of your earlier returns we prepared, in the currency the fund pays in. It is used if the fund pays you this year.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.carried_prior_excess_not_included","includes_united_states":false,"kind":"text","label":"How much of it was untaxed excess distribution, per your earlier returns?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50."}},"validators":["currency_amount"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":1}]}]}]}},{"binds":"pfic_holdings[].blocks[].carried_qef_basis","carried":true,"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Worked out from your earlier returns we prepared: the cost, plus the fund income you reported on the shares, less the payments from it. It is used if you sell them this year.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.blocks.carried_qef_basis","includes_united_states":false,"kind":"money","label":"What was your basis at the year's start, per your last return?","label_when":[[{"op":"eq","ref":"context.tax_year","value":2019},"What was your basis at the year's start, per your 2018 return?"],[{"op":"eq","ref":"context.tax_year","value":2020},"What was your basis at the year's start, per your 2019 return?"],[{"op":"eq","ref":"context.tax_year","value":2021},"What was your basis at the year's start, per your 2020 return?"],[{"op":"eq","ref":"context.tax_year","value":2022},"What was your basis at the year's start, per your 2021 return?"],[{"op":"eq","ref":"context.tax_year","value":2023},"What was your basis at the year's start, per your 2022 return?"],[{"op":"eq","ref":"context.tax_year","value":2024},"What was your basis at the year's start, per your 2023 return?"],[{"op":"eq","ref":"context.tax_year","value":2025},"What was your basis at the year's start, per your 2024 return?"],[{"op":"eq","ref":"context.tax_year","value":2026},"What was your basis at the year's start, per your 2025 return?"]],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":1}]}]}]}}],"row_label":"Purchase"},{"clears":["income_sources.pfic_holdings.distributions","income_sources.pfic_holdings.currency","income_sources.pfic_holdings.tax_withheld_on_distributions"],"currency_pickable":false,"derived_from_presence":["pfic_holdings[].distributions[]"],"help":"For example a dividend or a distribution, in cash or in more shares. A fund that keeps its income (an accumulating fund) pays nothing.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.has_distributions","includes_united_states":false,"kind":"yesno","label":"Did the fund pay you anything this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick it from the list as you type, or give the three-letter code on your statement.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.currency","includes_united_states":false,"kind":"text","label":"Which currency does the fund pay you in?","label_when":[],"options":[],"placeholder":"EUR","prefills":[],"required":true,"suggests_currencies":true,"unanswered_allowed":false,"validator_messages":{"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR."}},"validators":["currency_code"],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"}},{"binds":"pfic_holdings[].qef_income_since_2013_not_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 8621 show each year's income. This only matters for the 3.8% tax on investment income, and only if you held these shares before 2013.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_income_since_2013_not_paid","includes_united_states":false,"kind":"money","label":"How much of your unpaid fund income is from 2013 or later?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"},{"op":"eq","ref":"income_sources.pfic_holdings.niit_election","value":"none"},{"op":"any_row","ref":"income_sources.pfic_holdings.blocks","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":10}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":11}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":12}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":13}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pfic_holdings.blocks.acquired_on","value":14}]}]}]}]}]}]}},{"binds":"pfic_holdings[].tax_withheld_on_distributions","clears":["income_sources.pfic_holdings.foreign_tax_claimable_back","income_sources.pfic_holdings.foreign_tax_also_on_foreign_tax_page"],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement shows tax withheld. You give the tax with each payment, so do not also enter it on the page about tax you paid abroad. If you deduct foreign tax on Schedule A instead of taking the credit, include this tax there.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.tax_withheld_on_distributions","includes_united_states":false,"kind":"yesno","label":"Was any foreign tax taken from your payments?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"}},{"binds":"pfic_holdings[].foreign_tax_claimable_back","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example tax withheld above the rate a tax treaty allows. Only the tax you legally owe counts for the credit, whether or not you claim the rest back. Say no if none of it can be claimed back.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.foreign_tax_claimable_back","includes_united_states":false,"kind":"yesno","label":"Could you claim any of that tax back from the country?","label_when":[],"off_ramp":{"body":"The credit takes only the tax you legally owe, and we do not work out the part you can claim back.","code":"foreign_tax_not_creditable","next_step":"Enter on each payment only the tax you owe and answer no, or use another preparer for the return.","severity":"block","title":"We can only claim the tax you owe","when":{"op":"truthy","ref":"income_sources.pfic_holdings.foreign_tax_claimable_back"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"},{"op":"truthy","ref":"income_sources.pfic_holdings.tax_withheld_on_distributions"}]}},{"binds":"pfic_holdings[].foreign_tax_also_on_foreign_tax_page","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each tax is counted once. We ask so that the same tax is never claimed twice.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.foreign_tax_also_on_foreign_tax_page","includes_united_states":false,"kind":"yesno","label":"Have you also entered this tax on the page about tax you paid abroad?","label_when":[],"off_ramp":{"body":"Counted here and on the page about tax you paid abroad, this tax would be claimed twice, so the return cannot be filed while both are there.","code":"investment_foreign_tax","next_step":"Remove it from that page, and answer no here.","severity":"block","title":"The same tax would be claimed twice","when":{"op":"truthy","ref":"income_sources.pfic_holdings.foreign_tax_also_on_foreign_tax_page"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"},{"op":"truthy","ref":"income_sources.pfic_holdings.tax_withheld_on_distributions"}]}},{"binds":"pfic_holdings[].return_of_capital_shown","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most statements do not. Without a statement saying so, a payment counts as a dividend.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.return_of_capital_shown","includes_united_states":false,"kind":"choice","label":"Does your fund's statement show any payment as a return of capital?","label_when":[],"options":[{"label":"Yes.","value":"yes"},{"label":"No.","value":"no"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"section_1291"},{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"}]}]}},{"add_label":"Add a payment","binds":"pfic_holdings[].distributions[]","help":"Add one row per payment.","id":"income_sources.pfic_holdings.distributions","kind":"repeat","label":"What did the fund pay you this year?","min_rows":1,"nodes":[{"binds":"pfic_holdings[].distributions[].paid_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The payment date on your statement.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.distributions.paid_on","includes_united_states":false,"kind":"date","label":"When did the fund pay you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pfic_holdings[].distributions[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement shows it: the amount before any tax was taken, for all of your shares together.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.distributions.amount","includes_united_states":false,"kind":"text","label":"How much did it pay you, in the fund's currency?","label_when":[],"options":[],"placeholder":"250","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50."}},"validators":["currency_amount"]},{"binds":"pfic_holdings[].distributions[].amount_usd","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Turn it into dollars at the rate for the payment day. Your bank statement may show it.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.distributions.amount_usd","includes_united_states":false,"kind":"money","label":"What was your payment worth in dollars on the day it was paid?","label_when":[],"options":[],"placeholder":"270","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"answered","ref":"income_sources.pfic_holdings.currency"},{"op":"ne","ref":"income_sources.pfic_holdings.currency","value":"USD"}]}},{"binds":"pfic_holdings[].distributions[].foreign_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement shows the tax withheld. Enter zero if none was taken from this one.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.distributions.foreign_tax","includes_united_states":false,"kind":"text","label":"How much foreign tax was taken from your payment, in the fund's currency?","label_when":[],"options":[],"placeholder":"37.50","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50."}},"validators":["currency_amount"],"visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.tax_withheld_on_distributions"}}],"row_label":"Payment","visible_when":{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"}},{"binds":"pfic_holdings[].qef_earlier_income_not_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 8621 show the income you reported on lines 6c and 7c each year. Take off what the fund paid you from it since, and the part that went with any shares you have sold. Enter zero if it has paid it all.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.qef_earlier_income_not_paid","includes_united_states":false,"kind":"money","label":"How much of your earlier years' fund income has it not paid out?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"},{"op":"truthy","ref":"income_sources.pfic_holdings.has_distributions"},{"op":"not","rules":[{"op":"answered","ref":"income_sources.pfic_holdings.carried_qef_earlier_income_not_paid"}]}]}},{"binds":"pfic_holdings[].carried_qef_earlier_income_not_paid","carried":true,"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Worked out from your earlier returns we prepared: the income you reported on lines 6c and 7c, less the payments from it. It is used if the fund pays you this year.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.carried_qef_earlier_income_not_paid","includes_united_states":false,"kind":"money","label":"How much earlier fund income was not paid out, per your last return?","label_when":[[{"op":"eq","ref":"context.tax_year","value":2019},"How much earlier fund income was not paid out, per your 2018 return?"],[{"op":"eq","ref":"context.tax_year","value":2020},"How much earlier fund income was not paid out, per your 2019 return?"],[{"op":"eq","ref":"context.tax_year","value":2021},"How much earlier fund income was not paid out, per your 2020 return?"],[{"op":"eq","ref":"context.tax_year","value":2022},"How much earlier fund income was not paid out, per your 2021 return?"],[{"op":"eq","ref":"context.tax_year","value":2023},"How much earlier fund income was not paid out, per your 2022 return?"],[{"op":"eq","ref":"context.tax_year","value":2024},"How much earlier fund income was not paid out, per your 2023 return?"],[{"op":"eq","ref":"context.tax_year","value":2025},"How much earlier fund income was not paid out, per your 2024 return?"],[{"op":"eq","ref":"context.tax_year","value":2026},"How much earlier fund income was not paid out, per your 2025 return?"]],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"qef"}},{"binds":"pfic_holdings[].gain_taxed_abroad","clears":["income_sources.pfic_holdings.gain_taxed_by_country","income_sources.pfic_holdings.gain_foreign_tax_at_least_10_percent"],"currency_pickable":false,"derived_from_presence":[],"help":"For example the country you live in taxed the sale or the rise in value. This decides whether the gain counts as income from abroad for the credit for tax paid abroad.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.gain_taxed_abroad","includes_united_states":false,"kind":"yesno","label":"Did another country tax your gain on these shares this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.pfic_holdings.regime","values":["section_1291","qef","mark_to_market"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"},{"op":"any_row","ref":"income_sources.pfic_holdings.blocks","rules":[{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"}]}]}]}},{"binds":"pfic_holdings[].gain_taxed_by_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your tax assessment.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.gain_taxed_by_country","includes_united_states":false,"kind":"country","label":"Which country taxed your gain?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.pfic_holdings.regime","values":["section_1291","qef","mark_to_market"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"},{"op":"any_row","ref":"income_sources.pfic_holdings.blocks","rules":[{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"}]}]}]},{"op":"truthy","ref":"income_sources.pfic_holdings.gain_taxed_abroad"}]}},{"binds":"pfic_holdings[].gain_foreign_tax_at_least_10_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Divide the tax on the gain, from your assessment, by the gain. For a loss, answer yes if that country's rate on a gain would have been 10% or more.","help_lines":[],"help_when":[],"id":"income_sources.pfic_holdings.gain_foreign_tax_at_least_10_percent","includes_united_states":false,"kind":"yesno","label":"Was that tax at least 10% of your gain?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.pfic_holdings.regime","values":["section_1291","qef","mark_to_market"]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pfic_holdings.regime","value":"mark_to_market"},{"op":"any_row","ref":"income_sources.pfic_holdings.blocks","rules":[{"op":"truthy","ref":"income_sources.pfic_holdings.blocks.sold"}]}]}]},{"op":"truthy","ref":"income_sources.pfic_holdings.gain_taxed_abroad"}]}}],"row_label":"Fund","visible_when":{"op":"truthy","ref":"income_sources.has_pfic_holdings"}},{"add_label":"Add a withdrawal","binds":"retirement_distributions[]","help":"Add one row per Form 1099-R you received.","id":"income_sources.retirement_distributions","kind":"repeat","label":"What did you take out of your retirement accounts?","min_rows":1,"nodes":[{"binds":"retirement_distributions[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.owner","includes_united_states":false,"kind":"choice","label":"Is this withdrawal yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"retirement_distributions[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The payer's name at the top left of your Form 1099-R.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.payer","includes_united_states":false,"kind":"text","label":"Who paid you?","label_when":[],"options":[],"placeholder":"Primrose Retirement Fund","prefills":[],"refusal":"payer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"retirement_distributions[].payer_ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The payer's tax number, printed under their name on your Form 1099-R.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.payer_ein","includes_united_states":false,"kind":"text","label":"What is your payer's nine-digit number?","label_when":[],"options":[],"placeholder":"00-0000009","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.identifier_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the payer's number on the form and type it as two digits, a hyphen, then seven."}},"validators":["ein"]},{"binds":"retirement_distributions[].gross_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of your Form 1099-R.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.gross_distribution","includes_united_states":false,"kind":"money","label":"How much did they pay you in total?","label_when":[],"options":[],"placeholder":"53778","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"retirement_distributions[].taxable_amount_not_determined","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2b of your Form 1099-R, left-hand checkbox.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.taxable_amount_not_determined","includes_united_states":false,"kind":"yesno","label":"Is your form's box checked saying the taxable amount was not worked out?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].total_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2b of your Form 1099-R, right-hand checkbox. The payer checks it when the whole account was paid out during the year.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.total_distribution","includes_united_states":false,"kind":"yesno","label":"Is the box checked on your form that says this was a total distribution?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].ira_sep_simple","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of your Form 1099-R, the checkbox to the right of the code.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.ira_sep_simple","includes_united_states":false,"kind":"yesno","label":"Is the IRA/SEP/SIMPLE box checked on your Form 1099-R?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].fatca_filing_requirement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 12 of your Form 1099-R. A payer checks it when it reports the account under the rules for accounts held abroad.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.fatca_filing_requirement","includes_united_states":false,"kind":"yesno","label":"Is the box 12 checkbox for a FATCA filing requirement checked on your form?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":["retirement_distributions[].capital_gain_amount","retirement_distributions[].employee_contributions_basis","retirement_distributions[].net_unrealized_appreciation","retirement_distributions[].other_amount","retirement_distributions[].other_percent","retirement_distributions[].total_distribution_percent","retirement_distributions[].total_employee_contributions","retirement_distributions[].irr_allocable_amount","retirement_distributions[].state_income_tax_withheld"],"help":"Most forms leave all of these boxes empty. Say no if yours does too: we then ask for none of them.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.has_less_common_boxes","includes_united_states":false,"kind":"yesno","label":"Does your form have boxes 3, 5, 6, 8 to 10 or 14 filled?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].taxable_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2a of your Form 1099-R. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.taxable_amount","includes_united_states":false,"kind":"money","label":"How much of it is taxable to you?","label_when":[],"options":[],"placeholder":"43100","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"retirement_distributions[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form 1099-R.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal tax did they keep back for you?","label_when":[],"options":[],"placeholder":"3405","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"retirement_distributions[].capital_gain_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 3 of your Form 1099-R, which is part of box 2a. It is usually blank, and then you leave this blank too.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.capital_gain_amount","includes_united_states":false,"kind":"money","label":"How much capital gain does your form show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].employee_contributions_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 5 of your Form 1099-R. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.employee_contributions_basis","includes_united_states":false,"kind":"money","label":"How much of the payment was money you had already paid tax on?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].net_unrealized_appreciation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 6 of your Form 1099-R, headed net unrealized appreciation in employer's securities. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.net_unrealized_appreciation","includes_united_states":false,"kind":"money","label":"How much growth in your employer's shares does your form show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].other_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 8 of your Form 1099-R, headed Other. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.other_amount","includes_united_states":false,"kind":"money","label":"What amount does box 8 of your form show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].other_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The percentage beside the amount in box 8 of your Form 1099-R. Leave it blank if there is none.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.other_percent","includes_united_states":false,"kind":"text","label":"What percentage does box 8 of your form show?","label_when":[],"options":[],"placeholder":"25","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_percent":{"message":"Enter the percentage printed on the form, a number from 0 to 100, for example 25 or 33.333."}},"validators":["form_percent"],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].total_distribution_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 9a of your Form 1099-R. It is your share when a total distribution was paid to more than one person. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.total_distribution_percent","includes_united_states":false,"kind":"text","label":"What percentage does box 9a of your form show?","label_when":[],"options":[],"placeholder":"50","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_percent":{"message":"Enter the percentage printed on the form, a number from 0 to 100, for example 25 or 33.333."}},"validators":["form_percent"],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].total_employee_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 9b of your Form 1099-R, headed total employee contributions. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.total_employee_contributions","includes_united_states":false,"kind":"money","label":"What total of your own contributions does box 9b of your form show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].irr_allocable_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 10 of your Form 1099-R. It is money from a Roth rollover inside your plan in the last five years. Leave it blank if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.irr_allocable_amount","includes_united_states":false,"kind":"money","label":"What amount does box 10 of your form show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].state_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 14 of your Form 1099-R.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.state_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much state tax did they keep back for you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.has_less_common_boxes"}},{"binds":"retirement_distributions[].distribution_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of your Form 1099-R. If two codes are printed there, choose the first one here.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.distribution_code","includes_united_states":false,"kind":"choice","label":"Which distribution code is printed first on your Form 1099-R?","label_when":[],"off_ramp":{"body":"Code J is money taken early from a Roth IRA, worked out on Form 8606 and Form 5329, code P is money taxed in the year before, and code 5 is a deal involving your IRA that the rules treat as a withdrawal. We do not prepare any of them.","code":"retirement_code_not_prepared","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a payment with that code","when":{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","P","5"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","P","5"]}]}},"options":[{"label":"1: taken early, and the payer knows of no exception","value":"1"},{"label":"2: taken early, and an exception applies","value":"2"},{"label":"3: disability","value":"3"},{"label":"4: death","value":"4"},{"label":"5: prohibited transaction","value":"5"},{"label":"6: tax-free exchange of an insurance or annuity contract","value":"6"},{"label":"7: normal distribution","value":"7"},{"label":"8: excess contributions taxable this year","value":"8"},{"label":"9: cost of current life insurance protection","value":"9"},{"label":"A: may be eligible for the 10-year tax option","value":"A"},{"label":"B: from a designated Roth account in a plan","value":"B"},{"label":"C: reportable death benefits","value":"C"},{"label":"D: payments from an annuity outside a plan","value":"D"},{"label":"E: a correction under the IRS plan correction program","value":"E"},{"label":"F: charitable gift annuity","value":"F"},{"label":"G: moved straight into another plan or account","value":"G"},{"label":"H: Roth plan money moved straight into a Roth IRA","value":"H"},{"label":"J: taken early from a Roth IRA, no exception known","value":"J"},{"label":"K: IRA assets with no readily available market value","value":"K"},{"label":"L: a plan loan treated as paid out","value":"L"},{"label":"M: a plan loan offset","value":"M"},{"label":"N: an IRA contribution moved to another kind of IRA, for this year","value":"N"},{"label":"P: excess contributions taxable in the year before","value":"P"},{"label":"Q: qualified distribution from a Roth IRA","value":"Q"},{"label":"R: an IRA contribution moved to another kind of IRA, for the year before","value":"R"},{"label":"S: taken early from a SIMPLE IRA in its first 2 years","value":"S"},{"label":"T: Roth IRA distribution, an exception applies","value":"T"},{"label":"U: dividends paid out of an employee stock plan","value":"U"},{"label":"W: paid for long-term care insurance","value":"W"},{"label":"Y: paid straight to a charity from an IRA","value":"Y"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].distribution_code_2","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of your Form 1099-R. Leave this blank if box 7 shows only one code.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.distribution_code_2","includes_united_states":false,"kind":"choice","label":"Which second distribution code is printed on your Form 1099-R?","label_when":[],"options":[{"label":"1: taken early, and the payer knows of no exception","value":"1"},{"label":"2: taken early, and an exception applies","value":"2"},{"label":"3: disability","value":"3"},{"label":"4: death","value":"4"},{"label":"5: prohibited transaction","value":"5"},{"label":"6: tax-free exchange of an insurance or annuity contract","value":"6"},{"label":"7: normal distribution","value":"7"},{"label":"8: excess contributions taxable this year","value":"8"},{"label":"9: cost of current life insurance protection","value":"9"},{"label":"A: may be eligible for the 10-year tax option","value":"A"},{"label":"B: from a designated Roth account in a plan","value":"B"},{"label":"C: reportable death benefits","value":"C"},{"label":"D: payments from an annuity outside a plan","value":"D"},{"label":"E: a correction under the IRS plan correction program","value":"E"},{"label":"F: charitable gift annuity","value":"F"},{"label":"G: moved straight into another plan or account","value":"G"},{"label":"H: Roth plan money moved straight into a Roth IRA","value":"H"},{"label":"J: taken early from a Roth IRA, no exception known","value":"J"},{"label":"K: IRA assets with no readily available market value","value":"K"},{"label":"L: a plan loan treated as paid out","value":"L"},{"label":"M: a plan loan offset","value":"M"},{"label":"N: an IRA contribution moved to another kind of IRA, for this year","value":"N"},{"label":"P: excess contributions taxable in the year before","value":"P"},{"label":"Q: qualified distribution from a Roth IRA","value":"Q"},{"label":"R: an IRA contribution moved to another kind of IRA, for the year before","value":"R"},{"label":"S: taken early from a SIMPLE IRA in its first 2 years","value":"S"},{"label":"T: Roth IRA distribution, an exception applies","value":"T"},{"label":"U: dividends paid out of an employee stock plan","value":"U"},{"label":"W: paid for long-term care insurance","value":"W"},{"label":"Y: paid straight to a charity from an IRA","value":"Y"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":["retirement_distributions[].simplified_method"],"help":"Answer yes for a pension paid every month or so from a plan you put after-tax money into, as your plan's yearly statement shows. We then work out the taxable part with the IRS worksheet for regular pension payments.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.has_simplified_method","includes_united_states":false,"kind":"yesno","label":"Are these regular pension payments from an employer's plan that you paid into yourself?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]}},{"binds":"retirement_distributions[].simplified_method.annuity_starting_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's letter confirming your pension gives the date. It is the first day of the first period you were paid for, or the day the plan's payments were fixed if that came later.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","includes_united_states":false,"kind":"date","label":"On which day did your pension payments start?","label_when":[],"options":[],"placeholder":"2025-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.qualified_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statement or letter names the kind of plan. A private annuity you bought yourself is not one of these.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.qualified_plan","includes_united_states":false,"kind":"yesno","label":"Is your pension from an employer's qualified plan, qualified annuity or 403(b) plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.annuity_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's letter confirming your pension says whose life the payments last for. If you are paid as the survivor, answer for the pension as it was set up when the first payments started.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.annuity_kind","includes_united_states":false,"kind":"choice","label":"For how long are your pension payments made?","label_when":[],"options":[{"label":"For my life only.","value":"single_life"},{"label":"For my life and the life of someone after me, such as my spouse.","value":"joint_life"},{"label":"For a fixed number of months, whoever is alive.","value":"fixed_period"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.age_at_annuity_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your age on that day, from your date of birth. If you receive the pension as the survivor of the person who earned it, give the age that person was on that day.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","includes_united_states":false,"kind":"integer","label":"How old were you on the day your pension payments started?","label_when":[],"options":[],"placeholder":"65","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.paid_for_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if it comes from work you or someone in your family did, even if an insurance company pays it. Say no for an annuity bought with savings. Your contract or the payer's letter shows it.","help_lines":["Choose Not sure if you cannot tell. The return can then be filed only where the answer changes nothing."],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.paid_for_work","includes_united_states":false,"kind":"yesno","label":"Do you get this annuity for work, from an employer's plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false}]}},{"binds":"retirement_distributions[].simplified_method.beneficiary_age_at_annuity_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The age of the person the payments continue for after you, such as your spouse, on that day, worked out from the date of birth on their passport or birth certificate. If the payments continue for more than one person, give the age of the youngest. If you are the survivor, give your own age on that first day.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.beneficiary_age_at_annuity_start","includes_united_states":false,"kind":"integer","label":"How old was the other person on the day your pension payments started?","label_when":[],"options":[],"placeholder":"65","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.SimplifiedMethodFacts._kind_needs_its_figure","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].simplified_method.fixed_period_payments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's letter or contract gives the number of monthly payments for the fixed period.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.fixed_period_payments","includes_united_states":false,"kind":"integer","label":"How many monthly payments does your contract provide for in all?","label_when":[],"options":[],"placeholder":"120","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.SimplifiedMethodFacts._kind_needs_its_figure","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"fixed_period"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_in_a_lifetime":{"message_bounds":"Enter the number of monthly payments, a whole number from 1 to 1560."}},"validators":["months_in_a_lifetime"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"fixed_period"}]}},{"binds":"retirement_distributions[].simplified_method.guaranteed_under_5_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's letter says whether a minimum number of payments is paid even if you die. Answer yes if the guarantee covers less than the first 5 years of payments, or there is none.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","includes_united_states":false,"kind":"yesno","label":"Are fewer than 5 years of your payments guaranteed?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74}]}},{"binds":"retirement_distributions[].simplified_method.other_annuitants_paid_now","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if another person receives payments from this pension alongside yours right now, as your plan's statement would show.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","includes_united_states":false,"kind":"yesno","label":"Is anyone else paid from your same pension at the same time as you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.cost_in_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's records show your net investment on the day payments started, and box 9b of your Form 1099-R may show it.","help_lines":["Add any death benefit exclusion if you are paid as the beneficiary of an employee who died before August 21, 1996.","If you worked abroad, include what your employer paid in for that work only where it would not have been taxed had it been paid to you (the foreign earned income exclusion does not count for this), and leave out what you or your employer paid in from pay for work outside the United States while you were a nonresident alien (neither a United States citizen nor a United States resident) that no country taxed.","If you were also paid a single sum when your payments started, it counts as received before they started, so take the part of that sum that was not taxed off this cost (Publication 575, single-sum payment in connection with the start of annuity payments).","Box 9b leaves out what you already got back tax free in earlier years, so it is offered here only for the year your payments started. In a later year, use the cost from the day the payments started."],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.cost_in_plan","includes_united_states":false,"kind":"money","label":"How much after-tax money had you put into the plan when your payments started?","label_when":[],"options":[],"placeholder":"31000","prefill":{"confirm":false,"exact":false,"note":"Filled in from box 9b of your Form 1099-R. Change it if your plan's records show a different figure.","value_ref":"income_sources.retirement_distributions.total_employee_contributions","when":{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.total_employee_contributions"},{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":1}]}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.months_paid_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the months your payments this year were for, from your plan's statement.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.months_paid_this_year","includes_united_states":false,"kind":"integer","label":"For how many months of the year were you paid this pension?","label_when":[],"options":[],"placeholder":"12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_one_to_twelve":{"message_bounds":"Enter a whole number of months between 1 and 12."}},"validators":["months_one_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.recovered_tax_free_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 10 of last year's worksheet for these payments, or your own records of earlier years. Enter 0 if this is the first year. If you are paid as the survivor, include what the person who earned the pension already received tax free.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.recovered_tax_free_before","includes_united_states":false,"kind":"money","label":"How much of your pension have you already received tax free in earlier years?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].simplified_method.used_simplified_method_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your last year's tax records show whether the taxable part was worked out this way.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","includes_united_states":false,"kind":"yesno","label":"Did you use this same worksheet for your pension last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]}},{"binds":"retirement_distributions[].general_rule.tables","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS has older and newer tables for working out the tax-free part, and which one applies depends on when the cost of the contract was paid. Your contract or plan records show the dates of your payments into it.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.tables","includes_united_states":false,"kind":"choice","label":"When was the money paid that bought your payments?","label_when":[],"options":[{"label":"Some of the cost was paid after June 30, 1986, or I chose in an earlier year to treat all of it that way.","value":"post_june_1986"},{"label":"All of the cost was paid before July 1, 1986.","value":"pre_july_1986"},{"label":"I figure the cost paid before July 1986 and the cost paid after June 1986 separately.","value":"split"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]}},{"binds":"retirement_distributions[].general_rule.payment_frequency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract or the payer's letter says how often you are paid.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.payment_frequency","includes_united_states":false,"kind":"choice","label":"How often are your payments made?","label_when":[],"options":[{"label":"Every month.","value":"monthly"},{"label":"Every three months.","value":"quarterly"},{"label":"Every six months.","value":"semiannually"},{"label":"Once a year.","value":"annually"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]}},{"binds":"retirement_distributions[].general_rule.months_to_first_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the whole months from the day your payments started, as the contract defines it, to the day the first payment was made. Enter 0 if it was less than a month.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.months_to_first_payment","includes_united_states":false,"kind":"integer","label":"How many whole months passed from your starting date to your first payment?","label_when":[],"options":[],"placeholder":"1","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]}},{"binds":"retirement_distributions[].general_rule.annuitant_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Take the birthday closest to that day, before or after it, from the date of birth on your passport.","help_lines":["If your payments continue a contract or pension that had already started paying the person who died, give that person's age at the birthday nearest the day their payments started.","If your own payments started after their death, give your own age."],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.annuitant_age","includes_united_states":false,"kind":"integer","label":"How old were you at the birthday nearest the day your payments started?","label_when":[],"options":[],"placeholder":"65","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"retirement_distributions[].general_rule.survivor_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The person your contract continues the payments for after the first person dies, such as a spouse, at the birthday closest to the day the payments started. Work it out from the date of birth on their passport.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.survivor_age","includes_united_states":false,"kind":"integer","label":"How old was your contract's other person at their birthday nearest that day?","label_when":[],"options":[],"placeholder":"63","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.periodic_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The amount of one regular payment when the payments started, before any later increase, as your contract or the payer's first statement shows it. Increases are taxed in full, so only the first amount is used here.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.periodic_payment","includes_united_states":false,"kind":"money","label":"How much was the first regular payment your contract called for?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]}},{"binds":"retirement_distributions[].general_rule.survivor_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract says what is paid to the survivor. Enter the same amount if nothing changes.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.survivor_payment","includes_united_states":false,"kind":"money","label":"After the first death, what does your contract pay the other person each time?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.paid_to_survivor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you receive these payments because the first person on the contract has died.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.paid_to_survivor","includes_united_states":false,"kind":"yesno","label":"Were this year's payments made to you as the survivor after the first death?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.payments_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Usually the number of payments made during the year, as the payer's statements show. If a payment for an earlier year came this year as well, count it too.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.payments_this_year","includes_united_states":false,"kind":"integer","label":"How many regular payments did the amount you received this year cover?","label_when":[],"options":[],"placeholder":"12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"payments_in_a_lifetime":{"message_bounds":"Enter the number of payments, a whole number from 0 to 1560."}},"validators":["payments_in_a_lifetime"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]}},{"binds":"retirement_distributions[].general_rule.fractional_first_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"In the year payments start, the first payment can cover only part of a month or other period, as the payer's first statement shows. Enter that amount, or 0 if there was none.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.fractional_first_payment","includes_united_states":false,"kind":"money","label":"How much was your first payment if it covered only part of a period?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":1}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":1}]}},{"binds":"retirement_distributions[].general_rule.refund_feature","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some contracts pay the rest of a guaranteed amount to a beneficiary or to your estate. Your contract says whether yours does.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.refund_feature","includes_united_states":false,"kind":"yesno","label":"Does the contract pay someone else if you die before a set amount or number of payments is paid?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"retirement_distributions[].general_rule.refund_guaranteed_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The guaranteed minimum your contract states, counting what is paid to your beneficiary or estate if you die early, for example a refund of what you paid, or the payments for a guaranteed number of years.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.refund_guaranteed_amount","includes_united_states":false,"kind":"money","label":"What is the least your contract guarantees to pay in all?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.general_rule.refund_feature"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"in","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.general_rule.refund_feature"}]}},{"binds":"retirement_distributions[].general_rule.variable_payments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a variable annuity, whose payments depend on how its funds perform. A cost-of-living increase does not count.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.variable_payments","includes_united_states":false,"kind":"yesno","label":"Do your payments go up and down with the investments behind them?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]}},{"binds":"retirement_distributions[].general_rule.stops_at_set_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if the contract pays for life or until a fixed date, whichever comes first.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.stops_at_set_date","includes_united_states":false,"kind":"yesno","label":"Do the payments stop at a set date even if you are still alive?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"single_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"single_life"}]}},{"binds":"retirement_distributions[].general_rule.stops_at_first_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if your contract pays only while both of you are alive, and nothing after the first death. Answer no if it goes on paying the one who lives longer.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.stops_at_first_death","includes_united_states":false,"kind":"yesno","label":"Do your payments stop when the first of you dies?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.annuity_kind","value":"joint_life"}]}},{"binds":"retirement_distributions[].general_rule.scheduled_increase","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only for an increase the contract fixes in advance. Cost-of-living increases do not count.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.general_rule.scheduled_increase","includes_united_states":false,"kind":"yesno","label":"Does your contract set a future date when your payments go up?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0},{"op":"gt","ref":"income_sources.retirement_distributions.total_employee_contributions","value":0}]}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.other_annuitants_paid_now","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":false},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.qualified_plan","value":false},{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.simplified_method.age_at_annuity_start","value":74},{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.guaranteed_under_5_years","value":false}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":28}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":29}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":30}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.simplified_method.used_simplified_method_last_year","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.retirement_distributions.simplified_method.annuity_starting_date","value":40}]}]}]}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["retirement_distributions[].taxable_amount_figured_by_filer"],"help":"The payer says it could not work out the taxable part. If you have worked it out from your own records of what you paid into the plan, say yes and give the figure.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.figured_taxable_yourself","includes_united_states":false,"kind":"yesno","label":"Have you worked out the taxable amount of this payment yourself?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"not","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]}},{"binds":"retirement_distributions[].taxable_amount_figured_by_filer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The figure from your own records of what you paid into the plan. Keep those records with your tax papers.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.taxable_amount_figured_by_filer","includes_united_states":false,"kind":"money","label":"What taxable amount did you work out for this payment?","label_when":[],"options":[],"placeholder":"8000","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"not","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.figured_taxable_yourself"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.has_simplified_method"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.taxable_amount_not_determined"},{"op":"not","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.employee_contributions_basis","value":0}]}]},{"op":"truthy","ref":"income_sources.retirement_distributions.figured_taxable_yourself"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["retirement_distributions[].exception_code"],"help":"Code 1, J or S means the payer knows of no exception, but you may meet one, for example disability, a first home or a medical bill. The next question lists them all.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.has_early_exception","includes_united_states":false,"kind":"yesno","label":"Does an exception to the extra tax on early withdrawals apply to your payment?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]}},{"binds":"retirement_distributions[].exception_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The exceptions listed in the Form 5329 instructions for line 2. Keep the paperwork that shows you meet it.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2022},"For 01, public safety work means you did police, firefighting or emergency medical work for a state or local government, or one of the federal jobs the law lists. A corrections officer or forensic security employee is not covered for payments before 30 December 2022."],[{"op":"eq","ref":"context.tax_year","value":2022},"If you did public safety work for a government, including as a corrections officer or forensic security employee, or fought fires in a private employer's plan, 01 can also cover leaving after 25 years of service under the plan, and at 50 for the firefighter, corrections officer or forensic security employee. That counts only for payments from 30 December 2022."],[{"op":"gt","ref":"context.tax_year","value":2022},"If you did public safety work for a government, including as a corrections officer or forensic security employee, or fought fires in a private employer's plan, 01 covers leaving your job in or after the year you turned 50 or after 25 years of service under the plan, whichever comes first."]],"id":"income_sources.retirement_distributions.exception_code","includes_united_states":false,"kind":"choice","label":"Which exception applies to you?","label_when":[],"options":[{"label":"01: left your job in or after the year you turned 55, or 50 for public safety work for a government (not an IRA)","value":"01"},{"label":"02: part of a series of equal payments over your life","value":"02"},{"label":"03: total and permanent disability","value":"03"},{"label":"04: paid because the account owner died","value":"04"},{"label":"05: medical and dental bills you paid this year, above 7.5% of your adjusted gross income (your income after adjustments)","value":"05"},{"label":"06: paid to a former spouse under a court order (not an IRA)","value":"06"},{"label":"07: health coverage while you were out of work (IRA only)","value":"07"},{"label":"08: higher education costs (IRA only)","value":"08"},{"label":"09: buying a first home, up to $10,000 (IRA only)","value":"09"},{"label":"10: an IRS levy on the plan","value":"10"},{"label":"11: a reservist called to active duty for at least 180 days","value":"11"},{"label":"12: you were 59 and a half or older, so the early code is wrong","value":"12"},{"label":"13: from a section 457 plan, not rolled in from another plan","value":"13"},{"label":"14: paid under a written election made by March 1, 1986","value":"14"},{"label":"15: dividends on employee stock plan shares","value":"15"},{"label":"16: annuity money invested before August 14, 1982","value":"16"},{"label":"17: phased retirement payments to a federal employee","value":"17"},{"label":"18: a permitted withdrawal from an automatic enrollment plan","value":"18"},{"label":"19: the birth or adoption of a child, up to $5,000","value":"19"},{"label":"20: a terminal illness certified by a doctor","value":"20"},{"label":"21: excess contributions returned by the return's due date","value":"21"},{"label":"22: you were a victim of domestic abuse","value":"22"},{"label":"23: a personal or family emergency","value":"23"},{"label":"99: more than one of these applies to this withdrawal","value":"99"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]}},{"binds":"retirement_distributions[].exception_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Work it out from your own records of what the money paid for. Only the part the exception covers comes off the extra tax, and it cannot be more than the taxable part of this payment.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},"For a Roth IRA payment with code J, enter the amount your exception covers: we apply it only to the part that is taxed or carries the extra tax."]],"id":"income_sources.retirement_distributions.exception_amount","includes_united_states":false,"kind":"money","label":"How much of your taxable payment does that exception cover?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.RetirementDistribution._check_box7_and_exception","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"},{"op":"ne","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"},{"op":"ne","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]}},{"binds":"retirement_distributions[].exception_account_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your account statement shows the balance. Count only the part that is yours to keep. The exception covers at most half of it for domestic abuse, or what is above {context.emergency_distribution_balance_floor} for an emergency, up to {context.emergency_distribution_limit}.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.exception_account_value","includes_united_states":false,"kind":"money","label":"What was your account worth just before this payment?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5329.capped_exception_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"in","ref":"income_sources.retirement_distributions.exception_code","values":["22","23"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"in","ref":"income_sources.retirement_distributions.exception_code","values":["22","23"]}]}},{"binds":"retirement_distributions[].exception_plan_defined_benefit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A plan that promises a pension worked out from your pay and years of work is a defined benefit plan, and these exceptions do not apply to it. A 401(k), 403(b) or 457(b) plan pays out an account balance. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.exception_plan_defined_benefit","includes_united_states":false,"kind":"yesno","label":"Does this plan pay you a set pension rather than an account balance?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"in","ref":"income_sources.retirement_distributions.exception_code","values":["22","23"]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]}]}},{"binds":"retirement_distributions[].exception_plan_spouse_consent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The domestic abuse exception does not apply to a plan where the rules on a spouse's consent to a payout apply, whether or not you are married. These are money purchase pension plans, and plans holding an account balance that pay less than the whole account to a surviving spouse, that pay in the form of a lifelong annuity, or that took in money moved from a pension or money purchase plan. The plan's summary or its administrator says which. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.exception_plan_spouse_consent","includes_united_states":false,"kind":"yesno","label":"Is your plan a money purchase plan, or one that needs a spouse's consent?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"22"}]}},{"binds":"retirement_distributions[].domestic_abuse_earlier_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 5329 show exception 22 if one was. The limit counts such payments together. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.domestic_abuse_earlier_year","includes_united_states":false,"kind":"yesno","label":"Did you treat a payment in an earlier year as a domestic abuse withdrawal?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"22"}]}},{"binds":"retirement_distributions[].emergency_in_three_years_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 5329 show exception 23 if one did. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.emergency_in_three_years_before","includes_united_states":false,"kind":"yesno","label":"Did you take an emergency withdrawal from this account in {context.return_year_less_3} to {context.return_year_less_1}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"23"}]}},{"binds":"retirement_distributions[].emergency_paid_back","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you paid it back to the account, or if what you paid into the account since then is at least what is still not paid back. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.emergency_paid_back","includes_united_states":false,"kind":"yesno","label":"Have you paid that withdrawal back, or paid in as much since?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"S"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"truthy","ref":"income_sources.retirement_distributions.has_early_exception"}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"23"},{"op":"truthy","ref":"income_sources.retirement_distributions.emergency_in_three_years_before"}]}},{"binds":"retirement_distributions[].roth_contribution_2020_or_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Roth IRA statements show the first year you paid in. A conversion from another IRA counts as putting money in. If your answer is no, we ask what you paid into Roth IRAs over the years and work out the taxed part on Form 8606. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]},"For a first-home payment with code J, your answer decides whether part of it comes out untaxed."]],"id":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","includes_united_states":false,"kind":"yesno","label":"Did you first pay into a Roth IRA for {context.return_year_less_5} or earlier?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]}]}},{"binds":"retirement_distributions[].reached_minimum_retirement_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's booklet or its administrator gives that age. A disability pension paid before it is counted with your earnings, not with your pensions. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.reached_minimum_retirement_age","includes_united_states":false,"kind":"yesno","label":"Had you reached your plan's retirement age when you were paid this?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["3"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["3"]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]}]}},{"binds":"retirement_distributions[].is_rollover","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your account statements will show the money arriving in the other account.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.is_rollover","includes_united_states":false,"kind":"yesno","label":"Did you move that money straight into another retirement account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].rolled_over_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your account statements show what arrived. If all of it did, enter the full amount from box 1. Enter 0 if none of it actually did.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.rolled_over_amount","includes_united_states":false,"kind":"money","label":"How much of it did you move into the other account?","label_when":[],"options":[],"placeholder":"53778","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.retirement_row_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.is_rollover"},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H"]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"gt","ref":"income_sources.retirement_distributions.taxable_amount","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.is_rollover"},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H"]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"gt","ref":"income_sources.retirement_distributions.taxable_amount","value":0}]}]}},{"binds":"retirement_distributions[].rollover_needs_statement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you moved it into a 401(k) or another employer plan, or if the 60 days ran into the next year. Answer no if it went into an IRA within the year. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.rollover_needs_statement","includes_united_states":false,"kind":"yesno","label":"Did you move it into an employer plan, or after the year ended?","label_when":[],"off_ramp":{"body":"A rollover into an employer plan, or one finished after the year ended, needs a written statement explaining what you did, and we do not write it.","code":"rollover_statement_not_prepared","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not write the statement that rollover needs","when":{"op":"truthy","ref":"income_sources.retirement_distributions.rollover_needs_statement"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.is_rollover"},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H"]}]}]}},{"binds":"retirement_distributions[].rollover_destination","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your account statement shows where the money arrived. Money moved from an employer plan into a Roth IRA, or into a Roth account in a plan, is taxed in the year you move it. Money moved into a traditional IRA or a plan account that is not a Roth account is not.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.rollover_destination","includes_united_states":false,"kind":"choice","label":"Where did the money you moved go?","label_when":[],"options":[{"label":"Into a Roth IRA.","value":"roth_ira"},{"label":"Into a Roth account in an employer plan, including one in the same plan.","value":"designated_roth_account"},{"label":"Into a traditional IRA or a plan account that is not a Roth account.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.is_rollover"},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H"]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.taxable_amount"}]},{"op":"gt","ref":"income_sources.retirement_distributions.taxable_amount","value":0}]}]},{"op":"gt","ref":"income_sources.retirement_distributions.rolled_over_amount","value":0},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["H"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["H"]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["retirement_distributions[].qcd_amount"],"help":"Your trustee's letter or your account statement shows a payment made straight to a charity. Code Y in box 7 means the payer expects this was such a gift.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.gave_to_charity","includes_united_states":false,"kind":"yesno","label":"Did the trustee send any of it straight to a charity for you?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":false,"note":"Chosen because box 7 shows code Y, a payment the payer expects was a gift to charity. Change it if none of it went to a charity.","value":true,"when":{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["Y"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["Y"]}]}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"retirement_distributions[].qcd_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your trustee's letter or your account statement shows the payment to the charity. Code Y in box 7 means the payer expects this was such a gift. A gift from a SEP or SIMPLE IRA that your employer still adds to does not count, and you must have been at least 70 and a half when it was made.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.qcd_amount","includes_united_states":false,"kind":"money","label":"How much of it did the trustee send straight to a charity for you?","label_when":[],"options":[],"placeholder":"5000","prefill":{"confirm":false,"exact":false,"note":"Filled in because box 7 shows code Y, a payment the payer expects was a gift to charity. Change it if only part of the payment went to a charity.","value_ref":"income_sources.retirement_distributions.gross_distribution","when":{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["Y"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["Y"]}]}},"prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["positive_money"],"visible_when":{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"}},{"binds":"retirement_distributions[].qcd_charity_in_united_states","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A church, school, hospital or charity set up in the United States that raises its money from the public. A charity in another country does not qualify, even if it does the same work as one here. A donor-advised fund, a supporting organization, most private foundations and a gift that bought you something, such as a dinner or tickets, do not qualify either. Its receipt or its website says which it is. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.qcd_charity_in_united_states","includes_united_states":false,"kind":"yesno","label":"Was the charity you gave to a public charity in the United States?","label_when":[],"off_ramp":{"body":"Money your trustee sends straight to a charity is left out of your income only when it goes to a public charity set up in the United States. A charity abroad, a donor-advised fund, a supporting organization or most private foundations do not qualify. We will not leave the money out on a guess.","code":"qcd_charity_abroad","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"That charity does not qualify","when":{"op":"eq","ref":"income_sources.retirement_distributions.qcd_charity_in_united_states","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T","Q"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T","Q"]}]}]}]}},{"binds":"retirement_distributions[].qcd_from_ongoing_sep_simple","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A SEP IRA or SIMPLE IRA is one an employer sets up. Answer yes if the employer paid into it for a plan year ending in {context.return_year}: a gift from it then stays in your income. Answer no for a traditional IRA. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.qcd_from_ongoing_sep_simple","includes_united_states":false,"kind":"yesno","label":"Is this a SEP or SIMPLE IRA your employer paid into for {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]}},{"binds":"retirement_distributions[].distribution_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your trustee's letter or your account statement shows the date. It matters because the gift is left out of income only if the account owner was at least 70 and a half on the day it was paid, and the owner's date of birth puts that age close to this year.","help_lines":[],"help_when":[],"id":"income_sources.retirement_distributions.distribution_date","includes_united_states":false,"kind":"date","label":"On which day did your trustee pay that money to the charity?","label_when":[],"options":[],"placeholder":"2025-07-15","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.compute.compute_qcd","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"and","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":72},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":70}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"and","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":72},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":70}]}]}]}]}]},{"op":"gt","ref":"income_sources.retirement_distributions.qcd_amount","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"and","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":72},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":70}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"and","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":72},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":70}]}]}]}]}]}},{"binds":"retirement_distributions[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":["For a pension or a workplace plan such as a 401(k), the part you own together is what was built up while you were married and living in a community property state. Your plan statements show the dates."],"help_when":[],"id":"income_sources.retirement_distributions.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]}]}},{"binds":"retirement_distributions[].community_share_from_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a pension or a workplace plan such as a 401(k), from your job or your spouse's. Say no for an annuity you bought with money you own together. Your plan statements show which it is.","help_lines":["Choose Not sure if you do not know."],"help_when":[],"id":"income_sources.retirement_distributions.community_share_from_work","includes_united_states":false,"kind":"yesno","label":"Was the part you own together earned through work?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"gt","ref":"income_sources.retirement_distributions.community_property_share_percent","value":0}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"}]}]}}],"row_label":"Withdrawal","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_retirement_distributions"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your trustee's letter names the charity and says what kind it is. Answer no for an ordinary gift to a charity. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.qcd_split_interest","includes_united_states":false,"kind":"yesno","label":"Did your trustee pay a charitable remainder trust or gift annuity straight from your retirement account?","label_when":[],"off_ramp":{"body":"A payment from your retirement account to a trust or an annuity that also pays you is reported differently from an ordinary charitable payment, and we do not prepare it here.","code":"qcd_split_interest","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with that kind of charitable payment","when":{"op":"truthy","ref":"income_sources.qcd_split_interest"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"exclusions.qcd_split_interest","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_retirement_distributions"}]}},{"binds":"screened_inputs.disaster_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count money you took out because of a disaster the federal government declared, and money you put back. Check it if you are not sure.","help_lines":[],"help_when":[],"id":"income_sources.screened_inputs.disaster_distribution","includes_united_states":false,"kind":"yesno","label":"Did you take retirement money for a federal disaster, or repay such money?","label_when":[],"off_ramp":{"body":"These are reported on Form 8915-F, which we do not prepare.","code":"disaster_distribution","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare disaster distributions","when":{"op":"truthy","ref":"income_sources.screened_inputs.disaster_distribution"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_retirement_distributions"}},{"add_label":"Add a pension","binds":"pensions_and_annuities[]","help":"Add one row per pension paid from outside the United States.","id":"income_sources.pensions_and_annuities","kind":"repeat","label":"What regular pension or annuity did you receive?","min_rows":1,"nodes":[{"binds":"pensions_and_annuities[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.owner","includes_united_states":false,"kind":"choice","label":"Is this pension yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"pensions_and_annuities[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of your pension statement.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.payer","includes_united_states":false,"kind":"text","label":"Who pays your pension?","label_when":[],"options":[],"placeholder":"Berlin Pensionskasse","prefills":[],"refusal":"payer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"pensions_and_annuities[].source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement says where the payer is. A payer in the United States sends a Form 1099-R, and that goes on the page for money taken out of a retirement account.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.source","includes_united_states":false,"kind":"choice","label":"Where is your pension paid from?","label_when":[],"off_ramp":{"body":"A payer in the United States sends a Form 1099-R. Its box 7 code decides whether the 10% additional tax for taking money out early applies, and this page has no place for it.","code":"pension_us_payer_use_1099r","next_step":"Save your answers. Add this pension on the page for money taken out of a retirement account, from your Form 1099-R, and take it off this page.","severity":"block","title":"A pension from a United States payer goes on the Form 1099-R page","when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"US"}},"options":[{"label":"From inside the United States.","value":"US"},{"label":"From outside the United States.","value":"foreign"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"pensions_and_annuities[].gross_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly total on your pension statement.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.gross_amount","includes_united_states":false,"kind":"money","label":"How much did they pay you during the year?","label_when":[],"options":[],"placeholder":"24000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"pensions_and_annuities[].taxable_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your pension statement says how much of the payment is taxable. If it does not, the taxable part is worked out from what you paid into the pension yourself, which we do not do here, so have that figure worked out before you go on. If you paid nothing in yourself, all of it is taxable.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.taxable_amount","includes_united_states":false,"kind":"money","label":"How much of it is taxable to you?","label_when":[],"options":[],"placeholder":"24000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.pension_taxable_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"US"}},{"binds":"pensions_and_annuities[].paid_in_from_us_taxed_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For the years you were a United States citizen or resident, count only pay that was counted in your United States income, and money your employer paid in that was counted in your income when it went in. Pay you left out with the foreign earned income exclusion does not count. For the years you were neither, count pay that the United States or another country taxed.","help_lines":["Pay counted in your United States income counts even if the foreign tax credit left no tax to pay on it.","Say no if nothing that went in counts, for example when it all came from pay left out of your United States income. If you say no, all of the pension is taxable.","Choose Not sure if you cannot tell."],"help_when":[],"id":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay","includes_united_states":false,"kind":"yesno","label":"Did money that was taxed go into your pension?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}},{"binds":"pensions_and_annuities[].cost_recovered_in_earlier_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if the tax-free part of your earlier payments from this pension already added up to everything taxed that was paid in. Your earlier returns or the worksheets you kept show it. If you say yes, all of it is taxable this year. If you say no, we work out the tax-free part.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","includes_united_states":false,"kind":"yesno","label":"Have you already got back, tax free, everything paid into this pension?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"}]}},{"binds":"pensions_and_annuities[].annuity.annuity_starting_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first day of the first period you were paid for, or the day the payments were fixed if that came later. The letter that confirmed your payments gives it.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","includes_united_states":false,"kind":"date","label":"On which day did your payments from this pension start?","label_when":[],"options":[],"placeholder":"2020-01-01","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"pensions_and_annuities[].annuity.annuity_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letter that confirmed your payments says whose life they last for. If you are paid as the survivor, answer for the payments as they were set up when they first started.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.annuity_kind","includes_united_states":false,"kind":"choice","label":"For how long are your payments made?","label_when":[],"off_ramp":{"body":"Payments that stop at a set date, or at the first of two deaths, are worked out with other IRS tables that we do not use.","code":"pension_foreign_cost_recovery","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot work out the taxable part of this pension","when":{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}},"options":[{"label":"For my life only.","value":"single_life"},{"label":"For my life, or until a set date if that comes first.","value":"single_life_until_set_date"},{"label":"For my life and the life of someone after me, such as my spouse.","value":"joint_life"},{"label":"For two lives, ending when the first of us dies.","value":"joint_life_until_first_death"},{"label":"For a fixed number of months, whoever is alive.","value":"fixed_period"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"pensions_and_annuities[].annuity.fixed_period_payments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letter that confirmed your payments gives the number of monthly payments.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.fixed_period_payments","includes_united_states":false,"kind":"integer","label":"How many monthly payments does your fixed period have in all?","label_when":[],"options":[],"placeholder":"120","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"fixed_period"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_in_a_lifetime":{"message_bounds":"Enter the number of monthly payments, a whole number from 1 to 1560."}},"validators":["months_in_a_lifetime"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"fixed_period"}]}},{"binds":"pensions_and_annuities[].annuity.cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For the years you were a United States citizen or resident, add what you paid in from pay counted in your United States income and what your employer paid in that was counted in your income when it went in. Give the total in US dollars. Your plan's records show what went in.","help_lines":["Leave out what went in from pay you left out with the foreign earned income exclusion, or that was otherwise kept out of your United States income.","Count money your employer paid in for work abroad only where it would have been left out of your income for a reason other than the foreign earned income exclusion.","For the years you were neither a United States citizen nor a United States resident, count what went in only if the United States or another country taxed the pay it came from.","Take off anything you got back tax free before your payments started."],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.cost","includes_united_states":false,"kind":"money","label":"How much taxed money had gone in when your payments started?","label_when":[],"options":[],"placeholder":"30000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"pensions_and_annuities[].annuity.recovered_tax_free_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax-free part of your earlier payments, in US dollars, from the worksheets you kept or your earlier returns. Enter 0 if this is the first year. If you are paid as the survivor, include what the first person already got back tax free.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.recovered_tax_free_before","includes_united_states":false,"kind":"money","label":"How much of it have you got back tax free in earlier years?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","value":1}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","value":1}]}]}},{"binds":"pensions_and_annuities[].annuity.other_annuitants_paid_now","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if another person receives payments from it alongside yours right now, as your statement would show.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","includes_united_states":false,"kind":"yesno","label":"Is anyone else paid from this same pension at the same time as you?","label_when":[],"off_ramp":{"body":"When more than one person is paid from the same contract at the same time, each one's tax-free part is worked out in a way we do not do here.","code":"pension_foreign_cost_recovery","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot work out the taxable part of this pension","when":{"op":"truthy","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.tables","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS has older and newer tables for working out the tax-free part, and which one applies depends on when the cost of the contract was paid. Your contract or plan records show the dates of your payments into it.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.tables","includes_united_states":false,"kind":"choice","label":"When was the money paid that bought your payments?","label_when":[],"options":[{"label":"Some of the cost was paid after June 30, 1986, or I chose in an earlier year to treat all of it that way.","value":"post_june_1986"},{"label":"All of the cost was paid before July 1, 1986.","value":"pre_july_1986"},{"label":"I figure the cost paid before July 1986 and the cost paid after June 1986 separately.","value":"split"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.payment_frequency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract or the payer's letter says how often you are paid.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.payment_frequency","includes_united_states":false,"kind":"choice","label":"How often are your payments made?","label_when":[],"options":[{"label":"Every month.","value":"monthly"},{"label":"Every three months.","value":"quarterly"},{"label":"Every six months.","value":"semiannually"},{"label":"Once a year.","value":"annually"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.months_to_first_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the whole months from the day your payments started, as the contract defines it, to the day the first payment was made. Enter 0 if it was less than a month.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.months_to_first_payment","includes_united_states":false,"kind":"integer","label":"How many whole months passed from your starting date to your first payment?","label_when":[],"options":[],"placeholder":"1","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.annuitant_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Take the birthday closest to that day, before or after it, from the date of birth on your passport.","help_lines":["If your payments continue a contract or pension that had already started paying the person who died, give that person's age at the birthday nearest the day their payments started.","If your own payments started after their death, give your own age."],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.annuitant_age","includes_united_states":false,"kind":"integer","label":"How old were you at the birthday nearest the day your payments started?","label_when":[],"options":[],"placeholder":"65","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"single_life"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.general_rule.paid_to_survivor","value":false}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]},{"op":"answered","ref":"about_you.taxpayer.date_of_birth"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"},{"op":"answered","ref":"household.spouse.date_of_birth"}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"single_life"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.general_rule.paid_to_survivor","value":false}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]},{"op":"answered","ref":"about_you.taxpayer.date_of_birth"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"},{"op":"answered","ref":"household.spouse.date_of_birth"}]}]}]}]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.survivor_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The person your contract continues the payments for after the first person dies, such as a spouse, at the birthday closest to the day the payments started. Work it out from the date of birth on their passport.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.survivor_age","includes_united_states":false,"kind":"integer","label":"How old was your contract's other person at their birthday nearest that day?","label_when":[],"options":[],"placeholder":"63","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.periodic_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The amount of one regular payment when the payments started, before any later increase, as your contract or the payer's first statement shows it. Increases are taxed in full, so only the first amount is used here.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.periodic_payment","includes_united_states":false,"kind":"money","label":"How much was the first regular payment your contract called for?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.survivor_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract says what is paid to the survivor. Enter the same amount if nothing changes.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.survivor_payment","includes_united_states":false,"kind":"money","label":"After the first death, what does your contract pay the other person each time?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.paid_to_survivor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you receive these payments because the first person on the contract has died.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.paid_to_survivor","includes_united_states":false,"kind":"yesno","label":"Were this year's payments made to you as the survivor after the first death?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.payments_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Usually the number of payments made during the year, as the payer's statements show. If a payment for an earlier year came this year as well, count it too.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.payments_this_year","includes_united_states":false,"kind":"integer","label":"How many regular payments did the amount you received this year cover?","label_when":[],"options":[],"placeholder":"12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"payments_in_a_lifetime":{"message_bounds":"Enter the number of payments, a whole number from 0 to 1560."}},"validators":["payments_in_a_lifetime"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.fractional_first_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"In the year payments start, the first payment can cover only part of a month or other period, as the payer's first statement shows. Enter that amount, or 0 if there was none.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.fractional_first_payment","includes_united_states":false,"kind":"money","label":"How much was your first payment if it covered only part of a period?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"age_lt","ref":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","value":1}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"age_lt","ref":"income_sources.pensions_and_annuities.annuity.annuity_starting_date","value":1}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.refund_feature","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some contracts pay the rest of a guaranteed amount to a beneficiary or to your estate. Your contract says whether yours does.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.refund_feature","includes_united_states":false,"kind":"yesno","label":"Does the contract pay someone else if you die before a set amount or number of payments is paid?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.refund_guaranteed_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The guaranteed minimum your contract states, counting what is paid to your beneficiary or estate if you die early, for example a refund of what you paid, or the payments for a guaranteed number of years.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.refund_guaranteed_amount","includes_united_states":false,"kind":"money","label":"What is the least your contract guarantees to pay in all?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.annuity.general_rule.refund_feature"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.annuity.general_rule.refund_feature"}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.variable_payments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a variable annuity, whose payments depend on how its funds perform. A cost-of-living increase does not count.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.variable_payments","includes_united_states":false,"kind":"yesno","label":"Do your payments go up and down with the investments behind them?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"pensions_and_annuities[].annuity.general_rule.scheduled_increase","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only for an increase the contract fixes in advance. Cost-of-living increases do not count.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.annuity.general_rule.scheduled_increase","includes_united_states":false,"kind":"yesno","label":"Does your contract set a future date when your payments go up?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.pensions_and_annuities.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"pensions_and_annuities[].source_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your statement.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.source_country","includes_united_states":false,"kind":"country","label":"Which country pays your pension?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}},{"binds":"pensions_and_annuities[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The withholding line on your pension statement, and only tax the United States kept back. Tax the other country took goes on the page about tax you paid abroad, so leave this at zero if that is all that was taken.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much United States federal tax was kept back for you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"pensions_and_annuities[].paid_for_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if it comes from work you or someone in your family did, even if an insurance company pays it. Say no for an annuity bought with savings. Your contract or the payer's letter shows it.","help_lines":["It decides whether it counts toward the extra tax on investment income of people with a high income, and what we ask about the plan that pays it. Choose Not sure if you cannot tell: we then ask about the plan as for a pension paid for work, and the return can be filed only where the answer does not change that extra tax."],"help_when":[],"id":"income_sources.pensions_and_annuities.paid_for_work","includes_united_states":false,"kind":"yesno","label":"Do you get this pension for work, from an employer's or a state plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}},{"binds":"pensions_and_annuities[].claims_treaty_exemption","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some treaties say a pension is taxed only where you live.","help_lines":["A United States citizen or resident can use that rule only in the cases each treaty sets out.","For the United Kingdom, Germany, Canada and Thailand we read the treaty itself and ask what it turns on; for other countries the IRS table we work from does not list those cases, and if you answer yes we cannot file this return for you."],"help_when":[],"id":"income_sources.pensions_and_annuities.claims_treaty_exemption","includes_united_states":false,"kind":"yesno","label":"Do you claim that country's treaty keeps your pension out of United States tax?","label_when":[],"off_ramp":{"body":"The IRS treaty table sets out the United States tax on payments to people who live in the other country. It does not settle whether a United States citizen or resident can keep a pension out of United States tax, so we cannot take that position for you.","code":"treaty_pension_position","next_step":"Answer no if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We cannot claim a treaty exemption for this pension","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PK","PT","RO","SE","SI","SK","TH","TN","TR","TT","UA","VE","ZA"]}]}},{"binds":"pensions_and_annuities[].treaty_claim.filer_status","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A treaty treats a citizen, a green card holder and another resident differently. If the pension is your spouse's, answer for your spouse.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.treaty_claim.filer_status","includes_united_states":false,"kind":"choice","label":"For the treaty, which of these describes you?","label_when":[],"off_ramp":{"body":"For someone in your position the treaty and its official explanation do not settle how the United States taxes this pension, so we cannot take the position for you.","code":"treaty_catalog_unsettled","next_step":"Answer no to the treaty question if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"The treaty does not settle this pension for you","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"DE"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"other_resident_alien"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business","value":false}]}]}]}]}]}},"options":[{"label":"A United States citizen.","value":"us_citizen"},{"label":"Not a citizen, but holding a green card (admitted for permanent residence).","value":"green_card_holder"},{"label":"Not a United States citizen or national, and without a green card, but a United States resident for tax because of the days spent there.","value":"other_resident_alien"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]}},{"binds":"pensions_and_annuities[].treaty_claim.residence","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each treaty has an article on residence that settles which country you count as a resident of for the treaty when both could claim you. Choose the country it gives you. If the pension is your spouse's, answer for your spouse.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.treaty_claim.residence","includes_united_states":false,"kind":"choice","label":"Under the treaty, which country are you a resident of?","label_when":[],"off_ramp":{"body":"A treaty covers people who are residents of one or both of its countries, and a resident of the United States who is not a citizen and whom the treaty treats as a resident of the other country is outside the rules we read. So we cannot take a position under the treaty for you.","code":"treaty_catalog_no_row","next_step":"Answer no to the treaty question if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"The treaty article does not cover this pension for you","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"neither"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"answered","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status"},{"op":"ne","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"hostilities_compensation"},{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["DE"]}]}]}]}]}},"options":[{"label":"The United States.","value":"united_states"},{"label":"The other country, the one that pays it.","value":"treaty_country"},{"label":"Neither of them: I live in a third country.","value":"neither"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]}},{"binds":"pensions_and_annuities[].treaty_claim.payment_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The treaty articles treat each of these differently.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","includes_united_states":false,"kind":"choice","label":"Which of these is the payment you receive?","label_when":[],"off_ramp":{"body":"From your answers, the treaty article that covers this pension lets the United States tax it for someone in your position, so it is taxed on your return as it would be without the claim.","code":"treaty_catalog_keeps_us_tax","next_step":"Continue, or answer no to the treaty question if you would rather not list the claim.","severity":"info","title":"The treaty keeps United States tax on this pension","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["DE","GB","TH"]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business","value":false}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"annuity"}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["DE","TH"]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","value":"us_citizen"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]}]}]}]}]}},"options":[{"label":"A pension for work for that country's government, a region or a town.","value":"government_service_pension"},{"label":"Another pension for past work, or from a pension scheme.","value":"pension"},{"label":"An annuity: a set sum paid at set times in return for money paid in, not for work.","value":"annuity"},{"help":"Only the United Kingdom treaty has a rule of its own for a lump sum. Under the other treaties a lump sum is a pension, and we treat it as one.","label":"A single lump sum from a pension scheme.","value":"lump_sum"},{"help":"Paid by Germany or by a body set up under German public law. Only the German treaty has an article for these payments.","label":"A pension or annuity Germany pays as compensation for injury or damage suffered as a result of war or political persecution.","value":"hostilities_compensation"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]}},{"binds":"pensions_and_annuities[].treaty_claim.for_state_business","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A pension for work in a business a government runs, rather than for its own public work, comes under the treaty's pension article instead.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.treaty_claim.for_state_business","includes_united_states":false,"kind":"yesno","label":"Did you do that government work for a business the government carries on?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["DE","GB","TH"]}]}},{"binds":"pensions_and_annuities[].treaty_claim.from_uk_pension_scheme","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The treaty means a plan, fund or other arrangement set up in the United Kingdom that is generally exempt from tax there and run mainly to provide pensions or retirement benefits.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.treaty_claim.from_uk_pension_scheme","includes_united_states":false,"kind":"yesno","label":"Is your pension paid from a pension scheme set up in the United Kingdom?","label_when":[],"off_ramp":{"body":"The United Kingdom treaty treats a payment as a pension only when it is paid from a pension scheme set up in the United Kingdom, so we cannot take a position under that article for you.","code":"treaty_catalog_no_row","next_step":"Answer no to the treaty question if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"The treaty's pension article does not cover this payment","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.from_uk_pension_scheme","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]}]}]}]}},{"binds":"pensions_and_annuities[].treaty_claim.arises_in_canada","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The treaty does not say itself where a pension arises; it leaves that to the rules each country uses to decide where income comes from. If you cannot say, a tax advisor can.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada","includes_united_states":false,"kind":"yesno","label":"Does your pension arise in Canada?","label_when":[],"off_ramp":{"body":"The Canadian treaty's pension article covers a pension that arises in Canada and is paid to a resident of the United States, so we cannot take a position under it for you.","code":"treaty_catalog_no_row","next_step":"Answer no to the treaty question if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"The treaty's pension article does not cover this payment","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]}]}]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]}]}]}]}]}},{"binds":"pensions_and_annuities[].treaty_claim.exempt_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The treaty leaves out of United States tax only the amount the other country's own tax law would leave out for someone living there. The treaty does not state that amount and we do not work it out, so give the figure from your pension statement or a tax advisor.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},"United Kingdom treaty, Article 17(1)(b): the amount that would be exempt from United Kingdom tax if you were a resident of the United Kingdom."],[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},"Canadian treaty, Article XVIII(1): the amount that would be excluded from Canadian taxable income if you were a resident of Canada."]],"id":"income_sources.pensions_and_annuities.treaty_claim.exempt_amount","includes_united_states":false,"kind":"money","label":"How much of it would the other country leave untaxed if you lived there?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.income_refusals.treaty_catalog_findings","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.from_uk_pension_scheme"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada"}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"in","ref":"income_sources.pensions_and_annuities.source_country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"GB"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.for_state_business"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.from_uk_pension_scheme"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"government_service_pension"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.pensions_and_annuities.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"pension"},{"op":"eq","ref":"income_sources.pensions_and_annuities.treaty_claim.payment_kind","value":"lump_sum"}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.treaty_claim.arises_in_canada"}]}]}]}]}]}},{"binds":"pensions_and_annuities[].received_while_residing_in_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if your home was in the United States during the months this pension covers. Say no if you were living abroad. We mean where you were actually living, not where your mail goes.","help_lines":["Say no, and we use the address abroad you give on the page about where you lived, or your mailing address if it is abroad, because the IRS form needs a street address and not a country and a city alone.","Choose Not sure if you cannot say, and we use the address abroad your return already gives for you. If it gives none, we ask you to answer yes or no before you continue."],"help_when":[],"id":"income_sources.pensions_and_annuities.received_while_residing_in_us","includes_united_states":false,"kind":"yesno","label":"Were you living in the United States while this pension was paid to you?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your addresses abroad, which cover the whole year. Change it if that was not right.","value":false,"when":{"op":"derived","ref":"income_sources.pensions_and_annuities.lived_abroad_all_year"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}},{"address_variant":"full","binds":"pensions_and_annuities[].payer_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on your pension statement. A pension from abroad needs it to be filed.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.payer_address","includes_united_states":false,"kind":"address","label":"What is your pension payer's address?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.mef.mappers.fec._build_pension_record","required_when":{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"pensions_and_annuities[].canada_plan_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's yearly statement names it. The Form 3520 instructions name a registered retirement savings plan (RRSP) and a registered retirement income fund (RRIF) among the plans that form is not filed for.","help_lines":["Choose Not sure if you cannot tell: we then ask three questions about the plan."],"help_when":[],"id":"income_sources.pensions_and_annuities.canada_plan_kind","includes_united_states":false,"kind":"choice","label":"What kind of plan in Canada pays your pension?","label_when":[],"off_ramp":{"body":"The Form 3520 instructions name a registered retirement savings plan and a registered retirement income fund among the plans that form is not filed for. Form 8938 and the report of foreign bank and financial accounts still apply as usual, and your return's notes say what you told us.","code":"pension_canadian_plan_exempt","next_step":"Continue to the next question.","severity":"info","title":"No Form 3520 is needed for this plan","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"}]},{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]}},"options":[{"label":"A registered retirement savings plan (RRSP).","value":"rrsp"},{"label":"A registered retirement income fund (RRIF).","value":"rrif"},{"label":"Another plan, such as a pension plan from work.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"}]}},{"binds":"pensions_and_annuities[].canada_plan_resident","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a pension plan set up in Canada and run there.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.canada_plan_resident","includes_united_states":false,"kind":"yesno","label":"Is your plan a trust, company or other arrangement resident in Canada?","label_when":[],"off_ramp":{"body":"From your answers, your plan is a Canadian retirement plan, which Revenue Procedure 2014-55 frees from the foreign trust forms, Forms 3520 and 3520-A. Form 8938 and the report of foreign bank and financial accounts still apply as usual, and your return's notes list what you confirmed.","code":"pension_canadian_plan_exempt_by_procedure","next_step":"Continue to the next question.","severity":"info","title":"No Form 3520 is needed for this plan","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind","value":"other"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.canada_plan_kind"},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind"}]}]}]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.canada_plan_resident"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind","value":"other"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.canada_plan_kind"},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind"}]}]}]}},{"binds":"pensions_and_annuities[].canada_plan_tax_exempt","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's yearly statement or its trustee can say so.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","includes_united_states":false,"kind":"yesno","label":"Is your plan generally exempt from income tax in Canada?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind","value":"other"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.canada_plan_kind"},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind"}]}]}]}},{"binds":"pensions_and_annuities[].canada_plan_for_pension","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's rules or its trustee can say so.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.canada_plan_for_pension","includes_united_states":false,"kind":"yesno","label":"Does your plan exist only to provide pensions or employee benefits?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind","value":"other"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.canada_plan_kind"},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_kind"}]}]}]}},{"binds":"pensions_and_annuities[].paid_from_personal_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a self-invested personal pension (SIPP) in the United Kingdom, or another private pension plan you paid into. Say no for an annuity you bought from an insurance company.","help_lines":["A pension plan abroad can count as a trust, and we then ask a few questions about it. Choose Not sure if you cannot tell: we then ask them too."],"help_when":[],"id":"income_sources.pensions_and_annuities.paid_from_personal_plan","includes_united_states":false,"kind":"yesno","label":"Is it paid by a personal pension plan you paid into?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]}},{"binds":"pensions_and_annuities[].plan_has_fund","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if your pension is paid only from the government's or employer's own budget, with nothing held for the plan. A plan with nothing held for it is not a trust for United States tax purposes, so Form 3520 does not arise for it.","help_lines":["Choose Not sure if you cannot tell: we then ask about the plan as for one with a fund."],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_has_fund","includes_united_states":false,"kind":"yesno","label":"Does a fund, trust or trustee hold money or property for your plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]}},{"binds":"pensions_and_annuities[].plan_for_retirement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The plan can be a trust, fund, scheme or other arrangement set up under the law of the country abroad. Small benefits that come with the pension do not change the answer.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_for_retirement","includes_united_states":false,"kind":"yesno","label":"Is your plan there only, or almost only, to pay pensions or retirement benefits?","label_when":[],"off_ramp":{"body":"From your answers, Revenue Procedure 2020-17 frees this plan from the foreign trust forms, Forms 3520 and 3520-A. Form 8938 and the report of foreign bank and financial accounts still apply as usual, and your return's notes list what you confirmed.","code":"pension_foreign_trust_exempt","next_step":"Continue to the next question.","severity":"info","title":"No Form 3520 is needed for this plan","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_for_retirement"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_tax_favored"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_reports_to_tax_office"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_contributions_from_work_only"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_contributions_capped"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_withdrawals_restricted"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_open_to_all_staff"},{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_income_reported"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_tax_favored","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A tax break means at least one of these under that country's law: money paid in is deducted or left out of income, taxed at a lower rate, or earns a tax credit, a government top-up or another tax benefit; or what the plan earns is taxed only when paid out, or at a lower rate.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_tax_favored","includes_united_states":false,"kind":"yesno","label":"Does your plan's country free it from income tax or give it tax breaks?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_reports_to_tax_office","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It counts if the information is sent to the tax office each year, or the tax office can get it each year.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_reports_to_tax_office","includes_united_states":false,"kind":"yesno","label":"Does the tax office there get yearly information about your plan or its members?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_contributions_from_work_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Money paid in has to come with pay for work someone did. A plan that also takes other savings does not meet this. Money moved in from another plan of this kind in the same country does not count against it.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_contributions_from_work_only","includes_united_states":false,"kind":"yesno","label":"Does your plan accept money paid in only from pay for work?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_contributions_capped","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The cap must be a share of the member's pay, {context.rp_2020_17_annual_contribution_limit} or less a year, or {context.rp_2020_17_lifetime_contribution_limit} or less in all. For a cap in another currency, use the Treasury exchange rate for the last day of the tax year.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_contributions_capped","includes_united_states":false,"kind":"yesno","label":"Does the law there cap what can be paid into your plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_withdrawals_restricted","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It also counts if money can come out earlier but with a penalty. A plan that also allows loans, or payments for hardship, education or buying your main home, still counts.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_withdrawals_restricted","includes_united_states":false,"kind":"yesno","label":"Can money leave your plan only at retirement age, on disability or at death?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_open_to_all_staff","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check this if no employer runs the plan. If one does, counting its other similar plans with it, all three must be true: a wide range of its employees, ordinary staff included, can take part; most of those who can take part get real benefits from it; and the benefits it gives them do not discriminate.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_open_to_all_staff","includes_united_states":false,"kind":"yesno","label":"Does your plan treat its employer's staff broadly and fairly, or have no employer?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].plan_income_reported","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every year for which the IRS can still assess tax, and the returns you are filing now, this one and any amended return included. Taxable amounts are what the plan paid you, and any money paid in or growth in the plan that was taxable to you that year.","help_lines":[],"help_when":[],"id":"income_sources.pensions_and_annuities.plan_income_reported","includes_united_states":false,"kind":"yesno","label":"Did you file each required United States return, reporting this plan's taxable amounts?","label_when":[],"off_ramp":{"body":"Revenue Procedure 2020-17 frees a plan from Form 3520 only when every line here is true. A plan it does not free may be a foreign trust, and Form 3520 for a foreign trust is not something we prepare.","code":"pension_foreign_trust_not_exempt","next_step":"Check any line you left clear that is true. Otherwise use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare Form 3520 for this pension plan","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_for_retirement","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_tax_favored","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_reports_to_tax_office","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_contributions_from_work_only","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_contributions_capped","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_withdrawals_restricted","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_open_to_all_staff","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_income_reported","value":false}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_for_work"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_for_work","value":false},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"},{"op":"eq","ref":"income_sources.pensions_and_annuities.paid_from_personal_plan"}]}]}]}]},{"op":"or","rules":[{"op":"ne","ref":"income_sources.pensions_and_annuities.source_country","value":"CA"},{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"income_sources.pensions_and_annuities.canada_plan_kind","values":["rrsp","rrif"]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_resident","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_tax_exempt","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.canada_plan_for_pension","value":false}]}]}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"and","rules":[{"op":"answered","ref":"income_sources.pensions_and_annuities.plan_has_fund"},{"op":"eq","ref":"income_sources.pensions_and_annuities.plan_has_fund"}]}]}]}},{"binds":"pensions_and_annuities[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":["For a pension or a workplace plan such as a 401(k), the part you own together is what was built up while you were married and living in a community property state. Your plan statements show the dates."],"help_when":[],"id":"income_sources.pensions_and_annuities.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}},{"binds":"pensions_and_annuities[].community_share_from_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a pension or a workplace plan such as a 401(k), from your job or your spouse's. Say no for an annuity you bought with money you own together. Your plan statements show which it is.","help_lines":["Choose Not sure if you do not know."],"help_when":[],"id":"income_sources.pensions_and_annuities.community_share_from_work","includes_united_states":false,"kind":"yesno","label":"Was the part you own together earned through work?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"gt","ref":"income_sources.pensions_and_annuities.community_property_share_percent","value":0}]}}],"row_label":"Pension","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_pensions"}]}},{"binds":"social_security.is_railroad_retirement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The heading of your yearly benefit statement names the agency. It is the Social Security Administration or the Railroad Retirement Board.","help_lines":[],"help_when":[],"id":"income_sources.social_security.is_railroad_retirement","includes_united_states":false,"kind":"yesno","label":"Are your benefits railroad retirement benefits?","label_when":[],"off_ramp":{"body":"The Railroad Retirement Board sets its yearly statement out differently from a Form SSA-1099, and we do not have that layout to guide you through it.","code":"railroad_retirement_statement","next_step":"Check the yearly total against your Railroad Retirement Board statement before you file.","severity":"review","title":"A railroad retirement statement is laid out differently","when":{"op":"truthy","ref":"income_sources.social_security.is_railroad_retirement"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_social_security"}]}},{"binds":"social_security.gross_benefits","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 5 of your Form SSA-1099, headed Net benefits. If the Railroad Retirement Board pays you instead, use box 5 of your Form RRB-1099, not the yearly total from any other railroad form.","help_lines":["Copy box 5 exactly, including a minus sign if the figure carries one: that happens when you paid back more during the year than you were paid, and none of your benefits is taxable for the year when it does.","Paying back more than you received can also give you a deduction or a credit that we do not work out, so a return with a negative figure here cannot be filed from here."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, add the figure from your spouse's statement to yours, and give the total."]],"id":"income_sources.social_security.gross_benefits","includes_united_states":false,"kind":"money","label":"How much did you receive in benefits during the year?","label_when":[],"off_ramp":{"body":"You paid back more benefits during the year than you were paid, so none of your benefits is taxable for the year. Part of a large repayment can also come off your tax as a deduction or a credit, which we do not work out here.","code":"social_security_repayment","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out benefits you paid back","when":{"op":"lt","ref":"income_sources.social_security.gross_benefits","value":0}},"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_social_security"}]}},{"binds":"social_security.federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 6 of your Form SSA-1099, headed Voluntary federal income tax withheld. If the Railroad Retirement Board pays you, use the withholding on your Form RRB-1099.","help_lines":[],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, add your spouse's statement to yours."]],"id":"income_sources.social_security.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal tax was kept back from your benefits?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_social_security"}]}},{"binds":"social_security.medicare_premiums_deducted","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your yearly benefit statement sets out the premiums taken off. They are the ones taken before the benefits reached you, whichever agency pays you.","help_lines":[],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, add your spouse's statement to yours."]],"id":"income_sources.social_security.medicare_premiums_deducted","includes_united_states":false,"kind":"money","label":"How much was taken off your benefits for medical coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_social_security"}]}},{"binds":"social_security.received_form_rrb_1099_r","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is a separate form from the Form RRB-1099. It covers railroad benefits that are taxed like a pension, such as tier 2 benefits.","help_lines":[],"help_when":[],"id":"income_sources.social_security.received_form_rrb_1099_r","includes_united_states":false,"kind":"yesno","label":"Did the Railroad Retirement Board also send you a Form RRB-1099-R?","label_when":[],"off_ramp":{"body":"Railroad benefits on a Form RRB-1099-R are taxed like a pension and not like social security, and we do not prepare them. Putting them with your other railroad benefits would tax them the wrong way.","code":"rrb_form_rrb_1099_r","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare railroad benefits that come on a Form RRB-1099-R","when":{"op":"truthy","ref":"income_sources.social_security.received_form_rrb_1099_r"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.railroad_form_rrb_1099_r_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"truthy","ref":"income_sources.social_security.is_railroad_retirement"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"truthy","ref":"income_sources.social_security.is_railroad_retirement"}]}]}},{"binds":"social_security.lump_sum_for_earlier_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if part of what you were paid this year was back pay for an earlier year, for example after a claim was approved late or changed. Your agency can tell you. Say no if all of it was for this year.","help_lines":[],"help_when":[],"id":"income_sources.social_security.lump_sum_for_earlier_year","includes_united_states":false,"kind":"yesno","label":"Were any of these benefits paid to you for an earlier year?","label_when":[],"off_ramp":{"body":"The IRS lets you choose to work out the tax on back pay using the earlier year's figures, which can lower your tax. We do not do that here, and we will not file the higher amount without that choice.","code":"ss_lump_sum_election","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the choice for benefits paid for an earlier year","when":{"op":"truthy","ref":"income_sources.social_security.lump_sum_for_earlier_year"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.lump_sum_election_refusals","required_when":{"op":"truthy","ref":"income_sources.has_social_security"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_social_security"}]}},{"binds":"social_security.treaty_residence","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A United States citizen who lives in Canada, Egypt, Germany, Ireland, Israel, Italy, Romania or the United Kingdom is not taxed by the United States on United States social security benefits. Choose the country you were a resident of, under its own tax rules, for the whole year. On a joint return, choose it only if both of you were.","help_lines":["Choose Not sure if you cannot tell. The return cannot be filed from here until this is answered."],"help_when":[],"id":"income_sources.social_security.treaty_residence","includes_united_states":false,"kind":"choice","label":"Were you a resident of one of these countries for all of the year?","label_when":[],"off_ramp":{"body":"When only part of the year, or only one of you, was a resident of one of these countries, how much of your benefits is exempt is not something we work out here. We will not tax all of them or none of them on a guess.","code":"ss_treaty_exemption_part_year","next_step":"Choose a country if you were a resident all year, or none of these if you were not. Otherwise use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We cannot work out part of the year, or one of you","when":{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"partial"}},"options":[{"label":"Canada","value":"CA"},{"label":"Egypt","value":"EG"},{"label":"Germany","value":"DE"},{"label":"Ireland","value":"IE"},{"label":"Israel","value":"IL"},{"label":"Italy","value":"IT"},{"label":"Romania","value":"RO"},{"label":"The United Kingdom","value":"GB"},{"label":"None of these","value":"none"},{"label":"Only part of the year, or only one of us","value":"partial"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]}]}},{"binds":"social_security.italian_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A citizen of the United States who lives in Italy is exempt only if they are also a citizen of Italy. On a joint return, answer yes only if both of you are.","help_lines":[],"help_when":[],"id":"income_sources.social_security.italian_citizen","includes_united_states":false,"kind":"choice","label":"Are you a citizen of Italy?","label_when":[],"off_ramp":{"body":"Only one of you is a citizen of Italy, so only that person's benefits are exempt, and your benefits are entered as one total. Splitting them is not something we do here.","code":"ss_treaty_exemption_part_year","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot split your benefits between the two of you","when":{"op":"eq","ref":"income_sources.social_security.italian_citizen","value":"one"}},"options":[{"label":"Yes","value":"yes"},{"label":"No","value":"no"},{"label":"Only one of us, on a joint return","value":"one"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"}]}]}},{"binds":"social_security.spouse_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only United States citizens living in these countries keep their United States social security benefits out of United States tax. Their passport or naturalization certificate answers this. A green card holder answers no, and so does a United States national who is not a citizen, such as someone from American Samoa.","help_lines":["Choose Not sure if you cannot check. The return cannot be filed from here until this is answered."],"help_when":[],"id":"income_sources.social_security.spouse_us_citizen","includes_united_states":false,"kind":"yesno","label":"Is your spouse a United States citizen?","label_when":[],"off_ramp":{"body":"Only United States citizens living in these countries keep their benefits out of United States tax, and your benefits are entered as one total. Working out whether a tax treaty helps a spouse who is not a citizen is not something we do here.","code":"ss_treaty_exemption_not_citizen","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot split your benefits between the two of you","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.spouse_us_citizen","value":false},{"op":"in","ref":"income_sources.social_security.benefits_owner","values":["spouse","both"]}]}},"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answer that your spouse is not a United States citizen or resident. Change it here if that was not right.","value":false,"when":{"op":"eq","ref":"household.spouse.is_nonresident_alien","value":true}},{"confirm":false,"exact":true,"note":"Filled in from your answer about your spouse living abroad. Change it here if that was not right.","value_ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","when":{"op":"answered","ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen"}}],"required":true,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"income_sources.social_security.treaty_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"},{"op":"ne","ref":"income_sources.social_security.italian_citizen","value":"yes"}]}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"income_sources.social_security.treaty_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"},{"op":"ne","ref":"income_sources.social_security.italian_citizen","value":"yes"}]}]}]}]}},{"binds":"social_security.benefits_owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Read the name on each Form SSA-1099 or RRB-1099.","help_lines":[],"help_when":[],"id":"income_sources.social_security.benefits_owner","includes_united_states":false,"kind":"choice","label":"Whose benefits are on your statements?","label_when":[],"options":[{"label":"Mine","value":"primary"},{"label":"My spouse's","value":"spouse"},{"label":"Some are mine and some are my spouse's","value":"both"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.social_security_treaty_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"income_sources.social_security.treaty_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"},{"op":"ne","ref":"income_sources.social_security.italian_citizen","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.social_security.spouse_us_citizen","value":false},{"op":"eq","ref":"fit.citizenship_or_residency","value":"resident_alien"},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_social_security"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"derived","ref":"about_you.mailing_address_in_ss_treaty_country_2025"},{"op":"and","rules":[{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"in","ref":"about_you.lived_in_country","values":["CA","EG","DE","IE","IL","IT","RO","GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"income_sources.social_security.treaty_residence","values":["CA","EG","DE","IE","IL","IT","RO","GB"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.social_security.treaty_residence","value":"IT"},{"op":"ne","ref":"income_sources.social_security.italian_citizen","value":"yes"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.social_security.spouse_us_citizen","value":false},{"op":"eq","ref":"fit.citizenship_or_residency","value":"resident_alien"},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]}},{"add_label":"Add a benefit","binds":"foreign_social_security[]","help":"Add one row per country and paying agency. For a Canadian or German benefit, if you moved to or from the United States during the year, add a second row for the payments made while you lived there.","id":"income_sources.foreign_social_security","kind":"repeat","label":"Which benefits did another country's social security system pay you?","min_rows":1,"nodes":[{"binds":"foreign_social_security[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.owner","includes_united_states":false,"kind":"choice","label":"Is this benefit yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"foreign_social_security[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your benefit statement.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.country","includes_united_states":false,"kind":"country","label":"Which country's social security system pays your benefit?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"foreign_social_security[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of your yearly benefit statement.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.payer","includes_united_states":false,"kind":"text","label":"Which agency pays your benefit?","label_when":[],"options":[],"placeholder":"Deutsche Rentenversicherung","prefills":[],"refusal":"payer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"foreign_social_security[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly total on your benefit statement. Or add up the payments on your bank statements. Choose the currency you were paid in.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.amount","includes_united_states":false,"kind":"money","label":"How much did you receive in benefits during the year?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_social_security[].received_while_residing_in_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if your home was in the United States during the months the benefit covers. Say no if you were living abroad. We mean where you were actually living, not where your mail goes.","help_lines":["A Canadian or German benefit paid while you lived in the United States is reported like United States social security. Any other benefit is reported like a pension paid from abroad.","For a Canadian or German benefit, if you moved to or from the United States during the year, add it twice: one row for the payments made while you lived there, and one for the rest."],"help_when":[],"id":"income_sources.foreign_social_security.received_while_residing_in_us","includes_united_states":false,"kind":"yesno","label":"Were you living in the United States while this benefit was paid to you?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your addresses abroad, which cover the whole year. Change it if that was not right.","value":false,"when":{"op":"derived","ref":"income_sources.foreign_social_security.lived_abroad_all_year"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"foreign_social_security[].claims_treaty_exemption","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some treaties say social security is taxed only by the country that pays it.","help_lines":["A United States citizen or resident can use that rule only in the cases each treaty sets out.","For the United Kingdom, Germany, Canada and Thailand we read the treaty itself and ask what it turns on; for other countries the IRS table we work from does not list those cases, and if you answer yes we cannot file this return for you."],"help_when":[],"id":"income_sources.foreign_social_security.claims_treaty_exemption","includes_united_states":false,"kind":"yesno","label":"Do you claim that country's treaty keeps your benefit out of United States tax?","label_when":[],"off_ramp":{"body":"The IRS treaty table sets out the United States tax on payments to people who live in the other country. It does not settle whether a United States citizen or resident can keep a benefit out of United States tax, so we cannot take that position for you.","code":"treaty_benefit_position","next_step":"Answer no if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We cannot claim a treaty exemption for this benefit","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]}},{"binds":"foreign_social_security[].treaty_claim.filer_status","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A treaty treats a citizen, a green card holder and another resident differently. If the benefit is your spouse's, answer for your spouse.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.treaty_claim.filer_status","includes_united_states":false,"kind":"choice","label":"For the treaty, which of these describes you?","label_when":[],"off_ramp":{"body":"A treaty covers people who are residents of one or both of its countries, and a resident of the United States who is not a citizen and whom the treaty treats as a resident of the other country is outside the rules we read. So we cannot take a position under the treaty for you.","code":"treaty_catalog_no_row","next_step":"Answer no to the treaty question if you are not claiming it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"The treaty article does not cover this benefit for you","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"neither"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.filer_status"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}},"options":[{"label":"A United States citizen.","value":"us_citizen"},{"label":"Not a citizen, but holding a green card (admitted for permanent residence).","value":"green_card_holder"},{"label":"Not a United States citizen or national, and without a green card, but a United States resident for tax because of the days spent there.","value":"other_resident_alien"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]}},{"binds":"foreign_social_security[].treaty_claim.residence","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each treaty has an article on residence that settles which country you count as a resident of for the treaty when both could claim you. Choose the country it gives you. If the benefit is your spouse's, answer for your spouse.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.treaty_claim.residence","includes_united_states":false,"kind":"choice","label":"Under the treaty, which country are you a resident of?","label_when":[],"off_ramp":{"body":"You told us whether you were living in the United States while this benefit was paid, and the treaty residence you chose says the opposite. The two decide whether the benefit is reported like United States social security or like a pension from abroad, so we cannot go on until they agree.","code":"treaty_catalog_residence_contradicts_route","next_step":"Check both answers, or answer no to the treaty question if you are not claiming it.","severity":"block","title":"Your two answers about where you lived disagree","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}},"options":[{"label":"The United States.","value":"united_states"},{"label":"The other country, the one that pays it.","value":"treaty_country"},{"label":"Neither of them: I live in a third country.","value":"neither"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]}},{"binds":"foreign_social_security[].treaty_claim.canada_untaxed_benefit_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Canadian treaty taxes a Canadian benefit paid to a United States resident like United States social security, except that a type of benefit Canada does not tax when it pays it to its own residents is left out of United States tax.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type","includes_united_states":false,"kind":"yesno","label":"Is your benefit a kind Canada leaves untaxed when paid to its residents?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]}]}]}},{"binds":"foreign_social_security[].paid_in_from_us_taxed_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For the years you were a United States citizen or resident, count only pay that was counted in your United States income, and money your employer paid in that was counted in your income when it went in. Pay you left out with the foreign earned income exclusion does not count. For the years you were neither, count pay that the United States or another country taxed.","help_lines":["Pay counted in your United States income counts even if the foreign tax credit left no tax to pay on it.","Say no if nothing that went in counts, for example when it all came from pay left out of your United States income. If you say no, all of the benefit is taxable.","Choose Not sure if you cannot tell."],"help_when":[],"id":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay","includes_united_states":false,"kind":"yesno","label":"Did money that was taxed go into your benefit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]}},{"binds":"foreign_social_security[].cost_recovered_in_earlier_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if the tax-free part of your earlier payments from this benefit already added up to everything taxed that was paid in. Your earlier returns or the worksheets you kept show it. If you say yes, all of it is taxable this year. If you say no, we work out the tax-free part.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","includes_united_states":false,"kind":"yesno","label":"Have you already got back, tax free, everything paid into this benefit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"}]}},{"binds":"foreign_social_security[].annuity.annuity_starting_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first day of the first period you were paid for, or the day the payments were fixed if that came later. The letter that confirmed your payments gives it.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.annuity_starting_date","includes_united_states":false,"kind":"date","label":"On which day did your payments from this benefit start?","label_when":[],"options":[],"placeholder":"2020-01-01","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"foreign_social_security[].annuity.annuity_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letter that confirmed your payments says whose life they last for. If you are paid as the survivor, answer for the payments as they were set up when they first started.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.annuity_kind","includes_united_states":false,"kind":"choice","label":"For how long are your payments made?","label_when":[],"off_ramp":{"body":"Payments that stop at a set date, or at the first of two deaths, are worked out with other IRS tables that we do not use.","code":"benefit_foreign_cost_recovery","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot work out the taxable part of this benefit","when":{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}},"options":[{"label":"For my life only.","value":"single_life"},{"label":"For my life, or until a set date if that comes first.","value":"single_life_until_set_date"},{"label":"For my life and the life of someone after me, such as my spouse.","value":"joint_life"},{"label":"For two lives, ending when the first of us dies.","value":"joint_life_until_first_death"},{"label":"For a fixed number of months, whoever is alive.","value":"fixed_period"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]}},{"binds":"foreign_social_security[].annuity.fixed_period_payments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letter that confirmed your payments gives the number of monthly payments.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.fixed_period_payments","includes_united_states":false,"kind":"integer","label":"How many monthly payments does your fixed period have in all?","label_when":[],"options":[],"placeholder":"120","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"fixed_period"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_in_a_lifetime":{"message_bounds":"Enter the number of monthly payments, a whole number from 1 to 1560."}},"validators":["months_in_a_lifetime"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"fixed_period"}]}},{"binds":"foreign_social_security[].annuity.cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For the years you were a United States citizen or resident, add what you paid in from pay counted in your United States income and what your employer paid in that was counted in your income when it went in. Give the total in US dollars. Your plan's records show what went in.","help_lines":["Leave out what went in from pay you left out with the foreign earned income exclusion, or that was otherwise kept out of your United States income.","Count money your employer paid in for work abroad only where it would have been left out of your income for a reason other than the foreign earned income exclusion.","For the years you were neither a United States citizen nor a United States resident, count what went in only if the United States or another country taxed the pay it came from.","Take off anything you got back tax free before your payments started."],"help_when":[],"id":"income_sources.foreign_social_security.annuity.cost","includes_united_states":false,"kind":"money","label":"How much taxed money had gone in when your payments started?","label_when":[],"options":[],"placeholder":"30000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"foreign_social_security[].annuity.recovered_tax_free_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax-free part of your earlier payments, in US dollars, from the worksheets you kept or your earlier returns. Enter 0 if this is the first year. If you are paid as the survivor, include what the first person already got back tax free.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.recovered_tax_free_before","includes_united_states":false,"kind":"money","label":"How much of it have you got back tax free in earlier years?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.foreign_social_security.annuity.annuity_starting_date","value":1}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.foreign_social_security.annuity.annuity_starting_date","value":1}]}]}},{"binds":"foreign_social_security[].annuity.other_annuitants_paid_now","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if another person receives payments from it alongside yours right now, as your statement would show.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","includes_united_states":false,"kind":"yesno","label":"Is anyone else paid from this same benefit at the same time as you?","label_when":[],"off_ramp":{"body":"When more than one person is paid from the same contract at the same time, each one's tax-free part is worked out in a way we do not do here.","code":"benefit_foreign_cost_recovery","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot work out the taxable part of this benefit","when":{"op":"truthy","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]}},{"binds":"foreign_social_security[].annuity.general_rule.tables","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS has older and newer tables for working out the tax-free part, and which one applies depends on when the cost of the contract was paid. Your contract or plan records show the dates of your payments into it.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.tables","includes_united_states":false,"kind":"choice","label":"When was the money paid that bought your payments?","label_when":[],"options":[{"label":"Some of the cost was paid after June 30, 1986, or I chose in an earlier year to treat all of it that way.","value":"post_june_1986"},{"label":"All of the cost was paid before July 1, 1986.","value":"pre_july_1986"},{"label":"I figure the cost paid before July 1986 and the cost paid after June 1986 separately.","value":"split"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"foreign_social_security[].annuity.general_rule.payment_frequency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract or the payer's letter says how often you are paid.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.payment_frequency","includes_united_states":false,"kind":"choice","label":"How often are your payments made?","label_when":[],"options":[{"label":"Every month.","value":"monthly"},{"label":"Every three months.","value":"quarterly"},{"label":"Every six months.","value":"semiannually"},{"label":"Once a year.","value":"annually"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"foreign_social_security[].annuity.general_rule.months_to_first_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the whole months from the day your payments started, as the contract defines it, to the day the first payment was made. Enter 0 if it was less than a month.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.months_to_first_payment","includes_united_states":false,"kind":"integer","label":"How many whole months passed from your starting date to your first payment?","label_when":[],"options":[],"placeholder":"1","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.general_rule.payment_frequency","values":["quarterly","semiannually","annually"]}]}},{"binds":"foreign_social_security[].annuity.general_rule.annuitant_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Take the birthday closest to that day, before or after it, from the date of birth on your passport.","help_lines":["If your payments continue a contract or pension that had already started paying the person who died, give that person's age at the birthday nearest the day their payments started.","If your own payments started after their death, give your own age."],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.annuitant_age","includes_united_states":false,"kind":"integer","label":"How old were you at the birthday nearest the day your payments started?","label_when":[],"options":[],"placeholder":"65","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"single_life"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.general_rule.paid_to_survivor","value":false}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.owner","value":"spouse"}]},{"op":"answered","ref":"about_you.taxpayer.date_of_birth"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.owner","value":"spouse"},{"op":"answered","ref":"household.spouse.date_of_birth"}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"single_life"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.general_rule.paid_to_survivor","value":false}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.owner","value":"spouse"}]},{"op":"answered","ref":"about_you.taxpayer.date_of_birth"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.owner","value":"spouse"},{"op":"answered","ref":"household.spouse.date_of_birth"}]}]}]}]}]}},{"binds":"foreign_social_security[].annuity.general_rule.survivor_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The person your contract continues the payments for after the first person dies, such as a spouse, at the birthday closest to the day the payments started. Work it out from the date of birth on their passport.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.survivor_age","includes_united_states":false,"kind":"integer","label":"How old was your contract's other person at their birthday nearest that day?","label_when":[],"options":[],"placeholder":"63","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"foreign_social_security[].annuity.general_rule.periodic_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The amount of one regular payment when the payments started, before any later increase, as your contract or the payer's first statement shows it. Increases are taxed in full, so only the first amount is used here.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.periodic_payment","includes_united_states":false,"kind":"money","label":"How much was the first regular payment your contract called for?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"foreign_social_security[].annuity.general_rule.survivor_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract says what is paid to the survivor. Enter the same amount if nothing changes.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.survivor_payment","includes_united_states":false,"kind":"money","label":"After the first death, what does your contract pay the other person each time?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"foreign_social_security[].annuity.general_rule.paid_to_survivor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you receive these payments because the first person on the contract has died.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.paid_to_survivor","includes_united_states":false,"kind":"yesno","label":"Were this year's payments made to you as the survivor after the first death?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.annuity_kind","value":"joint_life"}]}},{"binds":"foreign_social_security[].annuity.general_rule.payments_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Usually the number of payments made during the year, as the payer's statements show. If a payment for an earlier year came this year as well, count it too.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.payments_this_year","includes_united_states":false,"kind":"integer","label":"How many regular payments did the amount you received this year cover?","label_when":[],"options":[],"placeholder":"12","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"payments_in_a_lifetime":{"message_bounds":"Enter the number of payments, a whole number from 0 to 1560."}},"validators":["payments_in_a_lifetime"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"foreign_social_security[].annuity.general_rule.fractional_first_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"In the year payments start, the first payment can cover only part of a month or other period, as the payer's first statement shows. Enter that amount, or 0 if there was none.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.fractional_first_payment","includes_united_states":false,"kind":"money","label":"How much was your first payment if it covered only part of a period?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"age_lt","ref":"income_sources.foreign_social_security.annuity.annuity_starting_date","value":1}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"age_lt","ref":"income_sources.foreign_social_security.annuity.annuity_starting_date","value":1}]}},{"binds":"foreign_social_security[].annuity.general_rule.refund_feature","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some contracts pay the rest of a guaranteed amount to a beneficiary or to your estate. Your contract says whether yours does.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.refund_feature","includes_united_states":false,"kind":"yesno","label":"Does the contract pay someone else if you die before a set amount or number of payments is paid?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]}},{"binds":"foreign_social_security[].annuity.general_rule.refund_guaranteed_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The guaranteed minimum your contract states, counting what is paid to your beneficiary or estate if you die early, for example a refund of what you paid, or the payments for a guaranteed number of years.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.refund_guaranteed_amount","includes_united_states":false,"kind":"money","label":"What is the least your contract guarantees to pay in all?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.benefit_refusals.foreign_general_rule_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.annuity.general_rule.refund_feature"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]},{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["single_life","joint_life"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.annuity.general_rule.refund_feature"}]}},{"binds":"foreign_social_security[].annuity.general_rule.variable_payments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a variable annuity, whose payments depend on how its funds perform. A cost-of-living increase does not count.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.variable_payments","includes_united_states":false,"kind":"yesno","label":"Do your payments go up and down with the investments behind them?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]}},{"binds":"foreign_social_security[].annuity.general_rule.scheduled_increase","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only for an increase the contract fixes in advance. Cost-of-living increases do not count.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.annuity.general_rule.scheduled_increase","includes_united_states":false,"kind":"yesno","label":"Does your contract set a future date when your payments go up?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.paid_in_from_us_taxed_pay"},{"op":"eq","ref":"income_sources.foreign_social_security.cost_recovered_in_earlier_years","value":false},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]}]},{"op":"not","rules":[{"op":"in","ref":"income_sources.foreign_social_security.annuity.annuity_kind","values":["joint_life_until_first_death","single_life_until_set_date"]}]}]},{"op":"eq","ref":"income_sources.foreign_social_security.annuity.other_annuitants_paid_now","value":false}]}},{"address_variant":"full","binds":"foreign_social_security[].payer_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on your benefit statement. A benefit taxed like a pension from abroad needs it to be filed.","help_lines":[],"help_when":[],"id":"income_sources.foreign_social_security.payer_address","includes_united_states":false,"kind":"address","label":"What is the address of the agency that pays your benefit?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.mef.mappers.fec._build_pension_record","required_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["AT","AU","BB","BD","BE","BG","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GR","ID","IE","IL","IN","IS","IT","JM","JP","KR","KZ","LK","LT","LU","LV","MA","MT","MX","NL","NO","NZ","PH","PT","RO","SE","SI","SK","TH","TN","TR","UA","VE","ZA"]},{"op":"not","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA"]},{"op":"and","rules":[{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"}]}]}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE","GB","TH"]},{"op":"truthy","ref":"income_sources.foreign_social_security.claims_treaty_exemption"}]},{"op":"in","ref":"income_sources.foreign_social_security.country","values":["CA","DE"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.foreign_social_security.received_while_residing_in_us"},{"op":"answered","ref":"income_sources.foreign_social_security.treaty_claim.residence"},{"op":"ne","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"CA"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"truthy","ref":"income_sources.foreign_social_security.treaty_claim.canada_untaxed_benefit_type"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.country","value":"TH"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"united_states"},{"op":"in","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","values":["green_card_holder","other_resident_alien","us_citizen"]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.residence","value":"treaty_country"},{"op":"eq","ref":"income_sources.foreign_social_security.treaty_claim.filer_status","value":"us_citizen"}]}]}]}]}]}]}]}}],"row_label":"Benefit","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_foreign_social_security"}]}},{"add_label":"Add a K-1","binds":"schedule_k1s[]","help":"Add one K-1 at a time, with the K-1 and its statements in front of you.","id":"income_sources.schedule_k1s","kind":"repeat","label":"What does each Schedule K-1 you received show?","min_rows":1,"nodes":[{"binds":"schedule_k1s[].entity_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The top of the K-1 names the form it comes with: Form 1065 for a partnership or a limited liability company taxed as one, Form 1120-S for an S corporation.","help_lines":["An estate or a trust sends a K-1 that comes with Form 1041.","A mortgage pool sends a Schedule Q that comes with Form 1066, for a residual interest."],"help_when":[],"id":"income_sources.schedule_k1s.entity_kind","includes_united_states":false,"kind":"choice","label":"Who sent you this Schedule K-1?","label_when":[],"off_ramp":{"body":"Income from an estate or a trust, or from a residual interest in a mortgage pool, is reported on parts of Schedule E we do not prepare.","code":"schedule_k1","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a K-1 from an estate or trust, or a Schedule Q","when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"estate_or_trust"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"remic"}]}},"options":[{"label":"A partnership, or a company taxed as one (Form 1065)","value":"partnership"},{"label":"An S corporation (Form 1120-S)","value":"s_corporation"},{"label":"An estate or a trust (Form 1041)","value":"estate_or_trust"},{"label":"A mortgage pool, on a Schedule Q (Form 1066)","value":"remic"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.owner","includes_united_states":false,"kind":"choice","label":"Is this K-1 yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"schedule_k1s[].entity_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Type it as the form prints it.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},"On your K-1 it is item B."]],"id":"income_sources.schedule_k1s.entity_name","includes_united_states":false,"kind":"text","label":"What is the name of whoever sent you this K-1?","label_when":[],"options":[],"placeholder":"Harbor Lane Partners LP","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"schedule_k1s[].ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Item A of the K-1, its employer identification number. Leave it empty only if a partnership outside the United States shows none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.ein","includes_united_states":false,"kind":"text","label":"What nine-digit employer number does your K-1 show for it?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.schedule_k1.ScheduleK1._check_facts","required_when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the number on the form and type it as two digits, a hyphen, then seven."}},"validators":["ein"],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].foreign_partnership","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The K-1 or the partnership's papers say where it was formed.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.foreign_partnership","includes_united_states":false,"kind":"yesno","label":"Is your partnership set up under the laws of another country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}},{"clears":["income_sources.schedule_k1s.ordinary_business_income"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].ordinary_business_income"],"help":"Box 1 of your K-1.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_business","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show business income or loss?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.net_rental_real_estate_income"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].net_rental_real_estate_income"],"help":"Box 2 of your K-1.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_rental","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show rental real estate income or loss?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.other_net_rental_income"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].other_net_rental_income"],"help":"Box 3 of your K-1.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_other_rental","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show other rental income or loss?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.royalties"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].royalties"],"help":"Box 7 of a partnership's K-1, box 6 of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_royalties","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show royalties?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.guaranteed_payments_services","income_sources.schedule_k1s.guaranteed_payments_capital"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].guaranteed_payments_services","schedule_k1s[].guaranteed_payments_capital"],"help":"Boxes 4a and 4b of your K-1.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_guaranteed","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show guaranteed payments?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}},{"clears":["income_sources.schedule_k1s.interest_income"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].interest_income"],"help":"Box 5 of a partnership's K-1, box 4 of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_interest","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show interest income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.ordinary_dividends","income_sources.schedule_k1s.qualified_dividends"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].ordinary_dividends","schedule_k1s[].qualified_dividends"],"help":"Box 6a of a partnership's K-1, box 5a of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_dividends","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show dividends?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.net_short_term_capital_gain","income_sources.schedule_k1s.net_long_term_capital_gain","income_sources.schedule_k1s.collectibles_gain","income_sources.schedule_k1s.unrecaptured_section_1250_gain"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].net_short_term_capital_gain","schedule_k1s[].net_long_term_capital_gain","schedule_k1s[].collectibles_gain","schedule_k1s[].unrecaptured_section_1250_gain"],"help":"Boxes 8 and 9a of a partnership's K-1, boxes 7 and 8a of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_capital","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show capital gains or losses?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.net_section_1231_gain"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].net_section_1231_gain"],"help":"Box 10 of a partnership's K-1, box 9 of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_section_1231","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show a section 1231 gain or loss?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.self_employment_earnings"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].self_employment_earnings"],"help":"Box 14 code A of your K-1.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_self_employment","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show self-employment earnings?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}},{"clears":["income_sources.schedule_k1s.tax_exempt_interest","income_sources.schedule_k1s.other_tax_exempt_income"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].tax_exempt_interest","schedule_k1s[].other_tax_exempt_income"],"help":"Box 18 codes A and B of a partnership's K-1, box 16 codes A and B of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_tax_exempt","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show income free of tax?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.nondeductible_expenses"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].nondeductible_expenses"],"help":"Box 18 code C of a partnership's K-1, box 16 code C of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_nondeductible","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show costs that cannot be deducted?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.distributions"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].distributions"],"help":"Box 19 code A of a partnership's K-1, box 16 code D of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_distributions","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show payouts to you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.foreign_taxes"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].foreign_taxes"],"help":"Box 21 of a partnership's K-1, box 16 code F of an S corporation's.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2021},"On your K-1 for this year it is codes P and Q of box 16 from a partnership, or of box 14 from an S corporation."]],"id":"income_sources.schedule_k1s.box_foreign_tax","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show foreign taxes?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.qualified_business_income","income_sources.schedule_k1s.section_199a_dividends","income_sources.schedule_k1s.qualified_section_1231"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].qualified_business_income","schedule_k1s[].section_199a_dividends","schedule_k1s[].qualified_section_1231"],"help":"Box 20 code Z of a partnership's K-1, box 17 code V of an S corporation's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_section_199a","includes_united_states":false,"kind":"yesno","label":"Does your K-1 come with a section 199A statement?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"clears":["income_sources.schedule_k1s.other_items"],"currency_pickable":false,"derived_from_presence":["schedule_k1s[].other_items[]"],"help":"Any other box with an amount, such as a deduction, a credit or other information. You enter each box and code next.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.box_other","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show an amount in another box or code?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].ordinary_business_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of your K-1. Enter a loss with a minus sign, and leave it empty if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.ordinary_business_income","includes_united_states":false,"kind":"money","label":"How much ordinary business income or loss does your box 1 show?","label_when":[],"options":[],"placeholder":"12000","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_business"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_business"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].net_rental_real_estate_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of your K-1. Enter a loss with a minus sign.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.net_rental_real_estate_income","includes_united_states":false,"kind":"money","label":"How much net rental real estate income or loss does your box 2 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_rental"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_rental"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].other_net_rental_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 3 of your K-1, rentals other than real estate. Enter a loss with a minus sign.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_net_rental_income","includes_united_states":false,"kind":"money","label":"How much other net rental income or loss does your box 3 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_other_rental"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_other_rental"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].royalties","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it empty if the box is empty.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 7."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 6."]],"id":"income_sources.schedule_k1s.royalties","includes_united_states":false,"kind":"money","label":"How much in royalties does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_royalties"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_royalties"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].guaranteed_payments_services","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4a of your K-1, pay the partnership owes you whatever its profit.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.guaranteed_payments_services","includes_united_states":false,"kind":"money","label":"How much does box 4a show as guaranteed payments for your work?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_guaranteed"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}]}},{"binds":"schedule_k1s[].guaranteed_payments_capital","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4b of your K-1, a fixed return on the money you put in.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.guaranteed_payments_capital","includes_united_states":false,"kind":"money","label":"How much does box 4b show as guaranteed payments for your capital?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_guaranteed"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}]}},{"binds":"schedule_k1s[].interest_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it empty if the box is empty.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 5."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 4."]],"id":"income_sources.schedule_k1s.interest_income","includes_united_states":false,"kind":"money","label":"How much interest income does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_interest"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_interest"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].ordinary_dividends","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it empty if the box is empty.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 6a."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 5a."]],"id":"income_sources.schedule_k1s.ordinary_dividends","includes_united_states":false,"kind":"money","label":"How much in ordinary dividends does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_dividends"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].qualified_dividends","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your K-1. They are part of the ordinary dividends, so never more.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 6b."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 5b."]],"id":"income_sources.schedule_k1s.qualified_dividends","includes_united_states":false,"kind":"money","label":"How much of those dividends does your K-1 show as qualified?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_dividends"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_dividends","value":0}]}]}},{"binds":"schedule_k1s[].net_short_term_capital_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your K-1. Enter a loss with a minus sign.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 8."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 7."]],"id":"income_sources.schedule_k1s.net_short_term_capital_gain","includes_united_states":false,"kind":"money","label":"How much net short-term capital gain or loss does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_capital"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].net_long_term_capital_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your K-1. Enter a loss with a minus sign.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 9a."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 8a."]],"id":"income_sources.schedule_k1s.net_long_term_capital_gain","includes_united_states":false,"kind":"money","label":"How much net long-term capital gain or loss does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_capital"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].collectibles_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your K-1. It is part of the long-term amount, for art, coins and the like taxed at up to 28%.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 9b."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 8b."]],"id":"income_sources.schedule_k1s.collectibles_gain","includes_united_states":false,"kind":"money","label":"How much of your long-term gain or loss is from collectibles?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_capital"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0}]}]}]}},{"binds":"schedule_k1s[].unrecaptured_section_1250_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your K-1. It is part of the gain on business property the business sold, from depreciated buildings.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 9c."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 8c."]],"id":"income_sources.schedule_k1s.unrecaptured_section_1250_gain","includes_united_states":false,"kind":"money","label":"How much unrecaptured section 1250 gain does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_capital"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]}},{"binds":"schedule_k1s[].net_section_1231_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Gain or loss on business property the business sold. Enter a loss with a minus sign, and leave it empty if the box is empty.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 10."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 9."]],"id":"income_sources.schedule_k1s.net_section_1231_gain","includes_united_states":false,"kind":"money","label":"How much net section 1231 gain or loss does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_section_1231"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_section_1231"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].self_employment_earnings","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 14, code A of your K-1. Enter a loss with a minus sign.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.self_employment_earnings","includes_united_states":false,"kind":"money","label":"How much does your box 14 code A show as self-employment earnings?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_self_employment"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_self_employment"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}]}},{"binds":"schedule_k1s[].tax_exempt_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code A of the box. Leave it empty if there is none.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 18."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 16."]],"id":"income_sources.schedule_k1s.tax_exempt_interest","includes_united_states":false,"kind":"money","label":"How much tax-exempt interest does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_tax_exempt"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].other_tax_exempt_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code B of the box. Leave it empty if there is none.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 18."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 16."]],"id":"income_sources.schedule_k1s.other_tax_exempt_income","includes_united_states":false,"kind":"money","label":"How much other tax-exempt income does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_tax_exempt"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].nondeductible_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code C of the box. Leave it empty if there is none.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 18."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 16."]],"id":"income_sources.schedule_k1s.nondeductible_expenses","includes_united_states":false,"kind":"money","label":"How much in costs that are not deductible does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_nondeductible"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_nondeductible"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Distributions, code A of box 19 on a partnership's K-1 or code D of box 16 on an S corporation's. Leave it empty if there were none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.distributions","includes_united_states":false,"kind":"money","label":"How much did the business pay out to you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_distributions"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_distributions"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].foreign_taxes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Foreign taxes paid or accrued, from your K-1. Leave it empty if there are none.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2021},"On your K-1 for this year it is codes P and Q of box 16 from a partnership, or of box 14 from an S corporation."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your K-1 from a partnership it is box 21."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your K-1 from an S corporation it is box 16, code F."]],"id":"income_sources.schedule_k1s.foreign_taxes","includes_united_states":false,"kind":"money","label":"How much foreign tax does your K-1 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.box_foreign_tax"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_foreign_tax"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].qualified_business_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement for box 20 code Z of a partnership's K-1, or box 17 code V of an S corporation's. Add its lines, leaving out a section 1231 line, which is asked next. Leave it empty if your K-1 has no such statement.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.qualified_business_income","includes_united_states":false,"kind":"money","label":"What qualified business income does your K-1's section 199A statement show?","label_when":[],"options":[],"placeholder":"12000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_section_199a"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].section_199a_dividends","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Dividends from real estate investment trusts on your section 199A statement. Leave it empty if there are none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.section_199a_dividends","includes_united_states":false,"kind":"money","label":"How much in section 199A dividends does your statement show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_section_199a"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].qualified_section_1231","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its own line on the section 199A statement. Put a minus sign before a loss. It counts only if your section 1231 items make a net loss for the year. Leave it empty if there is none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.qualified_section_1231","includes_united_states":false,"kind":"money","label":"What section 1231 gain or loss does your statement show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_section_199a"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]},{"op":"truthy","ref":"income_sources.qualified_business_income_deduction_claimed"}]}]}},{"add_label":"Add a box","binds":"schedule_k1s[].other_items[]","help":"Add one row for each amount, with its box and the code beside it.","id":"income_sources.schedule_k1s.other_items","kind":"repeat","label":"Which other boxes and codes on your K-1 show an amount?","min_rows":1,"nodes":[{"binds":"schedule_k1s[].other_items[].box","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The numbered boxes in Part III of your K-1.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.box","includes_united_states":false,"kind":"choice","label":"Which box on your K-1 shows this amount?","label_when":[],"options":[{"label":"Box 10","value":"10"},{"label":"Box 11","value":"11"},{"label":"Box 12","value":"12"},{"label":"Box 13","value":"13"},{"label":"Box 15","value":"15"},{"label":"Box 16","value":"16"},{"label":"Box 17","value":"17"},{"label":"Box 19","value":"19"},{"label":"Box 20","value":"20"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].other_items[].code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letters to the left of the amount, for example A or ZZ. Leave it empty for box 12 of a partnership's K-1 or box 11 of an S corporation's, which have no code.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.code","includes_united_states":false,"kind":"text","label":"Which code does your K-1 show beside that amount?","label_when":[],"options":[],"placeholder":"A","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"short_description_20":{"message":"Use ordinary letters, numbers and spaces in the label.","message_too_long":"Write the label in 20 characters or fewer, which is all the line on the form has room for: Property tax rather than Property tax (predial)."}},"validators":["short_description_20"]},{"binds":"schedule_k1s[].other_items[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your K-1. Enter a loss with a minus sign.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.amount","includes_united_states":false,"kind":"money","label":"How much does your K-1 show there?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].other_items[].statement_income_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code I of box 11 of a partnership's K-1, or code H of box 10 of an S corporation's, covers several kinds of income. The statement names yours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.statement_income_kind","includes_united_states":false,"kind":"choice","label":"What does your K-1's statement say this income is?","label_when":[],"options":[{"label":"A recovery of an amount you deducted in an earlier year","value":"tax_benefit_recovery"},{"label":"Gambling gains and losses","value":"gambling"},{"label":"The sale of an interest in oil, gas, geothermal or other mineral property","value":"mineral_sale"},{"label":"A capital gain or loss that is not portfolio income","value":"non_portfolio_capital"},{"label":"Gain on qualified small business stock","value":"small_business_stock"},{"label":"Gain that can be rolled over under section 1045","value":"section_1045"},{"label":"A specially allocated ordinary gain or loss","value":"special_ordinary"},{"label":"Income, gain or loss from a distribution under section 751(b)","value":"section_751b"},{"label":"Gain or loss on Fannie Mae or Freddie Mac preferred stock","value":"fannie_freddie_stock"},{"label":"Gain on farm recapture property (section 1252)","value":"farm_recapture"},{"label":"Something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]}]}},{"binds":"schedule_k1s[].other_items[].statement_deduction_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code W of box 13 of a partnership's K-1, or code S of box 12 of an S corporation's, covers several kinds of deduction. The statement names yours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.statement_deduction_kind","includes_united_states":false,"kind":"choice","label":"What does your K-1's statement say this deduction is?","label_when":[],"options":[{"label":"An itemized deduction for Schedule A","value":"itemized"},{"label":"A penalty on early withdrawal of savings","value":"early_withdrawal"},{"label":"Soil and water conservation costs","value":"soil_water"},{"label":"The cost of removing barriers for elderly or disabled people","value":"barrier_removal"},{"label":"Film, television or live theater production costs","value":"film_production"},{"label":"Interest on debt that paid for a distribution","value":"debt_financed_interest"},{"label":"Interest on a working interest in oil or gas","value":"working_interest"},{"label":"A contribution to a capital construction fund","value":"capital_construction_fund"},{"label":"A deduction from portfolio income","value":"portfolio"},{"label":"Something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"W"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"w"}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]}]}},{"binds":"schedule_k1s[].other_items[].statement_information_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last code of box 20 of a partnership's K-1 (AH), or of box 17 of an S corporation's (AD, or AC on a 2019 K-1), is other information. The statement names yours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.statement_information_kind","includes_united_states":false,"kind":"choice","label":"What does your K-1's statement say this item is?","label_when":[],"options":[{"label":"The excess business loss limitation","value":"excess_business_loss"},{"label":"Income from a farming or fishing business","value":"farming_fishing"},{"label":"The basis and value of gifts of property to charity","value":"noncash_gifts"},{"label":"What a publicly traded partnership needs for its income test","value":"ptp_test"},{"label":"What you need to disclose a reportable transaction","value":"reportable_transaction"},{"label":"Interest and tax on deferred compensation","value":"deferred_compensation"},{"label":"Inversion gain","value":"inversion_gain"},{"label":"Qualified investment in advanced coal, gasification, energy or manufacturing property","value":"investment_property"},{"label":"What a foreign partner needs for Form 8990, Schedule A","value":"form_8990_foreign_partner"},{"label":"Conservation reserve program payments","value":"conservation_reserve"},{"label":"Gain from a mark-to-market election","value":"mark_to_market"},{"label":"Remedial items of a section 721(c) partnership","value":"section_721c"},{"label":"Section 1061 information about capital gains","value":"section_1061"},{"label":"Unrelated business taxable income","value":"unrelated_business_income"},{"label":"Something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"20"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"AH"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"ah"}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"17"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"AC"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"ac"}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2019},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"AD"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"ad"}]}]}]}]}]}},{"binds":"schedule_k1s[].other_items[].statement_information_kind_2019","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last code of box 20 of a partnership's K-1 (AH), or of box 17 of an S corporation's (AD, or AC on a 2019 K-1), is other information. The statement names yours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.statement_information_kind_2019","includes_united_states":false,"kind":"choice","label":"What does your K-1's statement say this item is?","label_when":[],"options":[{"label":"Your share of negative tax basis capital","value":"tax_basis_capital"},{"label":"The excess business loss limitation","value":"excess_business_loss"},{"label":"Income from a farming or fishing business","value":"farming_fishing"},{"label":"The basis and value of gifts of property to charity","value":"noncash_gifts"},{"label":"What a publicly traded partnership needs for its income test","value":"ptp_test"},{"label":"What you need to disclose a reportable transaction","value":"reportable_transaction"},{"label":"Interest and tax on deferred compensation","value":"deferred_compensation"},{"label":"Inversion gain","value":"inversion_gain"},{"label":"Qualified investment in advanced coal, gasification, energy or manufacturing property","value":"investment_property"},{"label":"What a foreign partner needs for Form 8990, Schedule A","value":"form_8990_foreign_partner"},{"label":"Conservation reserve program payments","value":"conservation_reserve"},{"label":"Gain from a mark-to-market election","value":"mark_to_market"},{"label":"Remedial items of a section 721(c) partnership","value":"section_721c"},{"label":"Section 1061 information about capital gains","value":"section_1061"},{"label":"Unrelated business taxable income","value":"unrelated_business_income"},{"label":"Something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"20"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"AH"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"ah"}]}]},{"op":"eq","ref":"context.tax_year","value":2019}]}},{"binds":"schedule_k1s[].other_items[].statement_information_kind_2020","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last code of box 20 of a partnership's K-1 (AH), or of box 17 of an S corporation's (AD, or AC on a 2019 K-1), is other information. The statement names yours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.statement_information_kind_2020","includes_united_states":false,"kind":"choice","label":"What does your K-1's statement say this item is?","label_when":[],"options":[{"label":"A section 743(b) adjustment by asset group","value":"section_743b_adjustment"},{"label":"The excess business loss limitation","value":"excess_business_loss"},{"label":"Income from a farming or fishing business","value":"farming_fishing"},{"label":"The basis and value of gifts of property to charity","value":"noncash_gifts"},{"label":"What a publicly traded partnership needs for its income test","value":"ptp_test"},{"label":"What you need to disclose a reportable transaction","value":"reportable_transaction"},{"label":"Interest and tax on deferred compensation","value":"deferred_compensation"},{"label":"Inversion gain","value":"inversion_gain"},{"label":"Qualified investment in advanced coal, gasification, energy or manufacturing property","value":"investment_property"},{"label":"What a foreign partner needs for Form 8990, Schedule A","value":"form_8990_foreign_partner"},{"label":"Conservation reserve program payments","value":"conservation_reserve"},{"label":"Gain from a mark-to-market election","value":"mark_to_market"},{"label":"Remedial items of a section 721(c) partnership","value":"section_721c"},{"label":"Section 1061 information about capital gains","value":"section_1061"},{"label":"Unrelated business taxable income","value":"unrelated_business_income"},{"label":"Something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"20"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"AH"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"ah"}]}]},{"op":"eq","ref":"context.tax_year","value":2020}]}},{"binds":"schedule_k1s[].other_items[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement says what kind of income it is. Write a few words the IRS will read on your return, up to fifty characters.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.description","includes_united_states":false,"kind":"text","label":"What does your K-1's statement call this income?","label_when":[],"options":[],"placeholder":"Portfolio income","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_50":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_50"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"}]}]}]}},{"binds":"schedule_k1s[].other_items[].long_term","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement: held more than one year. Add a second row if it shows a short-term and a long-term amount.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.long_term","includes_united_states":false,"kind":"yesno","label":"Does your K-1's statement show this amount as long-term?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"Q"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"q"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["fannie_freddie_stock","non_portfolio_capital"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["non_portfolio_capital"]}]}]}]}},{"binds":"schedule_k1s[].other_items[].special_case","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your K-1's statement says.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"}]}]}]},"Say yes if your statement shows a residual interest in a mortgage pool, called a REMIC. We do not prepare one."],[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"E"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"e"}]}]},"Say yes if your statement shows that part of the canceled debt is not taxed, for example in bankruptcy or insolvency. We do not work that part out."],[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"K"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"k"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["gambling"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"K"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"k"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["gambling"]}]}]}]},"Say yes if your statement shows that the business itself is gambling, or shows gambling losses or tax withheld. We do not prepare those."],[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"}]}]}]},"Say yes if your statement shows a gift of food inventory or a qualified conservation contribution. We do not work out its limit."],[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]}]},{"op":"eq","ref":"context.tax_year","value":2025}]},"Say yes if you have other investment costs you can deduct, apart from the costs of your own royalties, or investment interest you could not deduct last year. We then ask about them for Form 4952."],[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"context.tax_year","value":2025}]}]},"Say yes if you have other investment costs you can deduct, apart from the costs of your own royalties, or investment interest you could not deduct last year. Form 4952 is then needed, which we prepare for 2025 returns only."]],"id":"income_sources.schedule_k1s.other_items.special_case","includes_united_states":false,"kind":"yesno","label":"Does your K-1's statement show this case for the amount?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"E"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"e"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"K"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"k"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["gambling"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"K"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"k"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["gambling"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]}]}},{"binds":"schedule_k1s[].other_items[].adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement. For a partnership, the amount in box 20 code AH that is its adjusted basis. For an S corporation, the adjusted basis beside the fair market value.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.adjusted_basis","includes_united_states":false,"kind":"money","label":"How much adjusted basis does your K-1's statement show for this gift?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"E"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"e"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"E"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"e"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"}]}]}]}},{"binds":"schedule_k1s[].other_items[].deduction_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement. Only these can be deducted on that line of Schedule A.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.deduction_type","includes_united_states":false,"kind":"choice","label":"Which of these is this deduction on your K-1's statement?","label_when":[],"options":[{"label":"A deduction for bond premium.","value":"AMORTIZABLE BOND PREMIUMS"},{"label":"Federal estate tax on income you inherited.","value":"FEDERAL ESTATE TAX"},{"label":"Work costs you have because of a disability.","value":"IMPAIRMENT-RELATED WORK EXPENSES"},{"label":"The part of what you put into a pension that you never got back.","value":"UNRECOVERED PENSION INVESTMENTS"},{"label":"An ordinary loss on a bond or note you held.","value":"ORDINARY LOSS DEBT INSTRUMENT"},{"label":"Something else.","value":"NOT LISTED"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"L"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"l"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"L"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"l"}]}]}]}},{"binds":"schedule_k1s[].other_items[].activity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Type the activity's name as you entered it earlier. If your statement puts this amount under no activity, type None.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_items.activity","includes_united_states":false,"kind":"text","label":"Which activity on your statement is this amount from?","label_when":[],"options":[],"placeholder":"Retail shop","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.more_than_one_activity"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"L"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"l"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"Q"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"q"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"R"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"r"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["fannie_freddie_stock","section_751b","special_ordinary","non_portfolio_capital"]}]}]},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"B"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"b"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"E"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"e"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"L"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"l"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"AE"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"ae"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"W"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"w"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_deduction_kind","values":["portfolio"]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["non_portfolio_capital"]}]}]},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"B"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"b"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"C"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"c"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"E"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"e"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"L"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"l"}]}]}]}]}]}]}}],"row_label":"Box","visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.box_other"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}]}},{"binds":"schedule_k1s[].publicly_traded","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Item D is checked for a partnership whose interests trade on an exchange, often called units.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.publicly_traded","includes_united_states":false,"kind":"yesno","label":"Does item D of your K-1 say the partnership is publicly traded?","label_when":[],"off_ramp":{"body":"Its income and losses are worked out apart from your other activities, under rules we do not handle.","code":"schedule_k1_publicly_traded","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a K-1 from a publicly traded partnership","when":{"op":"truthy","ref":"income_sources.schedule_k1s.publicly_traded"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}},{"binds":"schedule_k1s[].interest_disposed","clears":["income_sources.schedule_k1s.disposal_kind","income_sources.schedule_k1s.disposal_entire","income_sources.schedule_k1s.disposal_on","income_sources.schedule_k1s.disposal_acquired_on","income_sources.schedule_k1s.disposal_received","income_sources.schedule_k1s.disposal_costs","income_sources.schedule_k1s.disposal_part_basis","income_sources.schedule_k1s.disposal_part_debts","income_sources.schedule_k1s.disposal_installment","income_sources.schedule_k1s.disposal_ordinary_part"],"currency_pickable":false,"derived_from_presence":[],"help":"For example you sold your units or shares, or the business bought you out. The K-1 is usually marked Final K-1 then.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.interest_disposed","includes_united_states":false,"kind":"yesno","label":"Did you sell or give up your share of it this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].more_than_one_activity","clears":["income_sources.schedule_k1s.statement_activities"],"currency_pickable":false,"derived_from_presence":[],"help":"A partnership's K-1 checks box 22 or 23, an S corporation's box 18 or 19, and a statement lists each activity.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2021},"On your K-1 for this year it is box 21 or 22 from a partnership, or box 18 or 19 from an S corporation, and a statement lists each activity."]],"id":"income_sources.schedule_k1s.more_than_one_activity","includes_united_states":false,"kind":"yesno","label":"Does your K-1 say the business has more than one activity?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].earlier_limited_losses","clears":["income_sources.schedule_k1s.carried_losses","income_sources.schedule_k1s.unreimbursed_expenses"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a loss your basis or your amount at risk held back, an amount last year's Form 6198 added back to income, or costs of the partnership the agreement made you pay yourself.","help_lines":["A loss held back only by the passive loss rules on Form 8582 is asked next."],"help_when":[],"id":"income_sources.schedule_k1s.earlier_limited_losses","includes_united_states":false,"kind":"yesno","label":"Was a loss of it held back earlier, or did you pay its costs?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].has_prior_year_passive_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 8582 lists each activity's loss carried to the next year. Answer no if you did not file Form 8582 for it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.has_prior_year_passive_loss","includes_united_states":false,"kind":"yesno","label":"Did your Form 8582 last year carry forward a passive loss of it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].shareholder_loans","clears":["income_sources.schedule_k1s.loans"],"currency_pickable":false,"derived_from_presence":[],"help":"Item I of your K-1 shows loans from you. A loan you only guaranteed does not count.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.shareholder_loans","includes_united_states":false,"kind":"yesno","label":"Have you lent money to the corporation?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}},{"binds":"schedule_k1s[].trading_activity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a fund that buys and sells stocks, bonds or commodities for the partners. A business that only holds investments, or sells goods or services, does not count.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.trading_activity","includes_united_states":false,"kind":"yesno","label":"Does your K-1 or its statement say the business trades investments for its owners?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]}]}},{"binds":"schedule_k1s[].recharacterized_income","clears":["income_sources.schedule_k1s.recharacterized_kind","income_sources.schedule_k1s.recharacterized_amount"],"currency_pickable":false,"derived_from_presence":[],"help":"The statement calls it income subject to recharacterization. For example rent from land, rent from property let to a business you work in, or profit from a business you worked in for more than 100 hours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.recharacterized_income","includes_united_states":false,"kind":"yesno","label":"Does your K-1's statement treat some of its income as not passive?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]}},{"binds":"schedule_k1s[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your share papers or marriage records show who owns them. Enter 0 if they are yours alone, for example shares you owned before the marriage, were given or inherited. Enter 100 if you own all of them together.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of your shares in it do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]}},{"binds":"schedule_k1s[].disposal_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A relative or a company you control counts as related. The loss on a sale to them cannot be deducted, and earlier losses stay held back.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_kind","includes_united_states":false,"kind":"choice","label":"How did your share end?","label_when":[],"off_ramp":{"body":"The forms here cover a sale that taxes all of the gain or loss, not a share given up another way.","code":"schedule_k1_interest_given_up","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a share given up without a sale","when":{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"other"}},"options":[{"label":"I sold it to someone not related to me","value":"sold_unrelated"},{"label":"I sold it to someone related to me","value":"sold_related"},{"label":"A gift, an exchange or something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"}]}},{"binds":"schedule_k1s[].disposal_entire","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"All of the units or shares you held in it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_entire","includes_united_states":false,"kind":"yesno","label":"Did you sell all of your share?","label_when":[],"off_ramp":{"body":"Your stock basis on the sale date needs a form of its own. That form needs the corporation's income and losses up to that date, and your K-1 does not divide them.","code":"schedule_k1_part_of_stock","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale of part of your stock","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_entire","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}},{"binds":"schedule_k1s[].disposal_installment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your sale agreement. A sale paid over several years is spread over those years.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_installment","includes_united_states":false,"kind":"yesno","label":"Will you be paid any of the price after this tax year?","label_when":[],"off_ramp":{"body":"A sale like that is spread over the years on a form we do not prepare.","code":"schedule_k1_interest_installment","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale paid over several years","when":{"op":"truthy","ref":"income_sources.schedule_k1s.disposal_installment"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}},{"binds":"schedule_k1s[].disposal_ordinary_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code AB is the part of the gain or loss on your share taxed as ordinary income. It is often on a statement with Form 8308.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_ordinary_part","includes_united_states":false,"kind":"yesno","label":"Does box 20 code AB of your K-1 show an amount?","label_when":[],"off_ramp":{"body":"The instructions we work from do not settle which line it goes on.","code":"schedule_k1_interest_ordinary","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the ordinary part of the gain on a share","when":{"op":"truthy","ref":"income_sources.schedule_k1s.disposal_ordinary_part"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}},{"binds":"schedule_k1s[].disposal_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your sale agreement.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_on","includes_united_states":false,"kind":"date","label":"What date did you sell it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}},{"binds":"schedule_k1s[].disposal_acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your purchase records. Leave it empty if you got parts of it at different times.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_acquired_on","includes_united_states":false,"kind":"date","label":"What date did you get your share?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}},{"binds":"schedule_k1s[].disposal_received","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your sale agreement: the money and the value of anything else, without your share of the business's debts. We add those from your K-1 when you sold all of it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_received","includes_united_states":false,"kind":"money","label":"How much did you get for your share?","label_when":[],"options":[],"placeholder":"9000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}},{"binds":"schedule_k1s[].disposal_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your invoices: fees for a broker or a lawyer, for example. Leave it empty if there were none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_costs","includes_united_states":false,"kind":"money","label":"What did the sale cost you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}},{"binds":"schedule_k1s[].disposal_part_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own basis records on the sale date, with that part's share of the business's debts.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_part_basis","includes_united_states":false,"kind":"money","label":"What was your basis in the part you sold?","label_when":[],"options":[],"placeholder":"4000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_entire","value":false}]}},{"binds":"schedule_k1s[].disposal_part_debts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your sale agreement or the partnership's statement. It counts as money you got. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.disposal_part_debts","includes_united_states":false,"kind":"money","label":"How much of the business's debts did the sale free you of?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_entire","value":false}]}},{"add_label":"Add an activity","binds":"schedule_k1s[].statement_activities[]","help":"Add one row for each activity on the statement. Amounts in one box must add up to what your K-1 shows in that box.","id":"income_sources.schedule_k1s.statement_activities","kind":"repeat","label":"Which activities does your K-1's statement list?","min_rows":1,"nodes":[{"binds":"schedule_k1s[].statement_activities[].name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Its name on the statement, for example Retail shop or Office rental.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.name","includes_united_states":false,"kind":"text","label":"What does your statement call this activity?","label_when":[],"options":[],"placeholder":"Retail shop","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"schedule_k1s[].statement_activities[].box","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement says which K-1 box its amount belongs in.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.box","includes_united_states":false,"kind":"choice","label":"Which kind of activity do you have here?","label_when":[],"options":[{"label":"A business (box 1)","value":"1"},{"label":"Rental real estate (box 2)","value":"2"},{"label":"Another rental (box 3)","value":"3"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].statement_activities[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement. Put a minus sign before a loss.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.amount","includes_united_states":false,"kind":"money","label":"What income or loss does your statement show for it?","label_when":[],"options":[],"placeholder":"-3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].statement_activities[].materially_participated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"More than 500 hours in the year is the most common test.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.materially_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in running it regularly, continuously and substantially?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.box","value":"1"}},{"binds":"schedule_k1s[].statement_activities[].actively_participated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example approving tenants or repairs. Owning at least a tenth of it is also required.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.actively_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in decisions about this rental?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.box","value":"2"}},{"binds":"schedule_k1s[].statement_activities[].net_section_1231_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement. Put a minus sign before a loss. It adds up to box 10 of a partnership's K-1 or box 9 of an S corporation's. Leave it empty if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.net_section_1231_gain","includes_united_states":false,"kind":"money","label":"How much section 1231 gain or loss does your statement show for it?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}},{"binds":"schedule_k1s[].statement_activities[].amount_not_at_risk","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example money from a loan you do not have to repay yourself, which only the activity's property secures, or a guarantee that covers your loss.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk","includes_united_states":false,"kind":"yesno","label":"Could you lose less than all of the money you have in it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.statement_activities.amount","value":0},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"}]}]}]}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.statement_activities.net_section_1231_gain","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.detailed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose. Part III is its longer way of working that out, as last year's return shows. Say no if you did not file the form for it last year, or used only Part II.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","includes_united_states":false,"kind":"yesno","label":"Did you fill in Part III of Form 6198 for this activity last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"}},{"binds":"schedule_k1s[].statement_activities[].at_risk.adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Your basis is what you put in (cash and the cost of property, including loans used for it), less the depreciation and losses already taken. Do not take off what you still owe on those loans. Give it in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.adjusted_basis","includes_united_states":false,"kind":"money","label":"What was your basis in this activity on the first day of the year?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.prior_year_line_19b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 19b of last year's Form 6198 for this activity, in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.prior_year_line_19b","includes_united_states":false,"kind":"money","label":"What amount at risk did your Form 6198 last year show on line 19b?","label_when":[],"options":[],"placeholder":"15000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.prior_year_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 21 of last year's Form 6198 for this activity, without the parentheses. Enter zero if it was blank. It lowers the money at risk you start this year with.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.prior_year_line_21","includes_united_states":false,"kind":"money","label":"What deductible loss did your Form 6198 last year show on line 21?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.increases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you added during the year, from your own records. That means cash and the basis of property you put in, loans for it that you owe personally, and the value of your own property outside it that secures a loan for it. Do not count this year's profit. Enter zero if nothing was added.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.increases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this activity rise this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.decreases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you took out during the year, from your own records: cash and the basis of property you withdrew. Do not count this year's loss. Enter zero if nothing was taken out.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]},"Also count every loan included in your basis that you are not personally responsible for, such as one only the property secures or one from the seller. Also count money a guarantee protects."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"}]},"Do not count last year's deductible loss: you gave it on its own."]],"id":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this activity fall this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.losses_deducted_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The losses of this activity you took on returns for years after 1978, from your own records, in United States dollars. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.losses_deducted_earlier","includes_united_states":false,"kind":"money","label":"How much loss from this activity have you deducted on earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.recapture_added_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What earlier returns added to income because the money at risk fell below zero, from your own records. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.recapture_added_earlier","includes_united_states":false,"kind":"money","label":"How much of your losses came back as income on your earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"schedule_k1s[].statement_activities[].at_risk.below_zero_at_end_of_1978","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter zero if this activity started later, or if it was not below zero then.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.below_zero_at_end_of_1978","includes_united_states":false,"kind":"money","label":"How far below zero was your money at risk at the end of 1978?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.at_risk.prior_year_line_21","value":0}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this figure before we asked for it with your K-1's losses carried to this year, by kind. Enter it there instead, naming this activity and choosing Form 6198 as the limit, then enter zero here and it goes away.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.at_risk.carried_loss","includes_united_states":false,"kind":"money","label":"What loss carried under the at-risk rules did you give for this activity?","label_when":[],"off_ramp":{"body":"A loss the at-risk rules carried in for an activity of your K-1 now goes with the K-1's losses carried to this year, by kind, so it joins the right line. Your return cannot be built while the old figure is here.","code":"k1_activity_at_risk_carry_by_kind","next_step":"Enter it with your K-1's losses carried to this year, then enter zero for the old figure.","severity":"block","title":"Give this carried loss by its kind","when":{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.carried_loss"}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.at_risk.carried_loss"}},{"binds":"schedule_k1s[].statement_activities[].prior_year_passive_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's Form 8582 worksheets, the unallowed loss for this activity. Leave it empty if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","includes_united_states":false,"kind":"money","label":"How much passive loss of it did your earlier returns carry here?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.elsewhere","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582 shows it, if that part was filled in. Say no if the whole loss was on that schedule.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere","includes_united_states":false,"kind":"yesno","label":"Was any of your carried loss reported somewhere other than Schedule E last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0}},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.form_4797_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.form_4797_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.form_4797_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.form_4797_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.form_8949_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 8949 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.form_8949_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 8949, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.form_8949_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 8949 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.form_8949_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 8949, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.schedule_d_line_5","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Schedule D line 5. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.schedule_d_line_5","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Schedule D, line 5?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].statement_activities[].prior_loss_places.schedule_d_line_12","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Schedule D line 12. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.prior_loss_places.schedule_d_line_12","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Schedule D, line 12?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.statement_activities.prior_year_passive_loss","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].statement_activities[].net_short_term_capital_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement. Put a minus sign before a loss. Enter 0 if none of it is.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.net_short_term_capital_gain","includes_united_states":false,"kind":"money","label":"How much of your short-term capital gain or loss is from it?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0}]}]}},{"binds":"schedule_k1s[].statement_activities[].net_long_term_capital_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the statement. Put a minus sign before a loss. Enter 0 if none of it is.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.statement_activities.net_long_term_capital_gain","includes_united_states":false,"kind":"money","label":"How much of your long-term capital gain or loss is from it?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.statement_activities.amount_not_at_risk"},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0}]}]}}],"row_label":"Activity","visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.more_than_one_activity"}]}},{"binds":"schedule_k1s[].interest_holding_period","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It decides whether a gain on your share is short-term or long-term, for example a payout larger than your basis.","help_lines":["Choose Not sure if you cannot tell: a gain on your share cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.schedule_k1s.interest_holding_period","includes_united_states":false,"kind":"choice","label":"How long have you held your share in it?","label_when":[],"options":[{"label":"All of it for more than a year","value":"long"},{"label":"All of it for a year or less","value":"short"},{"label":"Parts of it for different lengths of time","value":"mixed"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"A"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"a"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.liabilities_assumed"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"answered","ref":"income_sources.schedule_k1s.liabilities_at_start"},{"op":"answered","ref":"income_sources.schedule_k1s.liabilities_at_end"},{"op":"lt","ref":"income_sources.schedule_k1s.liabilities_at_end","value_ref":"income_sources.schedule_k1s.liabilities_at_start"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]},{"op":"not","rules":[{"op":"answered","ref":"income_sources.schedule_k1s.disposal_acquired_on"}]}]}]}]}},{"binds":"schedule_k1s[].interest_long_term_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records: the part of the value of your share you got more than a year ago, for example 75.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.interest_long_term_percent","includes_united_states":false,"kind":"text","label":"What percentage of your share have you held for more than a year?","label_when":[],"options":[],"placeholder":"75","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_share_percent":{"message":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100."}},"validators":["business_share_percent"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.interest_holding_period","value":"mixed"}]}},{"add_label":"Add a loss","binds":"schedule_k1s[].carried_losses[]","help":"From last year's basis worksheet, column E, or Form 7203 Part III, column (e). Add one row per kind of loss, or skip this if only costs apply.","id":"income_sources.schedule_k1s.carried_losses","kind":"repeat","label":"Which losses did your basis or your amount at risk hold back last year?","min_rows":0,"nodes":[{"binds":"schedule_k1s[].carried_losses[].category","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The line it is on in last year's worksheet or form.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.category","includes_united_states":false,"kind":"choice","label":"Which kind of loss do you carry to this year?","label_when":[],"options":[{"label":"The business itself (box 1)","value":"1"},{"label":"Rental real estate (box 2)","value":"2"},{"label":"Other rentals (box 3)","value":"3"},{"label":"Short-term capital loss","value":"short_term"},{"label":"Long-term capital loss","value":"long_term"},{"label":"Section 1231 loss","value":"section_1231"},{"label":"Foreign taxes","value":"foreign_taxes"},{"label":"An ordinary loss on Form 4797, line 10","value":"other_loss"},{"label":"An equipment write-off","value":"section_179"},{"label":"A gift to charity","value":"charitable"},{"label":"Investment interest","value":"investment_interest"},{"label":"Costs of royalties","value":"royalty_deductions"},{"label":"Costs of other investment income","value":"portfolio_other"},{"label":"Another deduction","value":"all_other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].carried_losses[].gift_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letter beside the amount in box 13 of a partnership's K-1 or box 12 of an S corporation's. It decides the limit on the gift.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.gift_code","includes_united_states":false,"kind":"choice","label":"Which code did that gift have on your K-1?","label_when":[],"options":[{"label":"Code A","value":"A"},{"label":"Code B","value":"B"},{"label":"Code C","value":"C"},{"label":"Code D","value":"D"},{"label":"Code E","value":"E"},{"label":"Code F","value":"F"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.category","value":"charitable"}},{"binds":"schedule_k1s[].carried_losses[].deduction_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's statement. Only these can be deducted on that line of Schedule A.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.deduction_type","includes_united_states":false,"kind":"choice","label":"What kind of cost did your statement show?","label_when":[],"options":[{"label":"A deduction for bond premium.","value":"AMORTIZABLE BOND PREMIUMS"},{"label":"Federal estate tax on income you inherited.","value":"FEDERAL ESTATE TAX"},{"label":"Work costs you have because of a disability.","value":"IMPAIRMENT-RELATED WORK EXPENSES"},{"label":"The part of what you put into a pension that you never got back.","value":"UNRECOVERED PENSION INVESTMENTS"},{"label":"An ordinary loss on a bond or note you held.","value":"ORDINARY LOSS DEBT INSTRUMENT"},{"label":"Something else.","value":"NOT LISTED"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.category","value":"portfolio_other"}},{"binds":"schedule_k1s[].carried_losses[].other_code","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The letters beside the amount in box 13 of a partnership's K-1 or box 12 of an S corporation's, for example L.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.other_code","includes_united_states":false,"kind":"text","label":"Which code did that deduction have on your K-1?","label_when":[],"options":[],"placeholder":"L","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"short_description_20":{"message":"Use ordinary letters, numbers and spaces in the label.","message_too_long":"Write the label in 20 characters or fewer, which is all the line on the form has room for: Property tax rather than Property tax (predial)."}},"validators":["short_description_20"],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.category","value":"all_other"}},{"binds":"schedule_k1s[].carried_losses[].statement_deduction_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On a K-1 before 2023 this code covers several kinds of deduction, and on a later one it is soil and water costs from a partnership. The statement names yours.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.statement_deduction_kind","includes_united_states":false,"kind":"choice","label":"What does your earlier K-1's statement say this deduction is?","label_when":[],"options":[{"label":"An itemized deduction for Schedule A","value":"itemized"},{"label":"A penalty on early withdrawal of savings","value":"early_withdrawal"},{"label":"Soil and water conservation costs","value":"soil_water"},{"label":"The cost of removing barriers for elderly or disabled people","value":"barrier_removal"},{"label":"Film, television or live theater production costs","value":"film_production"},{"label":"Interest on debt that paid for a distribution","value":"debt_financed_interest"},{"label":"Interest on a working interest in oil or gas","value":"working_interest"},{"label":"A contribution to a capital construction fund","value":"capital_construction_fund"},{"label":"A deduction from portfolio income","value":"portfolio"},{"label":"Something else","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.category","value":"all_other"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.other_code","value":"W"},{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.other_code","value":"w"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.other_code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.other_code","value":"s"}]}]}]}]}},{"binds":"schedule_k1s[].carried_losses[].activity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Type the activity's name as you entered it above. If your statement puts it under no activity, type None.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.activity","includes_united_states":false,"kind":"text","label":"Which activity on your statement is this loss from?","label_when":[],"options":[],"placeholder":"Retail shop","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.more_than_one_activity"},{"op":"not","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.category","value":"foreign_taxes"}]}]}},{"binds":"schedule_k1s[].carried_losses[].held_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's basis worksheet or Form 7203 shows a loss your basis held back. Last year's Form 6198 shows a loss your amount at risk held back.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.held_by","includes_united_states":false,"kind":"choice","label":"Which limit held your loss back?","label_when":[],"options":[{"label":"My basis","value":"basis"},{"label":"My amount at risk (Form 6198)","value":"at_risk"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].carried_losses[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's basis worksheet, column E, or Form 7203 Part III, column (e).","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.held_by","value":"at_risk"},"For Form 6198, add what your return last year added back to income for this activity because your money at risk fell below zero."]],"id":"income_sources.schedule_k1s.carried_losses.amount","includes_united_states":false,"kind":"money","label":"How much of your loss was carried to this year?","label_when":[],"options":[],"placeholder":"4000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].carried_losses[].before_2018","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records. A loss from before 2018 does not reduce your qualified business income. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.carried_losses.before_2018","includes_united_states":false,"kind":"money","label":"How much of your carried loss arose before 2018?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"answered","ref":"income_sources.schedule_k1s.qualified_business_income"},{"op":"truthy","ref":"income_sources.qualified_business_income_deduction_claimed"}]}}],"row_label":"Loss","visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"}]}},{"binds":"schedule_k1s[].unreimbursed_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records, the costs of the business you were not paid back for. They come off your income on their own line. Leave it empty if there were none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.unreimbursed_expenses","includes_united_states":false,"kind":"money","label":"How much of its costs did your partnership agreement make you pay yourself?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"}]}},{"binds":"schedule_k1s[].prior_year_passive_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 8582, the activity's unallowed loss.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_year_passive_loss","includes_united_states":false,"kind":"money","label":"How much of your passive loss was carried to this year?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"}]}},{"binds":"schedule_k1s[].prior_year_passive_loss_box","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The activity the loss belongs to, as last year's Form 8582 named it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_year_passive_loss_box","includes_united_states":false,"kind":"choice","label":"Which part of your K-1 did that loss come from?","label_when":[],"options":[{"label":"The business itself (box 1)","value":"1"},{"label":"Rental real estate (box 2)","value":"2"},{"label":"Other rentals (box 3)","value":"3"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.schedule_k1.ScheduleK1._check_facts","required_when":{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"}]}},{"binds":"schedule_k1s[].prior_loss_places.elsewhere","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582 shows it, if that part was filled in. Say no if the whole loss was on that schedule.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.elsewhere","includes_united_states":false,"kind":"yesno","label":"Was any of your carried loss reported somewhere other than Schedule E last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]}},{"binds":"schedule_k1s[].prior_loss_places.form_4797_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.form_4797_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]},{"op":"truthy","ref":"income_sources.schedule_k1s.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].prior_loss_places.form_4797_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.form_4797_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]},{"op":"truthy","ref":"income_sources.schedule_k1s.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].prior_loss_places.form_8949_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 8949 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.form_8949_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 8949, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]},{"op":"truthy","ref":"income_sources.schedule_k1s.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].prior_loss_places.form_8949_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 8949 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.form_8949_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 8949, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]},{"op":"truthy","ref":"income_sources.schedule_k1s.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].prior_loss_places.schedule_d_line_5","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Schedule D line 5. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.schedule_d_line_5","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Schedule D, line 5?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]},{"op":"truthy","ref":"income_sources.schedule_k1s.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].prior_loss_places.schedule_d_line_12","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Schedule D line 12. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_loss_places.schedule_d_line_12","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Schedule D, line 12?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_passive_loss","value":0}]},{"op":"truthy","ref":"income_sources.schedule_k1s.prior_loss_places.elsewhere"}]}},{"binds":"schedule_k1s[].prior_year_loss_before_2018","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or your earlier Forms 8582. A loss from before 2018 does not reduce your qualified business income. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_year_loss_before_2018","includes_united_states":false,"kind":"money","label":"How much of your carried loss arose before 2018?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"answered","ref":"income_sources.schedule_k1s.qualified_business_income"},{"op":"truthy","ref":"income_sources.qualified_business_income_deduction_claimed"}]}},{"binds":"schedule_k1s[].materially_participated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you worked in it for more than 500 hours during the year, or met one of these tests.","help_lines":["Your work was substantially all the work done in it, or over 100 hours and no one worked more.","You took part this way in 5 of the last 10 years, or in 3 earlier years of a personal services business.","A limited partner meets only the 500 hours test or the 5 of 10 years test.","Choose Not sure if you cannot tell: the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.schedule_k1s.materially_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in running its business regularly, continuously and substantially?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"1"}]},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"L"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"l"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"R"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"r"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"I"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"i"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["section_751b","special_ordinary","non_portfolio_capital"]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"S"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"s"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"10"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"in","ref":"income_sources.schedule_k1s.other_items.statement_income_kind","values":["non_portfolio_capital"]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}},{"binds":"schedule_k1s[].trading_interest_expense","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement gives your share of the interest the business paid for its trading. It counts as investment interest. Enter 0 if the statement shows none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.trading_interest_expense","includes_united_states":false,"kind":"money","label":"How much interest expense does your K-1's statement show for its trading?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}},{"binds":"schedule_k1s[].trading_net_gain","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your share of the gain or loss on what the business bought and sold. Enter a loss with a minus sign, or 0 if none.","help_lines":["With the other figures of the statement, less the costs and the interest, it adds up to box 1."],"help_when":[],"id":"income_sources.schedule_k1s.trading_net_gain","includes_united_states":false,"kind":"money","label":"What gain or loss on its trades does your K-1's statement show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}},{"binds":"schedule_k1s[].trading_other_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your K-1's statement shows it, for example interest or dividends the business received on what it held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.trading_other_income","includes_united_states":false,"kind":"money","label":"What other income of its trading does your K-1's statement show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}},{"binds":"schedule_k1s[].trading_other_deductions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your K-1's statement shows them, for example fees the business paid for its trading. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.trading_other_deductions","includes_united_states":false,"kind":"money","label":"What costs of its trading, other than interest, does your K-1's statement show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}},{"binds":"schedule_k1s[].recharacterized_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement names the rule. Choose the last one if it names another, or does not say.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.recharacterized_kind","includes_united_states":false,"kind":"choice","label":"What kind of income does your K-1's statement treat as not passive?","label_when":[],"options":[{"label":"Rent from property let to a business you materially participate in.","value":"rented_to_nonpassive"},{"label":"Profit from a business you worked in for more than 100 hours, but not enough to materially participate.","value":"significant_participation"},{"label":"Another kind, or the statement does not say.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.recharacterized_income"}]}},{"binds":"schedule_k1s[].recharacterized_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your share, as the statement gives it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.recharacterized_amount","includes_united_states":false,"kind":"money","label":"How much income does your K-1's statement treat as not passive?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.recharacterized_income"}]}},{"binds":"schedule_k1s[].limited_partner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Item G is checked for a limited partner or another member who does not manage it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.limited_partner","includes_united_states":false,"kind":"yesno","label":"Does item G of your K-1 say you are a limited partner?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]}},{"binds":"schedule_k1s[].actively_participated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example approving tenants, setting rents or approving repairs. Your interest, with your spouse's, must be at least 10% of the activity's value.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.actively_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in decisions about its rental real estate?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"ne","ref":"income_sources.schedule_k1s.limited_partner","value":true},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]}},{"binds":"schedule_k1s[].rental_materially_participated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As a real estate professional, answer yes if you worked in it for more than 500 hours during the year, or met another of the tests for the business itself.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.rental_materially_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in running its rental real estate regularly, continuously and substantially?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.real_estate_professional"},{"op":"or","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]}},{"binds":"schedule_k1s[].rental_safe_harbor_hours","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Yes if you worked in this rental real estate for more than 500 hours this year, or in any 5 of the 10 years before. It decides whether its income counts as investment income for the net investment income tax.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.rental_safe_harbor_hours","includes_united_states":false,"kind":"yesno","label":"Do you meet the 500 hours test for it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.real_estate_professional"},{"op":"truthy","ref":"income_sources.schedule_k1s.rental_materially_participated"},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0}]}]}},{"binds":"schedule_k1s[].prior_year_loss_participation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The loss carried from earlier years counts differently for the years you took part in decisions about the rental real estate.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_year_loss_participation","includes_united_states":false,"kind":"choice","label":"Did you take part in its rental decisions while that loss built up?","label_when":[],"options":[{"label":"Yes, in every one of those years","value":"every_year"},{"label":"No, in none of them","value":"no_year"},{"label":"In some of them","value":"some_years"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"},{"op":"truthy","ref":"income_sources.schedule_k1s.actively_participated"},{"op":"ne","ref":"income_sources.schedule_k1s.limited_partner","value":true}]}},{"binds":"schedule_k1s[].prior_year_loss_with_participation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or your earlier Forms 8582: the part of the carried loss from the years you took part in decisions about it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_year_loss_with_participation","includes_united_states":false,"kind":"money","label":"How much of the carried loss built up in years you took part?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.has_prior_year_passive_loss"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_loss_participation","value":"some_years"}]}},{"binds":"schedule_k1s[].services_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The guaranteed payments and self-employment earnings your K-1 shows. It decides the exclusion of pay earned abroad and the self-employment tax.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.services_abroad","includes_united_states":false,"kind":"yesno","label":"Was any of that pay for work you did outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}},{"address_variant":"full","binds":"schedule_k1s[].partnership_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Item B of your K-1. Form 2555 lists it beside the partnership's name.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.partnership_address","includes_united_states":false,"kind":"address","label":"What is your partnership's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}},{"binds":"schedule_k1s[].abroad_gross_income_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the partnership's accounts or your own records: your share of what it took in for your work in a foreign country, before any expenses. Include your guaranteed payments for that work. Leave out work in the United States or at sea.","help_lines":["If all of its income is for your work abroad, this is boxes 1 and 4a of your K-1 plus your share of its expenses."],"help_when":[],"id":"income_sources.schedule_k1s.abroad_gross_income_share","includes_united_states":false,"kind":"money","label":"What was your share of its income for your work abroad, before expenses?","label_when":[],"options":[],"placeholder":"124000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}},{"binds":"schedule_k1s[].pays_for_other_year_work","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example guaranteed payments you received this year for last year's work, or in advance for next year's.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.pays_for_other_year_work","includes_united_states":false,"kind":"yesno","label":"Was any of your pay from it for work you did in another year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}},{"binds":"schedule_k1s[].prior_year_work_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your payslips or records: only work done in another country during the days you qualified for the exclusion that year. Enter 0 if none. If a bonus rewards several years, split it by the months worked in each year.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.prior_year_work_amount","includes_united_states":false,"kind":"money","label":"How much of that pay was for your qualifying work abroad in {context.return_year_less_1}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"}]}},{"binds":"schedule_k1s[].other_year_work_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Such as work abroad before {context.return_year_less_1}, work abroad in {context.return_year_less_1} outside the days you qualified, or pay in advance for later work abroad. This part stays in your income on this return. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.other_year_work_amount","includes_united_states":false,"kind":"money","label":"How much of that pay was for your other work not done in {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"}]}},{"binds":"schedule_k1s[].abroad_expenses_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the partnership's accounts or your own records: your share of what it spent to earn that income. Your K-1 shows only the profit, so ask the partnership if you do not have this.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.abroad_expenses_share","includes_united_states":false,"kind":"money","label":"What was your share of its expenses against that income?","label_when":[],"options":[],"placeholder":"51125","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}},{"binds":"schedule_k1s[].capital_material_income_producing_factor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example equipment, stock or buildings that produce income, not only the partners' own work. It decides how much of your share counts as pay for your work.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.capital_material_income_producing_factor","includes_united_states":false,"kind":"yesno","label":"Does money or property your partnership owns earn much of its income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.materially_participated"}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}]}},{"binds":"schedule_k1s[].services_material_income_producing_factor","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It decides whether your share of the profit counts as pay for an IRA or Roth IRA. Guaranteed payments for your work always count.","help_lines":["Choose Not sure if you cannot tell: if you pay into an IRA or Roth IRA, or have an extra amount from an earlier year still in one, and it changes your limit, the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.schedule_k1s.services_material_income_producing_factor","includes_united_states":false,"kind":"yesno","label":"Is your own work a large part of what earns this partnership's income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.box_self_employment"}]}},{"binds":"schedule_k1s[].qualifying_period_gross_income_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only income from work done in that part of the year counts toward the exclusion of pay earned abroad. From your records, give the part of your share of its income for that work.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.qualifying_period_gross_income_share","includes_united_states":false,"kind":"money","label":"How much of that share was for work you did between {derived.income_sources.schedule_k1s.qualifying_period}?","label_when":[],"options":[],"placeholder":"50000","prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f2555.partnership_line_20b","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"ne","ref":"income_sources.schedule_k1s.capital_material_income_producing_factor","value":true},{"op":"derived","ref":"income_sources.schedule_k1s.qualifying_period"}]}},{"binds":"schedule_k1s[].presence_period_gross_income_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You said yes to both ways of qualifying, and the 330-day test covers a different part of the year, so each is worked out with the income for its own part. From your records, give the part of your share of its income for that work.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.presence_period_gross_income_share","includes_united_states":false,"kind":"money","label":"How much of that share was for work you did between {derived.income_sources.schedule_k1s.presence_period}?","label_when":[],"options":[],"placeholder":"50000","prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f2555.partnership_line_20b","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"ne","ref":"income_sources.schedule_k1s.capital_material_income_producing_factor","value":true},{"op":"derived","ref":"income_sources.schedule_k1s.presence_period"}]}},{"binds":"schedule_k1s[].reasonable_compensation_for_personal_services","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records: what the business would have paid someone else for the same work. When it makes a profit, no more than 30% of your share of the profit counts as pay for your work.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},"Give the pay for your work in a foreign country only."]],"id":"income_sources.schedule_k1s.reasonable_compensation_for_personal_services","includes_united_states":false,"kind":"money","label":"What would fair pay for your work in it have been this year?","label_when":[],"options":[],"placeholder":"8000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.materially_participated"}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.capital_material_income_producing_factor"}]}},{"binds":"schedule_k1s[].amount_not_at_risk","clears":["income_sources.schedule_k1s.at_risk.detailed_last_year","income_sources.schedule_k1s.at_risk.adjusted_basis","income_sources.schedule_k1s.at_risk.increases","income_sources.schedule_k1s.at_risk.decreases","income_sources.schedule_k1s.at_risk.prior_year_line_19b","income_sources.schedule_k1s.at_risk.prior_year_line_21"],"currency_pickable":false,"derived_from_presence":[],"help":"For example money from a loan you do not have to repay yourself, which only the business's property secures, or a guarantee that covers your loss. Item K1 shows the partnership's nonrecourse debts.","help_lines":["Choose Not sure if you cannot tell: with a loss, the return cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.schedule_k1s.amount_not_at_risk","includes_united_states":false,"kind":"yesno","label":"Could you lose less than all of the money you have in it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"D"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"d"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"F"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"f"}]}]}]}]}]}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s.carried_losses","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.carried_losses.held_by","value":"at_risk"}]}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.more_than_one_activity"}]}]}},{"binds":"schedule_k1s[].at_risk.detailed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose. Part III is its longer way of working that out, as last year's return shows. Say no if you did not file the form for it last year, or used only Part II.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.detailed_last_year","includes_united_states":false,"kind":"yesno","label":"Did you fill in Part III of Form 6198 for this activity last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"}},{"binds":"schedule_k1s[].at_risk.adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Your basis is what you put in (cash and the cost of property, including loans used for it), less the depreciation and losses already taken. Do not take off what you still owe on those loans. Give it in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.adjusted_basis","includes_united_states":false,"kind":"money","label":"What was your basis in this activity on the first day of the year?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]}},{"binds":"schedule_k1s[].at_risk.prior_year_line_19b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 19b of last year's Form 6198 for this activity, in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.prior_year_line_19b","includes_united_states":false,"kind":"money","label":"What amount at risk did your Form 6198 last year show on line 19b?","label_when":[],"options":[],"placeholder":"15000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"}]}},{"binds":"schedule_k1s[].at_risk.prior_year_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 21 of last year's Form 6198 for this activity, without the parentheses. Enter zero if it was blank. It lowers the money at risk you start this year with.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.prior_year_line_21","includes_united_states":false,"kind":"money","label":"What deductible loss did your Form 6198 last year show on line 21?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"}]}},{"binds":"schedule_k1s[].at_risk.increases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you added during the year, from your own records. That means cash and the basis of property you put in, loans for it that you owe personally, and the value of your own property outside it that secures a loan for it. Do not count this year's profit. Enter zero if nothing was added.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.increases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this activity rise this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]}]}},{"binds":"schedule_k1s[].at_risk.decreases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you took out during the year, from your own records: cash and the basis of property you withdrew. Do not count this year's loss. Enter zero if nothing was taken out.","help_lines":["Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]},"Also count every loan included in your basis that you are not personally responsible for, such as one only the property secures or one from the seller. Also count money a guarantee protects."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"}]},"Do not count last year's deductible loss: you gave it on its own."]],"id":"income_sources.schedule_k1s.at_risk.decreases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this activity fall this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]}]}},{"binds":"schedule_k1s[].at_risk.losses_deducted_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The losses of this activity you took on returns for years after 1978, from your own records, in United States dollars. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.losses_deducted_earlier","includes_united_states":false,"kind":"money","label":"How much loss from this activity have you deducted on earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"schedule_k1s[].at_risk.recapture_added_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What earlier returns added to income because the money at risk fell below zero, from your own records. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.recapture_added_earlier","includes_united_states":false,"kind":"money","label":"How much of your losses came back as income on your earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"schedule_k1s[].at_risk.below_zero_at_end_of_1978","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter zero if this activity started later, or if it was not below zero then.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the activity makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.schedule_k1s.at_risk.below_zero_at_end_of_1978","includes_united_states":false,"kind":"money","label":"How far below zero was your money at risk at the end of 1978?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"eq","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.amount_not_at_risk"},{"op":"truthy","ref":"income_sources.schedule_k1s.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"schedule_k1s[].basis_at_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or last year's basis worksheet or Form 7203: what you put in, plus your share of its income, less its losses and what it paid you, over the years.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.basis_at_start","includes_united_states":false,"kind":"money","label":"What was your basis in it at the start of the year?","label_when":[],"options":[],"placeholder":"25000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}},{"binds":"schedule_k1s[].contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records: money or property you put in, or what you paid for more of it. Leave it empty if you put nothing in.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.contributions","includes_united_states":false,"kind":"money","label":"How much did you put into it this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}},{"binds":"schedule_k1s[].liabilities_at_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On your K-1, item K1: the three Beginning amounts added together.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.liabilities_at_start","includes_united_states":false,"kind":"money","label":"What was your share of its debts at the start of the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}]}},{"binds":"schedule_k1s[].liabilities_at_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On your K-1, item K1: the three Ending amounts added together.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.liabilities_at_end","includes_united_states":false,"kind":"money","label":"What was your share of its debts at the end of the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}]}},{"binds":"schedule_k1s[].liabilities_assumed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example the partnership took over a mortgage on property you put in.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.liabilities_assumed","includes_united_states":false,"kind":"yesno","label":"Did you take on its debts this year, or did it take on yours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}]}},{"binds":"schedule_k1s[].liabilities_you_assumed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or the partnership's papers. Enter 0 if the partnership took on your debts and you took on none of its.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.liabilities_you_assumed","includes_united_states":false,"kind":"money","label":"How much of the partnership's debts did you take on this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.liabilities_assumed"}]}},{"binds":"schedule_k1s[].liabilities_partnership_assumed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or the partnership's papers, for example a mortgage on property you put in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.liabilities_partnership_assumed","includes_united_states":false,"kind":"money","label":"How much of your own debts did the partnership take on this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.liabilities_assumed"}]}},{"add_label":"Add a loan","binds":"schedule_k1s[].loans[]","help":"Add one row per loan on a written note, and one for money lent without a note. Your own records and the corporation's statements show the figures.","id":"income_sources.schedule_k1s.loans","kind":"repeat","label":"Which loans have you made to it?","min_rows":1,"nodes":[{"binds":"schedule_k1s[].loans[].formal_note","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no for money lent without a written note (an open account).","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.loans.formal_note","includes_united_states":false,"kind":"yesno","label":"Is your loan on a written note?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].loans[].balance_at_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or the corporation's statements. Enter 0 for a loan made this year.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.loans.balance_at_start","includes_united_states":false,"kind":"money","label":"How much did the corporation owe you on it when the year began?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].loans[].new_loans","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records. For money lent without a note, what you lent less what it paid back. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.loans.new_loans","includes_united_states":false,"kind":"money","label":"How much more did you lend on it this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].loans[].principal_repaid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records: the loan itself, not the interest. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.loans.principal_repaid","includes_united_states":false,"kind":"money","label":"How much of your loan did the corporation repay this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].loans[].debt_basis_at_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's Form 7203, line 31: the loan less losses it has already absorbed. For a new loan, enter 0.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.loans.debt_basis_at_start","includes_united_states":false,"kind":"money","label":"What was your basis in this loan at the start of the year?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].loans[].held_over_one_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If a repayment is more than your basis in the note, the extra is a gain. This answer decides if that gain is short-term or long-term.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.loans.held_over_one_year","includes_united_states":false,"kind":"yesno","label":"Had you held this note for more than a year when it was repaid?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.loans.formal_note"},{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]}}],"row_label":"Loan","visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"truthy","ref":"income_sources.schedule_k1s.shareholder_loans"}]}},{"binds":"schedule_k1s[].basis_ordering_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You make this choice with a statement attached to a return, and it then holds for later years. Item E of Form 7203 asks about it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.basis_ordering_election","includes_united_states":false,"kind":"yesno","label":"Did you choose to have its losses reduce your basis before other costs?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]}]}},{"binds":"schedule_k1s[].nondeductible_carryover","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From last year's Form 7203: the costs your stock and loan basis could not take. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.nondeductible_carryover","includes_united_states":false,"kind":"money","label":"How much in costs you cannot deduct did your choice carry into this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.other_items.amount","value":0},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"11"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"}]}]}]}]},{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.other_net_rental_income","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_short_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_long_term_capital_gain","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.distributions","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"19"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.earlier_limited_losses"},{"op":"any_row","ref":"income_sources.schedule_k1s.loans","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.loans.principal_repaid","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.interest_disposed"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_unrelated"},{"op":"eq","ref":"income_sources.schedule_k1s.disposal_kind","value":"sold_related"}]}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.basis_ordering_election"}]}},{"binds":"schedule_k1s[].schedule_k3_attached","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A partnership's K-1 checks box 16 for it, an S corporation's box 14. It shows income from outside the United States.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.schedule_k3_attached","includes_united_states":false,"kind":"yesno","label":"Did a Schedule K-3 come with your K-1?","label_when":[],"off_ramp":{"body":"Foreign tax on a K-1 is claimed from its Schedule K-3, by country and kind of income, not from the K-1. You have the right to ask the business for one.","code":"schedule_k1_k3_needed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"The credit for this tax needs a Schedule K-3","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.schedule_k3_attached","value":false},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]}},{"binds":"schedule_k1s[].foreign_transactions_box","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 16 of a partnership's K-1, box 14 of an S corporation's.","help_lines":["Choose Not sure if you cannot tell: a return that claims the credit for foreign tax cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.schedule_k1s.foreign_transactions_box","includes_united_states":false,"kind":"yesno","label":"Does your K-1 show amounts under foreign transactions?","label_when":[],"off_ramp":{"body":"If you claim the credit for tax paid abroad, those amounts go on the credit form by country and kind of income. We do not ask for those details.","code":"schedule_k1_k3_foreign","next_step":"Continue. If you claim the credit for tax paid abroad, you can use another preparer for the return.","severity":"review","title":"We do not enter foreign transactions from a K-1","when":{"op":"truthy","ref":"income_sources.schedule_k1s.foreign_transactions_box"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"lt","ref":"context.tax_year","value":2021}]}},{"binds":"schedule_k1s[].k3_foreign_items","clears":["income_sources.schedule_k1s.k3_foreign_rows"],"currency_pickable":false,"derived_from_presence":[],"help":"Parts II and III show income, deductions and foreign tax by country.","help_lines":["Choose Not sure if you cannot tell: a return that claims the credit for foreign tax cannot be filed from here until you answer."],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_items","includes_united_states":false,"kind":"yesno","label":"Does your Schedule K-3 show income or tax from outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"}]}},{"binds":"schedule_k1s[].k3_limited_under_ten_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Item G of your K-1 shows a limited partner. If you hold it as an investment only, most of what a Schedule K-3 shows is passive income. Answer no if the partnership is part of your own active business.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_limited_under_ten_percent","includes_united_states":false,"kind":"yesno","label":"Are you a limited partner with under 10% of its value?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"}]}},{"binds":"schedule_k1s[].k3_has_previously_taxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Earnings of a foreign company you already reported as income in your own annual accounts (previously taxed earnings). Most people answer no.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_has_previously_taxed","includes_united_states":false,"kind":"yesno","label":"Did your K-3's dividends come from earnings already taxed to you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}},{"add_label":"Add a country","binds":"schedule_k1s[].k3_foreign_rows[]","help":"Add one row for each country in each column of Part II, line 24. Leave this tax off the page about tax you paid abroad, so it is not counted twice.","id":"income_sources.schedule_k1s.k3_foreign_rows","kind":"repeat","label":"Which countries does your Schedule K-3 list?","min_rows":1,"nodes":[{"binds":"schedule_k1s[].k3_foreign_rows[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country code beside line 24, A, B or C, in Part II.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.country","includes_united_states":false,"kind":"country","label":"Which country does your Schedule K-3 show here?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"schedule_k1s[].k3_foreign_rows[].column","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each column is a kind of income, and each kind has its own credit form. Pick by the kind of income the column names, not by its letter: the foreign taxes section of Part III uses different letters for the same kinds. For tax with no income in Part II, pick the kind the tax is under there.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.column","includes_united_states":false,"kind":"choice","label":"Which column of your Part II is it in?","label_when":[],"off_ramp":{"body":"That tax is kept in a category of its own, on a credit form we do not prepare here.","code":"schedule_k1_k3_other_category","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the credit for section 951A tax","when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.column","value":"section_951a"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_limited_under_ten_percent"}]}]}},"options":[{"label":"Passive (Part II column (c); Part III column (d))","value":"passive"},{"label":"General (Part II column (d); Part III column (e))","value":"general"},{"label":"Foreign branch (Part II column (b); Part III column (c))","value":"foreign_branch"},{"label":"Section 901(j) (Part II column (e); no credit)","value":"section_901j"},{"label":"Sourced by you (Part II column (f))","value":"sourced_by_you"},{"label":"Part III column (f) tax with a code starting RBT","value":"treaty"},{"label":"Section 951A (Part III column (b))","value":"section_951a"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].k3_foreign_rows[].gross_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, Section 1, line 24, for this country in this column. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.gross_income","includes_united_states":false,"kind":"money","label":"How much income does your line 24 show there?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_foreign_rows[].previously_taxed_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The part of lines 7 and 8 from previously taxed earnings in your annual accounts, with any section 986(c) gain on line 16. It stays off the credit form. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.previously_taxed_income","includes_united_states":false,"kind":"money","label":"How much of your income there was already taxed to you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.schedule_k1s.k3_has_previously_taxed"}},{"binds":"schedule_k1s[].k3_foreign_rows[].qualified_dividends","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, line 8, for this country in this column. Leave out the part already taxed to you, which you entered above. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.qualified_dividends","includes_united_states":false,"kind":"money","label":"How much of your income there is qualified dividends?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_foreign_rows[].long_term_gains","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, lines 12 to 15, for this country in this column. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.long_term_gains","includes_united_states":false,"kind":"money","label":"How much of your income there is long-term capital gain?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_foreign_rows[].deductions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, Section 2, lines 25, 26, 31 to 37 and 44 to 50, in this column. They are not listed by country: split them by income if several countries share a column. Leave out capital losses, which are asked next. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.deductions","includes_united_states":false,"kind":"money","label":"How much in deductions does your Part II show for this row?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.column","value":"sourced_by_you"}]}},{"binds":"schedule_k1s[].k3_foreign_rows[].capital_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, Section 2, lines 27 to 30, in this column. Split them by income if several countries share a column. Enter 0 if none.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.column","value":"sourced_by_you"},"In column (f) a loss follows the same rule as a gain: it is from abroad only if your tax home is abroad and your box 1 statement shows that a foreign tax of 10% or more would have been paid on a gain. Otherwise it is United States income and stays off the credit form."]],"id":"income_sources.schedule_k1s.k3_foreign_rows.capital_loss","includes_united_states":false,"kind":"money","label":"How much in capital losses does your Part II show for this row?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_foreign_rows[].foreign_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 1 of the foreign taxes section of Part III, for this country in this kind of income. Enter 0 if none.","help_lines":[],"help_when":[[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},"On your Schedule K-3 from a partnership it is Section 4."],[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"},"On your Schedule K-3 from an S corporation it is Section 3."]],"id":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","includes_united_states":false,"kind":"money","label":"How much foreign tax does your Part III show there, in dollars?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_foreign_rows[].tax_at_least_10_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of Part I of your Schedule K-3 has a statement listing these gains, and the losses on which such a tax would have been paid on a gain. Without it the gain or loss is United States income, and it stays off the credit form.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.tax_at_least_10_percent","includes_united_states":false,"kind":"yesno","label":"Does your box 1 statement show foreign tax of 10% or more?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.column","value":"sourced_by_you"}},{"binds":"schedule_k1s[].k3_foreign_rows[].partner_category","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Partner column of the foreign taxes section of Part III shows it. A sale of investments is passive.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.partner_category","includes_united_states":false,"kind":"choice","label":"Which kind of income is your gain?","label_when":[],"options":[{"label":"Passive","value":"passive"},{"label":"General","value":"general"},{"label":"Foreign branch","value":"foreign_branch"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.column","value":"sourced_by_you"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_rows.tax_at_least_10_percent"}]}]}},{"binds":"schedule_k1s[].k3_foreign_rows[].tax_currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement that comes with the K-3 shows the tax in foreign currency and in dollars. Enter USD if it shows dollars only.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.tax_currency","includes_united_states":false,"kind":"text","label":"Which currency does your K-3's statement show for this tax?","label_when":[],"options":[],"placeholder":"EUR","prefills":[],"required":true,"suggests_currencies":true,"unanswered_allowed":false,"validator_messages":{"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR."}},"validators":["currency_code"],"visible_when":{"op":"gt","ref":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","value":0}},{"binds":"schedule_k1s[].k3_foreign_rows[].tax_foreign_amount","clears":[],"currency_pickable":false,"currency_ref":"income_sources.schedule_k1s.k3_foreign_rows.tax_currency","derived_from_presence":[],"help":"From the same statement, before converting it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.tax_foreign_amount","includes_united_states":false,"kind":"money","label":"How much is your tax in that currency?","label_when":[],"options":[],"placeholder":"9000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","value":0},{"op":"answered","ref":"income_sources.schedule_k1s.k3_foreign_rows.tax_currency"},{"op":"not","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.tax_currency","value":"USD"}]}]}},{"binds":"schedule_k1s[].k3_foreign_rows[].withheld_at_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example tax held back from interest or a dividend. Answer no if it was worked out on a tax return or an assessment. Choose Not sure if you cannot tell: we only need it when it changes your credit, and then we tell you.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.withheld_at_payment","includes_united_states":false,"kind":"yesno","label":"Was your tax taken off a payment before the business got it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","value":0},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.column","value":"passive"},{"op":"eq","ref":"income_sources.schedule_k1s.k3_foreign_rows.partner_category","value":"passive"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_limited_under_ten_percent"}]}]}},{"binds":"schedule_k1s[].k3_foreign_rows[].tax_reduction","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 2 of the foreign taxes section of Part III. It is listed by column, not country: if several countries share a column, split it by tax, so the rows add up to the line once. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_foreign_rows.tax_reduction","includes_united_states":false,"kind":"money","label":"How much reduction of taxes does your Part III show for this row?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"gt","ref":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","value":0}}],"row_label":"Country","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}},{"binds":"schedule_k1s[].k3_paid_or_accrued","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people answer no. That choice covers every foreign tax on your return and later years too.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_paid_or_accrued","includes_united_states":false,"kind":"choice","label":"Do you account for foreign taxes when they accrue, not when you pay them?","label_when":[],"options":[{"label":"No, I claim it when I pay it.","value":"paid"},{"label":"Yes, I claim it when it accrues.","value":"accrued"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]},{"op":"any_row","ref":"income_sources.schedule_k1s.k3_foreign_rows","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.k3_foreign_rows.foreign_tax","value":0}]}]}},{"binds":"schedule_k1s[].k3_interest_expense","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, Section 2, lines 39 to 43, column (g). Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_expense","includes_united_states":false,"kind":"money","label":"How much interest expense does your Schedule K-3 show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}},{"binds":"schedule_k1s[].k3_capital_profits_under_ten_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what your spouse, family and companies you control hold. This decides how the interest on your K-3 is divided.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_capital_profits_under_ten_percent","includes_united_states":false,"kind":"yesno","label":"With relatives and related companies, is your share of capital and profits under 10%?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]},{"op":"gt","ref":"income_sources.schedule_k1s.k3_interest_expense","value":0},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_limited_under_ten_percent"}]}},{"add_label":"Add a kind of interest","binds":"schedule_k1s[].k3_interest_rows[]","help":"Add one row per kind: Part II, lines 41 to 43, with Part III, Section 2, lines 6b to 6d. Skip this if your income from abroad is $5,000 or less, with any you exclude: then all of it goes to United States income.","id":"income_sources.schedule_k1s.k3_interest_rows","kind":"repeat","label":"Which kinds of interest does your K-3 show, and on what assets?","min_rows":0,"nodes":[{"binds":"schedule_k1s[].k3_interest_rows[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 41 with line 6b is business, line 42 with line 6c investment, and line 43 with line 6d a passive activity. Lines 39 and 40 are interest allocated directly to one asset: add a row of their kind with the whole value under the one kind of income that asset earns, so all of that interest follows it.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.kind","includes_united_states":false,"kind":"choice","label":"Which kind of interest is your row for?","label_when":[],"options":[{"label":"Business","value":"business"},{"label":"Investment","value":"investment"},{"label":"Passive activity","value":"passive_activity"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"schedule_k1s[].k3_interest_rows[].interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, lines 41 to 43. Together your rows add up to the interest figure.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.interest","includes_united_states":false,"kind":"money","label":"How much of your interest is this kind?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_interest_rows[].assets_united_states","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Column (a) of its line in Part III, Section 2, plus your own assets of this kind at tax book value. Count column (f) here if the gain on those assets is United States income for you, otherwise with the kind of income the gain is.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.assets_united_states","includes_united_states":false,"kind":"money","label":"How much of your assets of this kind earn United States income?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_interest_rows[].assets_passive","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The passive column, plus your own assets of this kind at tax book value.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.assets_passive","includes_united_states":false,"kind":"money","label":"How much of your assets of this kind earn passive income abroad?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_interest_rows[].assets_general","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The general column, plus your own assets of this kind at tax book value.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.assets_general","includes_united_states":false,"kind":"money","label":"How much of your assets of this kind earn general income abroad?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_interest_rows[].assets_foreign_branch","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The foreign branch column, plus your own assets of this kind at tax book value.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.assets_foreign_branch","includes_united_states":false,"kind":"money","label":"How much of your assets of this kind earn foreign branch income?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"schedule_k1s[].k3_interest_rows[].assets_other","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Column (e) of its line in Part III, Section 2. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_interest_rows.assets_other","includes_united_states":false,"kind":"money","label":"How much of your assets of this kind earn other kinds of income?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]}],"row_label":"Interest","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]},{"op":"gt","ref":"income_sources.schedule_k1s.k3_interest_expense","value":0},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_capital_profits_under_ten_percent"}]}]}},{"binds":"schedule_k1s[].k3_column_f_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part II, Section 2, column (f), lines 25, 26, 31, 33 to 37 and 44 to 50. Leave out capital losses (lines 27 to 30), research costs (line 32), charitable contributions (line 38) and interest (lines 39 to 43). We share them by income. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_column_f_costs","includes_united_states":false,"kind":"money","label":"How much in costs does your K-3 show in column (f), leaving out interest?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}},{"binds":"schedule_k1s[].k3_other_items","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Research and experimental expenses on Part II, line 32, or a change to an earlier year's foreign tax in line 3 of the foreign taxes section of Part III.","help_lines":[],"help_when":[],"id":"income_sources.schedule_k1s.k3_other_items","includes_united_states":false,"kind":"yesno","label":"Does your Schedule K-3 show research costs or a tax change?","label_when":[],"off_ramp":{"body":"They go on figures by industry code and on a schedule we do not prepare from a Schedule K-3.","code":"schedule_k1_k3_other_items","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare these items of a Schedule K-3","when":{"op":"truthy","ref":"income_sources.schedule_k1s.k3_other_items"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]}]},{"op":"gt","ref":"context.tax_year","value":2020}]},{"op":"truthy","ref":"income_sources.schedule_k1s.schedule_k3_attached"},{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}},{"binds":"schedule_k1s[].k3_total_gross_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On Schedule K-3, Part II, line 24, column (g). If no Schedule K-3 came with your K-1, ask the business for the figure. We ask because you claim the credit for tax paid abroad.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2021},"On your K-1 for this year it is code B of box 16 from a partnership, or of box 14 from an S corporation. If it shows none, ask the business for the figure. We ask because you claim the credit for tax paid abroad."]],"id":"income_sources.schedule_k1s.k3_total_gross_income","includes_united_states":false,"kind":"money","label":"What is your share of its total gross income?","label_when":[],"options":[],"placeholder":"40000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}]}}],"row_label":"Schedule K-1","visible_when":{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}},{"binds":"real_estate_professional","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if both were true: more than half of all the work you did during the year was in real estate businesses you materially took part in, such as building, renting out, managing or selling property, and that work came to more than 750 hours.","help_lines":["The IRS guide to passive activities (Publication 925) sets out the tests for taking part materially.","Work as an employee counts only if you owned more than 5 percent of your employer.","On a joint return, count only your own work toward the two limits, though your spouse's part in a business does count toward whether you took part materially."],"help_when":[],"id":"income_sources.real_estate_professional","includes_united_states":false,"kind":"yesno","label":"Was real estate your profession during the year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8582.compute_form_8582","required_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]}]}},{"add_label":"Add a property","binds":"rentals[]","help":"Add one row per property. Have your rent record and your bills ready.","id":"income_sources.rentals","kind":"repeat","label":"What did you rent out?","min_rows":1,"nodes":[{"binds":"rentals[].property_description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address, or a few words from your own records, in up to thirty characters.","help_lines":[],"help_when":[],"id":"income_sources.rentals.property_description","includes_united_states":false,"kind":"text","label":"Which property did you rent out?","label_when":[],"options":[],"placeholder":"Apartment at 4 Rosegate","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_30":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_30"]},{"binds":"rentals[].location_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your lease or your deeds. Choose the United States for a property there.","help_lines":[],"help_when":[],"id":"income_sources.rentals.location_country","includes_united_states":true,"kind":"country","label":"Which country is your property in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"US","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"rentals[].property_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule E asks which kind it is. Choose the closest one; choose Other if none of them fits.","help_lines":[],"help_when":[],"id":"income_sources.rentals.property_type","includes_united_states":false,"kind":"choice","label":"Which of these describes your property?","label_when":[],"options":[{"label":"A single home.","value":"SINGLE FAMILY RESIDENCE"},{"label":"A building with more than one home in it.","value":"MULTI-FAMILY RESIDENCE"},{"label":"A vacation home or a short-term rental.","value":"VACATION/SHORT-TERM RENTAL"},{"label":"Business premises.","value":"COMMERCIAL"},{"label":"Land with no building on it.","value":"LAND"},{"label":"A property you rent to a business of your own.","value":"SELF-RENTAL"},{"label":"Something else.","value":"OTHER"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].owns_only_part","clears":["income_sources.rentals.ownership_percent"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if someone other than your spouse on this joint return owns a share of it. Your deeds show who owns it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.owns_only_part","includes_united_states":false,"kind":"yesno","label":"Do you own only part of this property?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].rents_only_part","clears":["income_sources.rentals.rented_part_percent","income_sources.rentals.expenses.rented_part_cost"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you rent out only part of it, such as a room or one floor, and use or keep the rest yourself.","help_lines":[],"help_when":[],"id":"income_sources.rentals.rents_only_part","includes_united_states":false,"kind":"yesno","label":"Do you rent out only part of this property?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].held_through_foreign_entity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if a company or limited liability company formed under another country's law owns it, even if you are its only owner. Your deeds show who owns it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.held_through_foreign_entity","includes_united_states":false,"kind":"yesno","label":"Do you hold it through a company or LLC set up abroad?","label_when":[],"off_ramp":{"body":"A company or LLC set up abroad is taxed by its own rules and may need its own form with your return (Form 5471, 8865 or 8858), which we do not prepare for a company.","code":"rental_held_through_foreign_entity","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a property held through a company abroad","when":{"op":"truthy","ref":"income_sources.rentals.held_through_foreign_entity"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].stayed_on_rented_days","clears":["income_sources.rentals.personal_days_on_rented_days"],"currency_pickable":false,"derived_from_presence":[],"help":"For example, the renter let you use it for a weekend and the rent stayed the same. Your rent record and your diary show it.","help_lines":["A relative who rents it from you at a normal rent as their main home is a tenant like any other: their days there do not count here."],"help_when":[],"id":"income_sources.rentals.stayed_on_rented_days","includes_united_states":false,"kind":"yesno","label":"Did you or family stay there on a day it was rented?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"in","ref":"income_sources.rentals.property_type","values":["SINGLE FAMILY RESIDENCE","MULTI-FAMILY RESIDENCE","VACATION/SHORT-TERM RENTAL","OTHER"]}},{"binds":"rentals[].average_stay_7_days_or_less","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add up the nights of every stay and divide by the number of stays, from your booking records. Vacation rentals often do.","help_lines":[],"help_when":[],"id":"income_sources.rentals.average_stay_7_days_or_less","includes_united_states":false,"kind":"yesno","label":"Did your guests stay 7 days or less on average?","label_when":[],"off_ramp":{"body":"When guests stay 7 days or less on average, the letting is not treated as an ordinary rental, and the way it is reported is not prepared here.","code":"rental_average_stay_7_days_or_less","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a let with stays this short","when":{"op":"truthy","ref":"income_sources.rentals.average_stay_7_days_or_less"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].average_stay_30_days_with_services","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if stays were 30 days or less on average and you, or someone you paid, gave guests services such as cleaning during their stay, fresh linen or meals, from your booking records. Cleaning shared areas or taking out the trash does not count.","help_lines":[],"help_when":[],"id":"income_sources.rentals.average_stay_30_days_with_services","includes_united_states":false,"kind":"yesno","label":"Did your guests stay 30 days or less, with cleaning or meals provided?","label_when":[],"off_ramp":{"body":"When guests stay a short time and are given services such as cleaning or meals, the letting is reported like a business, which is not prepared here.","code":"rental_average_stay_30_days_with_services","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a let with guest services","when":{"op":"truthy","ref":"income_sources.rentals.average_stay_30_days_with_services"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].not_rented_for_profit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, you let it to family well below the going rate, or only to cover some of its costs. Your rent record shows what you charged.","help_lines":[],"help_when":[],"id":"income_sources.rentals.not_rented_for_profit","includes_united_states":false,"kind":"yesno","label":"Did you rent it out without aiming to make a profit?","label_when":[],"off_ramp":{"body":"A rental not run to make a profit is reported in a different place, with its own limits on the costs, which is not prepared here.","code":"rental_not_rented_for_profit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a rental not run for profit","when":{"op":"truthy","ref":"income_sources.rentals.not_rented_for_profit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].incidental_to_other_activity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if any of these is true, as your records show.","help_lines":["You hold it mainly to sell at a gain, and the year's rent is under 2% of its cost or value, whichever is less.","You mainly use it in a business of your own, and the year's rent is under 2% of its cost or value, whichever is less.","It is lodging you give your employees for your own convenience.","You open it during business hours for use by any customer, such as a sports ground.","You let a partnership, S corporation or joint venture you own part of use it as part of your share in it, not under a lease.","You give guests extraordinary services, and the stay comes with them, as in a clinic."],"help_when":[],"id":"income_sources.rentals.incidental_to_other_activity","includes_united_states":false,"kind":"yesno","label":"Is renting it out part of something else you do, such as a business?","label_when":[],"off_ramp":{"body":"When renting out a property is part of something else you do, it is not reported as an ordinary rental, and the way it is reported is not prepared here.","code":"rental_incidental_to_other_activity","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a rental that is part of another activity","when":{"op":"truthy","ref":"income_sources.rentals.incidental_to_other_activity"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].used_as_home_carryover_from_earlier_year","clears":["income_sources.rentals.used_as_home_carryover_operating","income_sources.rentals.used_as_home_carryover_depreciation"],"currency_pickable":false,"derived_from_presence":[],"help":"This happens only for a home you also used yourself, when its costs were more than its rent. Lines 7a and 7b of Worksheet 5-1 in last year's records show it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.used_as_home_carryover_from_earlier_year","includes_united_states":false,"kind":"yesno","label":"Did an earlier return carry this property's costs forward, as a home you used?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].at_risk_loss_carried_from_earlier_year","clears":["income_sources.rentals.at_risk.carried_loss","income_sources.rentals.at_risk.carried_loss_from_sale"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose, and adds earlier losses back to income when that money falls below zero. Last year's return shows either. Both come off this year's figures.","help_lines":[],"help_when":[],"id":"income_sources.rentals.at_risk_loss_carried_from_earlier_year","includes_united_states":false,"kind":"yesno","label":"Did your last Form 6198 carry this rental's loss forward or add losses back?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].disposed_in_year","clears":["income_sources.rentals.disposition_to_related_party","income_sources.rentals.disposition_fully_taxable"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if you gave up all of your share, for example by selling the whole property, as your sale contract or closing statement shows. Losses held back from earlier years can be released in the year you give up the whole rental.","help_lines":[],"help_when":[],"id":"income_sources.rentals.disposed_in_year","includes_united_states":false,"kind":"yesno","label":"Did you sell or give up the whole of this rental during the year?","label_when":[],"off_ramp":{"body":"The sale of the rental is reported from the list of what it holds: the building, with its land, and each thing you bought for it, each with the day it went.","code":"rental_sale_reported","next_step":"Give the day each item in the rental's list went and what you received for it, and answer the two questions about the sale.","severity":"info","title":"The sale is reported item by item","when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].ownership_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, or the will you inherited it under, show your share. Give the rent and the costs for the whole property, as your agent's statement shows them: we take your share.","help_lines":["For the building and anything bought for it, give only what you paid, or your own share of its value."],"help_when":[],"id":"income_sources.rentals.ownership_percent","includes_united_states":false,"kind":"text","label":"What percentage of this property do you own?","label_when":[],"options":[],"placeholder":"50","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.RentalIncome._check_shares_and_home_days","required_when":{"op":"truthy","ref":"income_sources.rentals.owns_only_part"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"rental_share_percent":{"message":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100."}},"validators":["rental_share_percent"],"visible_when":{"op":"truthy","ref":"income_sources.rentals.owns_only_part"}},{"binds":"rentals[].rented_part_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The rented part's share of the whole, by number of rooms or by floor area, from your floor plan. We take that share of the costs of the whole property and of the building's write-off.","help_lines":["List furniture and equipment for the rented part only among what lasts more than a year."],"help_when":[],"id":"income_sources.rentals.rented_part_percent","includes_united_states":false,"kind":"text","label":"What percentage of the property do you rent out?","label_when":[],"options":[],"placeholder":"25","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.RentalIncome._check_shares_and_home_days","required_when":{"op":"truthy","ref":"income_sources.rentals.rents_only_part"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"rental_share_percent":{"message":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100."}},"validators":["rental_share_percent"],"visible_when":{"op":"truthy","ref":"income_sources.rentals.rents_only_part"}},{"binds":"rentals[].fair_rental_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count only the days someone actually rented it at the going rate, from your rent record or your agent's statement. Days it stood empty while offered for rent do not count.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.rentals.rents_only_part"},"Count only the days the part you rent out was rented, and the days you or family used that part. Days you lived in the rest of the property do not count."]],"id":"income_sources.rentals.fair_rental_days","includes_united_states":false,"kind":"integer","label":"On how many days did you rent your property at a normal rent?","label_when":[],"options":[],"placeholder":"365","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"]},{"binds":"rentals[].personal_use_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count each day it was used by you or anyone else who owns part of it, by a relative of either of you, or by anyone who paid less than the going rate, from your rent record and your diary. Enter zero if nobody did.","help_lines":["A day someone stayed there under a swap that let you stay somewhere else counts too.","A day you spent working full time on repairs does not count, even if family stayed with you.","A day a relative rented it from you at a normal rent as their main home does not count either: that is a rented day.","Leave out a day it was also rented at a normal rent: that one is a rented day, and we ask about it separately.","How much of the running costs comes off your tax depends on this answer."],"help_when":[[{"op":"truthy","ref":"income_sources.rentals.rents_only_part"},"Count only the days the part you rent out was rented, and the days you or family used that part. Days you lived in the rest of the property do not count."]],"id":"income_sources.rentals.personal_use_days","includes_united_states":false,"kind":"integer","label":"On how many days did you, family or friends use it yourselves?","label_when":[],"off_ramp":{"body":"Because you used the property yourself as well as letting it, only part of what it cost to run can come off your tax. We work that share out from the two day counts you give.","code":"rental_personal_use","next_step":"Continue, and check both day counts against your rent record and the dates you stayed there.","severity":"review","title":"Your own days at the property reduce the costs that count","when":{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":0}},"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"]},{"binds":"rentals[].personal_days_on_rented_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count each day from your diary and your rent record. They count as rented days when we divide the costs, and as your own days when we test whether it was a home you used.","help_lines":[],"help_when":[],"id":"income_sources.rentals.personal_days_on_rented_days","includes_united_states":false,"kind":"integer","label":"On how many of the rented days did you or family stay there?","label_when":[],"options":[],"placeholder":"2","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.stayed_on_rented_days"},{"op":"in","ref":"income_sources.rentals.property_type","values":["SINGLE FAMILY RESIDENCE","MULTI-FAMILY RESIDENCE","VACATION/SHORT-TERM RENTAL","OTHER"]}]}},{"binds":"rentals[].main_home_days_around_rental","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the days you lived there as your main home just before or just after renting it, or offering it for rent, for 12 months or more in a row, from your moving dates and your lease. Enter zero if none.","help_lines":["A shorter rental counts too if it ended because you sold or exchanged the property.","These days still reduce the running costs that count, but they do not make it a home you used yourself."],"help_when":[],"id":"income_sources.rentals.main_home_days_around_rental","includes_united_states":false,"kind":"integer","label":"How many of those days was it your main home, before or after renting?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":14},{"op":"truthy","ref":"income_sources.rentals.stayed_on_rented_days"}]},{"op":"in","ref":"income_sources.rentals.property_type","values":["SINGLE FAMILY RESIDENCE","MULTI-FAMILY RESIDENCE","VACATION/SHORT-TERM RENTAL","OTHER"]}]}},{"binds":"rentals[].rents_received","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly total from your rent record or your agent's statement, for the whole property.","help_lines":["Include rent paid in advance for a later year, a deposit you kept, and a payment for ending the lease early.","Include any bill your tenant paid for you, and the value of any work or goods you took instead of rent.","Leave out a deposit you will give back."],"help_when":[],"id":"income_sources.rentals.rents_received","includes_united_states":false,"kind":"money","label":"How much rent did you receive during the year?","label_when":[],"options":[],"placeholder":"18000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"rentals[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of the Form 1099-MISC your tenant or agent sent. Leave it blank if no box 4 shows an amount.","help_lines":[],"help_when":[],"id":"income_sources.rentals.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal income tax was withheld from your rent?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].self_rental_materially_participates","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you worked in that business for more than 500 hours this year, did nearly all of its work, or worked more than 100 hours and more than anyone else there. Your spouse's work counts too. Choose Not sure if you cannot tell yet: if your income is high, the return cannot be built until you give it.","help_lines":["Taking part regularly and steadily for more than 100 hours also counts, unless someone else was paid to manage it or spent more hours managing it than you did.","Work only as an investor, such as reading its reports, does not count."],"help_when":[],"id":"income_sources.rentals.self_rental_materially_participates","includes_united_states":false,"kind":"yesno","label":"Do you take a hands-on part in running the business you rent it to?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"in","ref":"income_sources.rentals.property_type","values":["SELF-RENTAL"]}},{"binds":"rentals[].self_rental_rented_in_year_before_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the 12 months up to the day of the sale, as your lease or rent record shows. It decides whether the gain is left out of the extra tax on investment income.","help_lines":["Choose Not sure if you cannot tell: if your income is high, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.self_rental_rented_in_year_before_sale","includes_united_states":false,"kind":"yesno","label":"In the 12 months before you sold it, was it rented to that business?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.property_type","values":["SELF-RENTAL"]},{"op":"truthy","ref":"income_sources.rentals.self_rental_materially_participates"},{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},{"op":"eq","ref":"income_sources.rentals.fair_rental_days","value":0}]}},{"binds":"rentals[].partially_disposed_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a share of the property, or one of the homes in a building you let, as your sale contract or closing statement shows. Answer no if you still have all of it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.partially_disposed_in_year","includes_united_states":false,"kind":"yesno","label":"Did you sell or give up part of this rental during the year?","label_when":[],"off_ramp":{"body":"The gain or loss on the part you gave up counts toward this rental's result for the year, and it is reported on a form we do not prepare here, so the return cannot be filed from here.","code":"rental_partial_disposition","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of part of a rental","when":{"op":"truthy","ref":"income_sources.rentals.partially_disposed_in_year"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.rentals.disposed_in_year","value":false}},{"binds":"rentals[].disposition_to_related_party","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Related includes your spouse, a parent, grandparent or other ancestor, a child, grandchild or other descendant, and a brother or sister, half brothers and sisters included; a company in which you, directly or through those family members, own more than 10% of the value of the stock; a partnership in which you own more than 10% of the capital or profits; a trust you set up or benefit from; a tax-exempt charity or educational organization that you or your family control; and, generally, an estate you are a beneficiary of.","help_lines":["Publication 925 lists every case.","Your sale contract names the buyer."],"help_when":[],"id":"income_sources.rentals.disposition_to_related_party","includes_united_states":false,"kind":"yesno","label":"Was the buyer related to you?","label_when":[],"off_ramp":{"body":"A sale to a relative, or to a company, partnership or trust tied to you that way, is taxed under rules we do not work out here.","code":"rental_sale_related_buyer","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale to someone related to you","when":{"op":"truthy","ref":"income_sources.rentals.disposition_to_related_party"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.RentalIncome._check_disposition","required_when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"}},{"binds":"rentals[].disposition_fully_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you are being paid in installments over more than one year, or if part of the gain is put off, for example by exchanging the property for another one. Your sale contract or closing statement shows how you are paid.","help_lines":[],"help_when":[],"id":"income_sources.rentals.disposition_fully_taxable","includes_united_states":false,"kind":"yesno","label":"Are you taxed this year on all the gain or loss on the sale?","label_when":[],"off_ramp":{"body":"A sale paid in installments, or one whose gain is put off, is reported on a form we do not prepare here.","code":"rental_sale_over_years","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale paid over more than one year","when":{"op":"eq","ref":"income_sources.rentals.disposition_fully_taxable","value":false}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.RentalIncome._check_disposition","required_when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"}},{"binds":"rentals[].foreign_currency_loan_paid_off","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A mortgage or other loan in euros, pounds or any currency other than US dollars. Paying it off at a different exchange rate from the one you borrowed at brings a gain or a loss of its own, which we do not work out.","help_lines":["Choose Not sure if you cannot tell from your loan papers."],"help_when":[],"id":"income_sources.rentals.foreign_currency_loan_paid_off","includes_united_states":false,"kind":"yesno","label":"Did you pay off a loan in another currency when you sold it?","label_when":[],"off_ramp":{"body":"Paying off a loan in another currency at a different exchange rate brings a gain or a loss of its own, which we do not work out.","code":"currency_loan_payoff","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a currency gain on a loan","when":{"op":"truthy","ref":"income_sources.rentals.foreign_currency_loan_paid_off"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},{"op":"ne","ref":"income_sources.rentals.location_country","value":"US"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You gave this figure before we started working it out for you from what you own. Your earlier answers carry it. Once the building and what you bought for it are in your list of what you own for this property, enter zero here and it goes away.","help_lines":[],"help_when":[],"id":"income_sources.rentals.depreciation","includes_united_states":false,"kind":"money","label":"What yearly figure did you give us for writing your property down?","label_when":[],"off_ramp":{"body":"You gave us a yearly figure for writing this property down. It is not filed as you typed it any more: the figure is worked out from what you own and when you started letting it, so we need those facts instead, and your return cannot be built while the old figure is here.","code":"rental_depreciation_needs_assets","next_step":"Add the building and anything you bought for it to the list of what lasts more than a year, then enter zero for the old figure.","severity":"block","title":"We now work out your property's yearly write-off","when":{"op":"truthy","ref":"income_sources.rentals.depreciation"}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.depreciation"}},{"clears":["income_sources.rentals.assets"],"currency_pickable":false,"derived_from_presence":["rentals[].assets[]"],"help":"The building and the things in it that last, such as furniture and appliances, are written off over a number of years rather than in the year you paid for them. Your purchase contract, your deeds and your invoices show what you paid. Answer no if you rent the property from someone else.","help_lines":[],"help_when":[],"id":"income_sources.rentals.has_assets","includes_united_states":false,"kind":"yesno","label":"Do you own the rented building, or anything for it lasting over a year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add an item","binds":"rentals[].assets[]","help":"Add one row for the building itself and one for each thing you bought for the property, such as furniture or appliances.","id":"income_sources.rentals.assets","kind":"repeat","label":"What did you buy or own that lasts more than a year?","min_rows":1,"nodes":[{"binds":"rentals[].assets[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from your purchase contract, your deeds or the invoice, such as the address of the building or what the item is.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},"You gave up this whole rental during the year. To file electronically, keep this to 15 characters or fewer. The form's box holds 20, and a mark the IRS asks for on this sale can take 5 of them. A longer description is fine on a paper return."]],"id":"income_sources.rentals.assets.description","includes_united_states":false,"kind":"text","label":"How would you describe it?","label_when":[],"options":[],"placeholder":"Apartment at 4 Rosegate","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"]},{"binds":"rentals[].assets[].asset_class","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What kind of thing it is decides over how many years its cost is written off. Land on its own is never written off, so do not add a row for it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.asset_class","includes_united_states":false,"kind":"choice","label":"Which of these best describes what you bought or own?","label_when":[],"off_ramp":{"body":"Writing off a vehicle is capped by yearly limits and needs your mileage for the year, which we do not work out here.","code":"asset_vehicle","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a vehicle's write-off","when":{"op":"eq","ref":"income_sources.rentals.assets.asset_class","value":"vehicle"}},"options":[{"help":"Include the land it stands on in the cost; the land is split out next.","label":"A house or an apartment that people rent to live in.","value":"residential_rental_building"},{"help":"Include the land it stands on in the cost; the land is split out next.","label":"A building nobody lives in, such as an office, a shop or a warehouse.","value":"nonresidential_building"},{"label":"Appliances, carpets or furniture in a home you rent out.","value":"appliances_carpet_furniture_rental"},{"label":"Work done to the land itself, such as a fence, a path, a driveway or planting.","value":"land_improvement"},{"label":"A computer, or equipment that goes with one, such as a printer.","value":"computer"},{"label":"A car, van, truck, motorcycle, boat or aircraft.","value":"vehicle"},{"help":"Choose this only when the IRS guide to depreciation puts it in the five-year group.","label":"Something else the IRS writes off over five years.","value":"other_5_year"},{"help":"The IRS puts anything it gives no other group in this one, so choose it when nothing above fits.","label":"Something else, written off over seven years.","value":"other_7_year"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].assets[].placed_in_service_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the day it was ready and available, even if nothing happened on it yet: the day the property was first offered for rent, or the day the item was installed and working. Your purchase contract, your invoice or your own records show it. For something you used privately first, give the day you started using it for the rental.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.placed_in_service_on","includes_united_states":false,"kind":"date","label":"On which day was it first ready for you to use for the rental?","label_when":[],"off_ramp":{"body":"Property first used before 1987 is written off under older rules that we do not prepare here.","code":"asset_before_1987","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare property first used before 1987","when":{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":40}]}]}]}]}},"options":[],"placeholder":"2025-03-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."}},"validators":["not_after_tax_year"]},{"binds":"rentals[].assets[].cost_or_other_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The price on your purchase contract or invoice, plus your costs of buying it. Those are costs such as legal fees, recording fees, transfer taxes and delivery. For a building, include the land under it: the next question takes the land back out. Give the figure in United States dollars. If you paid in another currency, convert it at the exchange rate on the day you paid. If your currency has more than one official rate, give the figure in US dollars at the rate you actually used.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},"You used it privately first, so give what it cost you plus what you spent improving it before you started using it for the rental."]],"id":"income_sources.rentals.assets.cost_or_other_basis","includes_united_states":false,"kind":"money","label":"What did it cost you, in United States dollars?","label_when":[],"options":[],"placeholder":"250000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].assets[].land_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Land is never written off, so the cost has to be split between the land and the building.","help_lines":["Your purchase contract or your property tax assessment may show the split; if neither does, divide the cost in proportion to what the land and the building were each worth.","A building always stands on land, so enter zero only if the cost includes none, as with some apartments in a larger building.","Give the figure in United States dollars."],"help_when":[],"id":"income_sources.rentals.assets.land_value","includes_united_states":false,"kind":"money","label":"How much of what you paid was for the land the building stands on?","label_when":[],"options":[],"placeholder":"50000","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_land_value","required_when":{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"land_below_cost":{"message_algorithm":"Check the land share: it has to be less than the whole cost of the building and its land, because the building itself is what gets written off."}},"validators":["land_below_cost"],"visible_when":{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}},{"binds":"rentals[].assets[].interior_improvement_of_building_in_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, new partitions, lighting or a fit-out inside an office or shop that was already open. Enlarging the building, a lift or escalator, or work on its frame does not count.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.interior_improvement_of_building_in_use","includes_united_states":false,"kind":"yesno","label":"Is it your improvement to the inside of a building already in use?","label_when":[],"off_ramp":{"body":"An improvement to the inside of a building already in use can be written off over a much shorter period than the building, which we do not work out here.","code":"asset_interior_improvement","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare an improvement inside a building in use","when":{"op":"truthy","ref":"income_sources.rentals.assets.interior_improvement_of_building_in_use"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.assets.asset_class","value":"nonresidential_building"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]}]}]}]}]}},{"binds":"rentals[].assets[].converted_from_personal_use","clears":["income_sources.rentals.assets.fair_market_value_at_conversion"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a home you lived in before you let it, or a car or a computer you owned before the business used it. Its value on the day you switched is asked next, because the lower of that value and its cost is what gets written off.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.converted_from_personal_use","includes_united_states":false,"kind":"yesno","label":"Did you use it privately before you started using it for the rental?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].assets[].fair_market_value_at_conversion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A valuation or an appraisal from the time, or the price similar property sold for then. Leave out the land, because land is never written off. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.fair_market_value_at_conversion","includes_united_states":false,"kind":"money","label":"What was it worth, without any land, on the day you switched?","label_when":[],"options":[],"placeholder":"180000","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"}},{"binds":"rentals[].assets[].used_predominantly_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Everything used for a property abroad is used abroad, and everything used for a property in the United States is used there.","help_lines":["Property used mainly outside the United States is written off over a longer period, under a different set of IRS tables."],"help_when":[],"id":"income_sources.rentals.assets.used_predominantly_outside_us","includes_united_states":false,"kind":"yesno","label":"Do you use it mainly outside the United States?","label_when":[],"options":[],"prefills":[{"confirm":false,"exact":true,"note":"Filled in because your property is outside the United States.","value":true,"when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.location_country"},{"op":"ne","ref":"income_sources.rentals.location_country","value":"US"}]}},{"confirm":false,"exact":true,"note":"Filled in because your property is in the United States.","value":false,"when":{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].assets[].bonus_elected","clears":["income_sources.rentals.assets.acquired_on"],"currency_pickable":false,"derived_from_presence":[],"help":"An item you started using this year can have a large part of its cost deducted in its first year, with the rest spread over its life.","help_lines":["Answering no is a choice not to take the allowance, and the IRS applies that choice to everything of the same kind you started using this year."],"help_when":[],"id":"income_sources.rentals.assets.bonus_elected","includes_united_states":false,"kind":"yesno","label":"Are you taking the extra first-year allowance on it?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}},{"binds":"rentals[].assets[].early_first_year_allowance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The special depreciation allowance let new items bought in some years have part of their cost written off in their first year. That year's Form 4562 or your depreciation schedule shows whether it applied. It decides whether the item's depreciation is worked out again for the alternative minimum tax.","help_lines":["Choose I am not sure if you cannot check: the return can then be filed only where the answer cannot change the alternative minimum tax."],"help_when":[],"id":"income_sources.rentals.assets.early_first_year_allowance","includes_united_states":false,"kind":"choice","label":"In its first year, could you take the extra first-year allowance on it?","label_when":[],"options":[{"label":"Yes, it could, and I did not turn it down.","value":"eligible"},{"label":"It could, but I turned it down with a statement on that year's return.","value":"elected_out"},{"label":"No, it could not, for example because I used it before buying it.","value":"not_eligible"},{"label":"I am not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"not","rules":[{"op":"eq","ref":"income_sources.rentals.assets.asset_class","value":"land_improvement"}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"lt","ref":"context.tax_year","value":2025}]}},{"binds":"rentals[].assets[].section_1250_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your depreciation schedule, or whoever set it up, can tell you. Section 1250 property is real property that can be depreciated, other than section 1245 property, so being fixed to the land does not settle it: go by your schedule. Choose Not sure if you cannot check; the return cannot be filed until it is answered.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.section_1250_property","includes_united_states":false,"kind":"yesno","label":"Do your depreciation records list this land improvement as section 1250 property?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.assets.asset_class","value":"land_improvement"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":16}]}},{"binds":"rentals[].assets[].prior_special_allowance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most items first used after September 27, 2017 could have a large part of their cost written off in their first year. Unless you turned that down with a statement on that year's return, what is left to write off now is reduced as if you took it.","help_lines":["Line 14 of that year's Form 4562, or your depreciation schedule, shows the allowance you took.","Choose I am not sure if you cannot check it: this year's figure depends on it, so we cannot prepare your return until it is answered."],"help_when":[],"id":"income_sources.rentals.assets.prior_special_allowance","includes_united_states":false,"kind":"choice","label":"In its first year, did you take the extra first-year allowance on it?","label_when":[],"off_ramp":{"body":"What is left to write off this year depends on whether the item took the extra first-year allowance in its first year, so we cannot work it out without that.","code":"asset_prior_allowance_not_sure","next_step":"Check that year's Form 4562 or your depreciation schedule and answer, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We need to know about the first-year allowance","when":{"op":"eq","ref":"income_sources.rentals.assets.prior_special_allowance","value":"not_sure"}},"options":[{"label":"Yes, I took it.","value":"took"},{"label":"No, I turned it down with a statement on that year's return.","value":"elected_out"},{"label":"No, I did not take it, and I did not turn it down either.","value":"neither"},{"label":"I am not sure.","value":"not_sure"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]}},{"binds":"rentals[].assets[].used_before_acquired","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, you leased or borrowed it first and then bought it. Something you bought second-hand from someone else is a no.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.used_before_acquired","includes_united_states":false,"kind":"yesno","label":"Had you used it yourself before you bought it?","label_when":[],"off_ramp":{"body":"Whether the extra first-year allowance applies to something you used before you bought it depends on rules we do not work out here.","code":"asset_used_before_bought","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the allowance on something you used before buying","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.used_before_acquired"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]},{"op":"truthy","ref":"income_sources.rentals.assets.bonus_elected"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.rentals.assets.prior_special_allowance","values":["took","neither"]}]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]},{"op":"truthy","ref":"income_sources.rentals.assets.bonus_elected"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.rentals.assets.prior_special_allowance","values":["took","neither"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]},{"op":"eq","ref":"income_sources.rentals.assets.bonus_elected","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.rentals.assets.prior_special_allowance","value":"elected_out"}]}]}]}},{"binds":"rentals[].assets[].acquired_by_gift_inheritance_or_from_relative","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A close relative here is your spouse, a parent or grandparent, or a child or grandchild. Count a company you own more than half of, or a trust you set up or benefit from, as well. Your purchase invoice or the papers that passed it to you show who it came from.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.acquired_by_gift_inheritance_or_from_relative","includes_united_states":false,"kind":"yesno","label":"Did you get it as a gift or inheritance, or from a close relative?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]},{"op":"truthy","ref":"income_sources.rentals.assets.bonus_elected"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.rentals.assets.prior_special_allowance","values":["took","neither"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]},{"op":"eq","ref":"income_sources.rentals.assets.bonus_elected","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"eq","ref":"income_sources.rentals.assets.prior_special_allowance","value":"elected_out"}]}]}]}},{"binds":"rentals[].assets[].acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your purchase contract or invoice, which can be earlier than the day you started using it. How much of the cost the first-year allowance covers depends on it.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},"You sold it during the year, and the sale is reported with the day you bought it or otherwise acquired it, from your purchase contract or deeds."]],"id":"income_sources.rentals.assets.acquired_on","includes_united_states":false,"kind":"date","label":"On which day did you buy it?","label_when":[],"options":[],"placeholder":"2025-02-15","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.bonus_elected"},{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.rentals.assets.prior_special_allowance","values":["took","neither"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_first_use":{"message_algorithm":"Check this date: you cannot have bought it after the day you started using it."}},"validators":["not_after_first_use"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.bonus_elected"},{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.asset_class"},{"op":"not","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value":"US"},{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10}]}]}]}]}]}]},{"op":"in","ref":"income_sources.rentals.assets.prior_special_allowance","values":["took","neither"]}]}]}},{"binds":"rentals[].assets[].prior_depreciation_never_claimed","clears":["income_sources.rentals.assets.prior_depreciation_allowed_or_allowable"],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you started using it before this year but no earlier return claimed any of its cost, and we work out what you could have written off in those years. Answer no if an earlier return claimed some of it, and give the figure next.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.prior_depreciation_never_claimed","includes_united_states":false,"kind":"yesno","label":"Is this the first return on which you are claiming a write-off for it?","label_when":[],"off_ramp":{"body":"Even when nothing was claimed, what is left to write off is reduced by what you could have claimed in the earlier years. We work that out from the IRS tables for the kind of item and the day you started using it.","code":"prior_depreciation_from_schedule","next_step":"Continue.","severity":"info","title":"We work out what you could have written off before","when":{"op":"truthy","ref":"income_sources.rentals.assets.prior_depreciation_never_claimed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]}},{"binds":"rentals[].assets[].prior_depreciation_allowed_or_allowable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every earlier year you could have claimed it, even a year you did not: what is left to write off is reduced by what you were entitled to take.","help_lines":["Last year's depreciation schedule shows the running total; without one, add up this item's line on each earlier year's Form 4562, including any amount deducted in full or any first-year allowance.","Give the figure in United States dollars."],"help_when":[],"id":"income_sources.rentals.assets.prior_depreciation_allowed_or_allowable","includes_united_states":false,"kind":"money","label":"How much of its cost could you have written off before this year?","label_when":[],"options":[],"placeholder":"36960","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.compute_depreciation","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"ne","ref":"income_sources.rentals.assets.prior_depreciation_never_claimed","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"prior_within_cost":{"message_algorithm":"Check the figure for earlier years: it cannot be more than what the item cost without its land."}},"validators":["prior_within_cost"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"ne","ref":"income_sources.rentals.assets.prior_depreciation_never_claimed","value":true}]}},{"binds":"rentals[].assets[].disposed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your sale contract or closing statement, or from your own records. Leave it blank if it was still in use at the end of the year. A building you sold, or started living in yourself, counts.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},"You gave up this rental during the year, so give the day this item went with it, from your sale contract or closing statement."]],"id":"income_sources.rentals.assets.disposed_on","includes_united_states":false,"kind":"date","label":"On which day did you sell it, or stop using it for the rental?","label_when":[],"off_ramp":{"body":"The part of a sale that was for your own use is reported differently from the business part, and a loss on it cannot be deducted, which we do not work out here.","code":"asset_sale_with_private_use","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of an item you also used privately","when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"}]}},"options":[],"placeholder":"2025-08-15","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_first_use":{"message_algorithm":"Check this date: it cannot fall before the day you started using it."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_first_use","not_before_tax_year","not_after_tax_year"]},{"binds":"rentals[].assets[].disposal_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The price on your sale contract or closing statement. Count any loan the buyer took over, or bought the property subject to, as part of the price. Enter zero if you stopped using it without selling it. Give the figure in United States dollars. If you were paid in another currency, convert it at the exchange rate on the day of the sale.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.disposal_proceeds","includes_united_states":false,"kind":"money","label":"How much did you receive for it?","label_when":[],"options":[],"placeholder":"150","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.depreciation.DepreciableAsset._check_conditional_requirements","required_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].assets[].disposal_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The selling costs on your closing statement or invoices. Those are costs such as the agent's commission, the legal fees and the transfer taxes you paid. Enter zero if there were none. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.disposal_expenses","includes_united_states":false,"kind":"money","label":"What did the sale cost you?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].assets[].disposal_land_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The building and the land under it are reported as two sales, so the price is split between them by what each was worth when you sold. Your closing statement or an appraisal may show it; otherwise the land's share of the property tax assessment is one way to judge it. Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.disposal_land_proceeds","includes_united_states":false,"kind":"money","label":"How much of the price you received was for the land?","label_when":[],"options":[],"placeholder":"40000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"gt","ref":"income_sources.rentals.assets.land_value","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"gt","ref":"income_sources.rentals.assets.land_value","value":0}]}},{"binds":"rentals[].assets[].form_1099s_gross_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of the Form 1099-S the closing agent sent you for this sale. Enter zero if no Form 1099-S came, which is usual for a sale outside the United States.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.form_1099s_gross_proceeds","includes_united_states":false,"kind":"money","label":"What gross proceeds did the Form 1099-S you received for the sale show?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]}]}},{"binds":"rentals[].assets[].disposal_to_related_party","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Related includes your spouse, a parent, grandparent or other ancestor, a child, grandchild or other descendant, and a brother or sister, half brothers and sisters included; a company in which you, directly or through those family members, own more than 10% of the value of the stock; a partnership in which you own more than 10% of the capital or profits; a trust you set up or benefit from; a tax-exempt charity or educational organization that you or your family control; and, generally, an estate you are a beneficiary of.","help_lines":["Publication 925 lists every case.","Your sale contract names the buyer."],"help_when":[],"id":"income_sources.rentals.assets.disposal_to_related_party","includes_united_states":false,"kind":"yesno","label":"Was the buyer related to you?","label_when":[],"off_ramp":{"body":"A sale to a relative, or to a company, partnership or trust tied to you that way, is taxed under rules we do not work out here.","code":"asset_sale_related_buyer","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale to someone related to you","when":{"op":"truthy","ref":"income_sources.rentals.assets.disposal_to_related_party"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"ne","ref":"income_sources.rentals.disposed_in_year","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"ne","ref":"income_sources.rentals.disposed_in_year","value":true}]}},{"binds":"rentals[].assets[].disposal_fully_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if you are being paid in installments over more than one year, or if part of the gain is put off, for example by exchanging it for another item. Your sale contract shows how you are paid.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.disposal_fully_taxable","includes_united_states":false,"kind":"yesno","label":"Are you taxed this year on all the gain or loss on the sale?","label_when":[],"off_ramp":{"body":"A sale paid in installments, or one whose gain is put off, is reported on a form we do not prepare here.","code":"asset_sale_over_years","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a sale paid over more than one year","when":{"op":"eq","ref":"income_sources.rentals.assets.disposal_fully_taxable","value":false}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"ne","ref":"income_sources.rentals.disposed_in_year","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},{"op":"ne","ref":"income_sources.rentals.disposed_in_year","value":true}]}},{"binds":"rentals[].assets[].disposed_part_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, two desks from a set you entered as one item. Answer no if all of it went.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.disposed_part_only","includes_united_states":false,"kind":"yesno","label":"Did you sell or give up only part of it?","label_when":[],"off_ramp":{"body":"When only part of an item goes, the gain or loss is worked out on that part's own share of the cost, which we do not work out here.","code":"asset_partly_sold","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the sale of part of an item","when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_part_only"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}},{"binds":"rentals[].assets[].acquired_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An inherited item's sale counts as held for more than a year however long you had it. Your purchase contract, the estate papers or the gift papers show it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.assets.acquired_by","includes_united_states":false,"kind":"choice","label":"How did you come to own it?","label_when":[],"options":[{"label":"I bought it.","value":"purchase"},{"label":"I inherited it.","value":"inheritance"},{"label":"It was a gift, or my spouse passed it to me.","value":"gift_or_spouse"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}}],"row_label":"Item","visible_when":{"op":"truthy","ref":"income_sources.rentals.has_assets"}},{"binds":"rentals[].mostly_land","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if less than 30% of what the property cost you is for buildings or other things that wear out. Your purchase contract or deeds show it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.mostly_land","includes_united_states":false,"kind":"yesno","label":"Is your rented property mostly land?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.rentals.property_type","value":"LAND"}]},{"op":"eq","ref":"income_sources.rentals.has_assets","value":false}]}},{"binds":"rentals[].personal_use_days_after_conversion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count each day you, family or friends used it on or after the day you first offered it for rent, from your diary and your rent record. Enter zero if nobody did.","help_lines":["Days you lived there before you first offered it for rent do not count here.","Its write-off starts in the month you first offered it for rent, so only your own days from then on reduce it."],"help_when":[],"id":"income_sources.rentals.personal_use_days_after_conversion","includes_united_states":false,"kind":"integer","label":"How many of your own days came after you first offered it for rent?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.depreciation.conversion_personal_days","required_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":0},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2018-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2019-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2020-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2021-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2022-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2023-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2024-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2025-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2026-01-01"}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":0},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2018-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2019-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2020-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2021-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2022-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2023-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2024-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2025-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2026-01-01"}]}]}]}]}]}},{"binds":"rentals[].property_used_in_trade_or_business","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Instructions for Form 4797 say the form reports the sale of \"Real property used in your trade or business\", while \"Generally, gain from the sale or exchange of depreciable property not used in a trade or business but held for investment or for use in a not-for-profit activity is capital gain\".","help_lines":["This answer is for the form that reports the sale.","If you claim the deduction for qualified business income, a separate question asks whether a rental of yours in the United States counts for it.","The Instructions for Form 8995 count a rental there by a test of their own, which also takes in a rental under the IRS safe harbor for rental real estate and one rented to a \"commonly controlled trade or business\", so the two answers can differ."],"help_when":[],"id":"income_sources.rentals.property_used_in_trade_or_business","includes_united_states":false,"kind":"yesno","label":"Was renting out this property a business for you, rather than an investment?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4797.compute_form_4797","required_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.disposed_in_year"},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]}},{"add_label":"Add a running cost","binds":"rentals[].expenses{}","help":"Add one row per kind of bill, from your own records.","id":"income_sources.rentals.expenses","kind":"repeat","label":"What did your property cost you to run?","min_rows":0,"nodes":[{"binds":"rentals[].expenses{}.key","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from your bill, such as repairs or insurance.","help_lines":[],"help_when":[],"id":"income_sources.rentals.expenses.key","includes_united_states":false,"kind":"text","label":"What do you call that cost?","label_when":[],"options":[],"placeholder":"Repairs","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"short_description_20":{"message":"Use ordinary letters, numbers and spaces in the label.","message_too_long":"Write the label in 20 characters or fewer, which is all the line on the form has room for: Property tax rather than Property tax (predial)."}},"validators":["short_description_20"]},{"binds":"rentals[].expenses{}.value","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly total from your own records.","help_lines":[],"help_when":[],"id":"income_sources.rentals.expenses.value","includes_united_states":false,"kind":"money","label":"How much did you pay for it during the year?","label_when":[],"options":[],"placeholder":"1500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"rentals[].expense_lines{}.value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each kind of cost goes on its own line of the form. Pick the closest one, or Something else if none of them fits.","help_lines":["Leave out income tax, here or abroad: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments and personal costs."],"help_when":[],"id":"income_sources.rentals.expenses.schedule_e_line","includes_united_states":false,"kind":"choice","label":"Which of these best describes what you paid for?","label_when":[],"off_ramp":{"body":"The cost of running a car or another vehicle for a rental needs a separate part of a form about the vehicle, which we do not prepare here.","code":"rental_vehicle_expenses","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the costs of a car used for a rental","when":{"op":"eq","ref":"income_sources.rentals.expenses.schedule_e_line","value":"vehicle"}},"options":[{"label":"Advertising, such as listing the property.","value":"advertising"},{"label":"Travel to look after the property, other than by car.","value":"travel"},{"label":"Running a car or another vehicle for the property.","value":"vehicle"},{"label":"Cleaning and upkeep.","value":"cleaning_and_maintenance"},{"label":"Commissions, such as a letting agent's fee.","value":"commissions"},{"label":"Insurance.","value":"insurance"},{"label":"Legal and other professional fees, such as an accountant.","value":"legal_and_professional_fees"},{"label":"Management fees.","value":"management_fees"},{"help":"Choose the next answer instead if the lender was not a bank or another financial institution, or did not send you a Form 1098.","label":"Mortgage interest paid to a bank or other lender that sent you a Form 1098.","value":"mortgage_interest_form_1098"},{"label":"Other mortgage interest, or other interest on money borrowed for the property.","value":"other_interest"},{"help":"A new roof, a new kitchen or an extension is an improvement, not a repair: add it to the property's list of what lasts more than a year instead.","label":"Repairs.","value":"repairs"},{"label":"Supplies.","value":"supplies"},{"help":"Property tax and other taxes on the rental property. Leave out income tax, here or abroad: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments and personal costs.","label":"Taxes, such as property tax.","value":"taxes"},{"label":"Utilities, such as electricity, water and heating.","value":"utilities"},{"help":"Anything that fits none of these. Leave out income tax, here or abroad: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments and personal costs.","label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].used_as_home_expense_kinds{}.value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your bills and your loan statement show what each cost was for.","help_lines":[],"help_when":[[{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":14},{"op":"truthy","ref":"income_sources.rentals.stayed_on_rented_days"}]},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2018-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2019-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2020-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2021-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2022-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2023-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2024-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2025-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2026-01-01"}]}]}]}]}]}]},"Because you also used the property yourself, its costs come off the rent in a set order when the rent does not cover them all."],[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2018-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2019-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2020-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2021-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2022-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2023-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2024-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2025-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2026-01-01"}]}]}]}]},"You started renting it out this year, so a cost of the renting alone counts in full, while a yearly cost counts for the rented part of the year."]],"id":"income_sources.rentals.expenses.used_as_home_kind","includes_united_states":false,"kind":"choice","label":"Which kind of cost did you pay?","label_when":[],"options":[{"label":"Mortgage interest on a loan to buy, build or improve the property.","value":"mortgage_interest"},{"label":"Property tax on the property.","value":"real_estate_taxes"},{"label":"A cost of the renting alone, such as an agent's fee or advertising.","value":"direct_rental"},{"label":"A running cost of the property, such as repairs, insurance or utilities.","value":"operating"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":14},{"op":"truthy","ref":"income_sources.rentals.stayed_on_rented_days"}]},{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":0},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.converted_from_personal_use"},{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2018-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2019-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2020-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2021-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2022-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2023-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2024-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2025-01-01"},{"op":"eq","ref":"income_sources.rentals.assets.placed_in_service_on","value":"2026-01-01"}]}]}]}]}]}]}},{"binds":"rentals[].rented_part_cost_shares{}.value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A cost of the whole property, such as its insurance, heating or mortgage interest, counts only for the share you rent out. A cost of the rented part alone, such as painting the room you let, counts in full. Your bill shows what it was for.","help_lines":[],"help_when":[],"id":"income_sources.rentals.expenses.rented_part_cost","includes_united_states":false,"kind":"choice","label":"Did you pay this for the rented part only, or the whole property?","label_when":[],"options":[{"label":"Only the part you rent out.","value":"rented_part_only"},{"label":"The whole property.","value":"whole_property"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.rents_only_part"}}],"row_label":"Running cost"},{"binds":"rentals[].vehicle_loan_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only the business-use portion.","help_lines":["If you use the vehicle for both business and personal purposes, allocate the vehicle loan interest between its business use and personal use, and enter only the business-use portion.","Enter zero if none of the other interest is on a vehicle loan.","For this tax year the form puts that portion on a line of its own."],"help_when":[],"id":"income_sources.rentals.vehicle_loan_interest","includes_united_states":false,"kind":"money","label":"How much of your property's other interest is on a vehicle loan?","label_when":[],"options":[],"placeholder":"150","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.vehicle_loan_interest.placement_problems","required_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.rentals.expenses","rules":[{"op":"eq","ref":"income_sources.rentals.expenses.schedule_e_line","value":"other_interest"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.rentals.expenses","rules":[{"op":"eq","ref":"income_sources.rentals.expenses.schedule_e_line","value":"other_interest"}]}]}},{"binds":"rentals[].used_as_home_carryover_operating","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 7a of last year's Worksheet 5-1, from the IRS guide to renting out residential property (Publication 527), for this property. Enter zero if there is none. The worksheet gives it in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.rentals.used_as_home_carryover_operating","includes_united_states":false,"kind":"money","label":"What running costs did your limit last year carry forward for this property?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.used_as_home_carryover_from_earlier_year"}},{"binds":"rentals[].used_as_home_carryover_depreciation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 7b of last year's Worksheet 5-1, from the same IRS guide, for this property. Enter zero if there is none. The worksheet gives it in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.rentals.used_as_home_carryover_depreciation","includes_united_states":false,"kind":"money","label":"What property write-off and damage losses did your limit last year carry forward?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.used_as_home_carryover_from_earlier_year"}},{"binds":"rentals[].materially_participated","clears":["income_sources.rentals.safe_harbor_hours"],"currency_pickable":false,"derived_from_presence":[],"help":"As a real estate professional, answer yes if you worked in it for more than 500 hours during the year, or met another of the tests for taking part. Your spouse's work on it counts too. Choose Not sure if you cannot tell yet: the return cannot be built until you answer this.","help_lines":["Your work was substantially all the work done on it, or over 100 hours and no one worked more."],"help_when":[],"id":"income_sources.rentals.materially_participated","includes_united_states":false,"kind":"yesno","label":"Did you take part in running this rental regularly, continuously and substantially?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.real_estate_professional"}},{"binds":"rentals[].safe_harbor_hours","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Yes if you worked in this rental for more than 500 hours this year, or in any 5 of the 10 years before. It decides whether its income counts as investment income for the net investment income tax. Choose Not sure if you cannot tell yet: if your income is high, the return cannot be built until you answer this.","help_lines":["If you treat all your rentals as one activity, count them together."],"help_when":[],"id":"income_sources.rentals.safe_harbor_hours","includes_united_states":false,"kind":"yesno","label":"Do you meet the 500 hours test for this rental?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.real_estate_professional"},{"op":"truthy","ref":"income_sources.rentals.materially_participated"}]}},{"binds":"rentals[].active_participation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Approving new tenants, deciding the rent and the other terms, and approving repairs or other spending all count, even when an agent handles the day to day for you. You also need to have owned at least a tenth of the property, counting your spouse's share. Choose Not sure if you cannot tell yet: if the rental makes a loss, how much of it comes off depends on this answer, and the return cannot be built until you give it.","help_lines":["This is a lower bar than working in the rental regularly and continuously: making those decisions is enough."],"help_when":[],"id":"income_sources.rentals.active_participation","includes_united_states":false,"kind":"yesno","label":"Did you make the management decisions for this rental yourself?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"rentals[].prior_year_unallowed_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VII, column (c), of last year's Form 8582, on the row for this property. Enter zero if no loss on it has ever been held back. The form gives it in United States dollars.","help_lines":["A loss that could not be deducted in an earlier year carries forward until it can be, or until you give up the rental."],"help_when":[],"id":"income_sources.rentals.prior_year_unallowed_loss","includes_united_states":false,"kind":"money","label":"How much of your earlier losses on this rental was carried into this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"rentals[].amt_prior_year_unallowed_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part VII, column (c), of last year's Form 8582 worked out for the alternative minimum tax, on the row for this property. If no depreciation on this rental was ever worked out again for that tax, it is the same amount as the carried-in loss you entered earlier for this rental.","help_lines":[],"help_when":[],"id":"income_sources.rentals.amt_prior_year_unallowed_loss","includes_united_states":false,"kind":"money","label":"What loss did you carry in for alternative minimum tax (a second tax)?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.rentals.has_assets"},{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.assets.asset_class","value":"land_improvement"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":16},{"op":"ne","ref":"income_sources.rentals.assets.section_1250_property","value":false}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"ne","ref":"income_sources.rentals.assets.early_first_year_allowance","value":"eligible"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.used_before_acquired"},{"op":"truthy","ref":"income_sources.rentals.assets.acquired_by_gift_inheritance_or_from_relative"}]}]}]}]}]}]}},{"binds":"rentals[].real_estate_professional_materially_participates","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records of your hours show it. It means working in it regularly, continuously and substantially, for example more than 500 hours in the year. Publication 925 sets out the seven tests. Choose Not sure if you cannot tell.","help_lines":[],"help_when":[],"id":"income_sources.rentals.real_estate_professional_materially_participates","includes_united_states":false,"kind":"yesno","label":"As a real estate professional, did you work in this rental regularly, continuously and substantially?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.real_estate_professional"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.rentals.assets.used_predominantly_outside_us","value":true},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.assets.asset_class","value":"land_improvement"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":16},{"op":"ne","ref":"income_sources.rentals.assets.section_1250_property","value":false}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"ne","ref":"income_sources.rentals.assets.early_first_year_allowance","value":"eligible"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":9}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.rentals.assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.rentals.assets.placed_in_service_on","value":8}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.used_before_acquired"},{"op":"truthy","ref":"income_sources.rentals.assets.acquired_by_gift_inheritance_or_from_relative"}]}]}]}]}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.materially_participated","value":false},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false}]},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"}]},{"op":"ne","ref":"income_sources.businesses.home_office.home_asset.used_predominantly_outside_us","value":true},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.businesses.depreciable_assets.used_predominantly_outside_us","value":true},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["residential_rental_building","nonresidential_building"]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":32}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":33}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":34}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":35}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":36}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":37}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":38}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":39}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":40}]}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.depreciable_assets.asset_class","value":"land_improvement"},{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":16},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.section_1250_property","value":false}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":20}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":21}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":22}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":23}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":24}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":25}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":26}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":27}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":28}]}]}]}]}]},{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"ne","ref":"income_sources.businesses.depreciable_assets.early_first_year_allowance","value":"eligible"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":10000},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":1}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":2}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":3}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":4}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":5}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":7}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"not","rules":[{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":9}]}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["computer","office_equipment","appliances_carpet_furniture_rental","vehicle","other_5_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":6}]},{"op":"and","rules":[{"op":"in","ref":"income_sources.businesses.depreciable_assets.asset_class","values":["furniture_fixtures","other_7_year"]},{"op":"age_lt","ref":"income_sources.businesses.depreciable_assets.placed_in_service_on","value":8}]}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.used_before_acquired"},{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.acquired_by_gift_inheritance_or_from_relative"}]}]}]}]}]}]}]}]}]}]}},{"binds":"rentals[].prior_loss_places.elsewhere","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582 shows it, if that part was filled in. Say no if the whole loss was on that schedule.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_loss_places.elsewhere","includes_united_states":false,"kind":"yesno","label":"Was any of your carried loss reported somewhere other than Schedule E last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0}},{"binds":"rentals[].prior_loss_places.form_4797_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_loss_places.form_4797_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.rentals.prior_loss_places.elsewhere"}]}},{"binds":"rentals[].prior_loss_places.form_4797_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 4797 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_loss_places.form_4797_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 4797, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.rentals.prior_loss_places.elsewhere"}]}},{"binds":"rentals[].prior_loss_places.form_8949_part_i","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 8949 Part I. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_loss_places.form_8949_part_i","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 8949, Part I?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.rentals.prior_loss_places.elsewhere"}]}},{"binds":"rentals[].prior_loss_places.form_8949_part_ii","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Part IX of last year's Form 8582, column (d), on the block for Form 8949 Part II. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_loss_places.form_8949_part_ii","includes_united_states":false,"kind":"money","label":"How much of your carried loss was on Form 8949, Part II?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.rentals.prior_loss_places.elsewhere"}]}},{"binds":"rentals[].prior_year_loss_active_participation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The same test as your answer about this year's management decisions, for the earlier years the held back loss comes from. Choose Not sure if you cannot tell yet: how much of that loss can come off depends on this answer, and the return cannot be built until you give it.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_year_loss_active_participation","includes_united_states":false,"kind":"yesno","label":"Did you also make the management decisions yourself in every year that loss arose?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.rentals.active_participation"}]}},{"binds":"rentals[].prior_year_loss_before_2018","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your own records or your earlier Forms 8582. A loss from before 2018 does not reduce your qualified business income. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_year_loss_before_2018","includes_united_states":false,"kind":"money","label":"How much of your carried loss arose before 2018?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.us_rental_qualified_trade_or_business"}]}},{"binds":"rentals[].prior_year_loss_counted_as_business","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It counts when it was a trade or business for the deduction for qualified business income in that year. Choose Not sure if you cannot tell yet: if part of that loss comes off this year, the return cannot be built until you answer this.","help_lines":[],"help_when":[],"id":"income_sources.rentals.prior_year_loss_counted_as_business","includes_united_states":false,"kind":"yesno","label":"Did you count it as a business each year since 2018 that loss arose?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"income_sources.rentals.prior_year_unallowed_loss","value":0},{"op":"truthy","ref":"income_sources.us_rental_qualified_trade_or_business"}]}},{"binds":"rentals[].nonrecourse_or_seller_financing","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a loan the lender can only recover by taking the property, a mortgage the seller gave you, or money protected against loss by a guarantee.","help_lines":["Answer no for a mortgage you owe personally, and for one from a bank or a government that is secured by the property, as your loan papers show.","Answer yes as well for a loan from a co-owner of the property, or from someone related to a co-owner.","Choose Not sure if you cannot tell yet: if the rental makes a loss (a loss when you sell it counts too), the return cannot be built until you answer this."],"help_when":[],"id":"income_sources.rentals.nonrecourse_or_seller_financing","includes_united_states":false,"kind":"yesno","label":"Was it seller-financed, or bought with a loan you are not personally responsible for?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"rentals[].at_risk.detailed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose. Part III is its longer way of working that out, as last year's return shows. Say no if you did not file the form for it last year, or used only Part II.","help_lines":["Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.detailed_last_year","includes_united_states":false,"kind":"yesno","label":"Did you fill in Part III of Form 6198 for this rental last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"}},{"binds":"rentals[].at_risk.adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Your basis is what you put in (cash and the cost of property, including loans used for it), less the depreciation and losses already taken. Do not take off what you still owe on those loans. Give it in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.adjusted_basis","includes_united_states":false,"kind":"money","label":"What was your basis in this rental on the first day of the year?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]}},{"binds":"rentals[].at_risk.prior_year_line_19b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 19b of last year's Form 6198 for this rental, in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.prior_year_line_19b","includes_united_states":false,"kind":"money","label":"What amount at risk did your Form 6198 last year show on line 19b?","label_when":[],"options":[],"placeholder":"15000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"}]}},{"binds":"rentals[].at_risk.prior_year_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 21 of last year's Form 6198 for this rental, without the parentheses. Enter zero if it was blank. It lowers the money at risk you start this year with.","help_lines":["Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.prior_year_line_21","includes_united_states":false,"kind":"money","label":"What deductible loss did your Form 6198 last year show on line 21?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"}]}},{"binds":"rentals[].at_risk.increases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you added during the year, from your own records. That means cash and the basis of property you put in, loans for it that you owe personally, and the value of your own property outside it that secures a loan for it. Do not count this year's profit. Enter zero if nothing was added.","help_lines":["Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.increases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this rental rise this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]}]}},{"binds":"rentals[].at_risk.decreases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you took out during the year, from your own records: cash and the basis of property you withdrew. Do not count this year's loss. Enter zero if nothing was taken out.","help_lines":["Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]},"Also count every loan included in your basis that you are not personally responsible for, such as one only the property secures or one from the seller. Also count money a guarantee protects."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"}]},"Do not count last year's deductible loss: you gave it on its own."]],"id":"income_sources.rentals.at_risk.decreases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this rental fall this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]}]}},{"binds":"rentals[].at_risk.losses_deducted_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The losses of this rental you took on returns for years after 1978, from your own records, in United States dollars. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.losses_deducted_earlier","includes_united_states":false,"kind":"money","label":"How much loss from this rental have you deducted on earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.rentals.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.rentals.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.rentals.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"rentals[].at_risk.recapture_added_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What earlier returns added to income because the money at risk fell below zero, from your own records. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.recapture_added_earlier","includes_united_states":false,"kind":"money","label":"How much of your losses came back as income on your earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.rentals.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.rentals.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.rentals.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"rentals[].at_risk.below_zero_at_end_of_1978","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter zero if this rental started later, or if it was not below zero then.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the rental makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.below_zero_at_end_of_1978","includes_united_states":false,"kind":"money","label":"How far below zero was your money at risk at the end of 1978?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.rentals.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.rentals.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.rentals.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.rentals.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.rentals.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"rentals[].at_risk.carried_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use last year's Form 6198 for this activity: the line 5 loss, without the parentheses, less line 21. Add what last year's return added back to income for it because the money at risk fell below zero. Give it in United States dollars. It comes off this year's figures first.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you give it."],"help_when":[],"id":"income_sources.rentals.at_risk.carried_loss","includes_united_states":false,"kind":"money","label":"How much did your Form 6198 last year carry forward for this rental?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.rentals.at_risk_loss_carried_from_earlier_year"}},{"binds":"rentals[].at_risk.carried_loss_from_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 6198 for this rental shows such a loss on line 2a or 2b, a loss on Form 8949, Schedule D or Form 4797.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you answer it."],"help_when":[],"id":"income_sources.rentals.at_risk.carried_loss_from_sale","includes_united_states":false,"kind":"yesno","label":"Did any of that carried loss come from selling property you used in it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.rentals.at_risk_loss_carried_from_earlier_year"}}],"row_label":"Property","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_rentals"}]}},{"binds":"rentals_one_activity_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As a real estate professional, each rental counts on its own unless you choose to treat them all as one. You make that choice with a statement attached to a return, and it lasts for later years.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you answer this."],"help_when":[],"id":"income_sources.rentals_one_activity_election","includes_united_states":false,"kind":"choice","label":"Do you treat all your rentals as one activity?","label_when":[],"options":[{"label":"No, each rental counts on its own.","value":"no"},{"label":"Yes, I made that choice on an earlier return.","value":"earlier"},{"label":"I want to make that choice on this return.","value":"this_year"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.real_estate_professional"},{"op":"or","rules":[{"op":"count_gt","ref":"income_sources.rentals","value":1},{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.rentals","value":0},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]},{"op":"and","rules":[{"op":"count_gt","ref":"income_sources.schedule_k1s","value":1},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_rental_real_estate_income","value":0},{"op":"eq","ref":"income_sources.schedule_k1s.prior_year_passive_loss_box","value":"2"}]}]}]}]}]}]}},{"binds":"schedule_e_form_1099_required","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example, fees you paid a contractor or a property manager in the United States that you report on Form 1099-NEC or Form 1099-MISC. Payments to people outside the United States are usually not reported on Form 1099. Schedule E line A asks this.","help_lines":[],"help_when":[],"id":"income_sources.schedule_e_form_1099_required","includes_united_states":false,"kind":"yesno","label":"Did your rentals or royalties make payments you had to report on Form 1099?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"truthy","ref":"income_sources.has_royalties"}]}]}},{"binds":"schedule_e_form_1099_filed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Schedule E line B asks this.","help_lines":[],"help_when":[],"id":"income_sources.schedule_e_form_1099_filed","includes_united_states":false,"kind":"yesno","label":"Have you filed, or will you file, every Form 1099 you had to?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_schedule_e_1099","required_when":{"op":"truthy","ref":"income_sources.schedule_e_form_1099_required"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"truthy","ref":"income_sources.has_royalties"}]},{"op":"truthy","ref":"income_sources.schedule_e_form_1099_required"}]}]}},{"binds":"prior_section_1231_losses_not_recaptured","clears":["income_sources.nonrecaptured_section_1231_losses"],"currency_pickable":false,"derived_from_presence":[],"help":"Look at Form 4797 of each of your returns for the five years before this one. A loss there means line 7 of the form showed a loss. Answer no if none of those returns had a Form 4797 with a loss on line 7, or if gains on later returns already made it up. While such a loss remains, part of this year's gain is taxed as ordinary income. It matters only when this year's sales of business and rental property come to an overall gain.","help_lines":[],"help_when":[],"id":"income_sources.prior_section_1231_losses_not_recaptured","includes_united_states":false,"kind":"yesno","label":"Did your last five returns show a loss on business or rental property sales not yet made up?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]}]}]}]}},{"binds":"nonrecaptured_section_1231_losses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The total of the net losses on line 7 of those returns' Form 4797, less any part already counted against a later year's gain (that year's Form 4797 line 8 and line 12 show it). Give the figure in United States dollars.","help_lines":[],"help_when":[],"id":"income_sources.nonrecaptured_section_1231_losses","includes_united_states":false,"kind":"money","label":"How much of those losses have your later gains not yet made up for?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_section_1231_losses","required_when":{"op":"truthy","ref":"income_sources.prior_section_1231_losses_not_recaptured"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"any_row","ref":"income_sources.rentals.assets","rules":[{"op":"truthy","ref":"income_sources.rentals.assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"any_row","ref":"income_sources.businesses.depreciable_assets","rules":[{"op":"truthy","ref":"income_sources.businesses.depreciable_assets.disposed_on"}]}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.main_home_sale"},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.disqualified","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.special_situation","value":true},{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":false},{"op":"eq","ref":"income_sources.capital_transactions.home_sale.other_special_situation","value":true}]}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_or_rental_use"}]},{"op":"truthy","ref":"income_sources.capital_transactions.home_sale.business_use_on_sale_date"}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.net_section_1231_gain","value":0}]}]}]}]},{"op":"truthy","ref":"income_sources.prior_section_1231_losses_not_recaptured"}]}]}},{"add_label":"Add a royalty","binds":"royalties[]","help":"Add one row per payer. Each one is reported on Schedule E as a royalty property.","id":"income_sources.royalties","kind":"repeat","label":"What royalties did you receive?","min_rows":1,"nodes":[{"binds":"royalties[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The payer's name on your Form 1099-MISC or statement, in up to thirty characters.","help_lines":[],"help_when":[],"id":"income_sources.royalties.payer","includes_united_states":false,"kind":"text","label":"Who paid you this royalty?","label_when":[],"options":[],"placeholder":"Northern Press","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_30":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_30"]},{"binds":"royalties[].from_own_trade_or_business","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if creating the work is your trade. A royalty from your own business is reported with that business rather than as a royalty.","help_lines":[],"help_when":[],"id":"income_sources.royalties.from_own_trade_or_business","includes_united_states":false,"kind":"yesno","label":"Is this royalty from your own business as a writer, inventor or artist?","label_when":[],"off_ramp":{"body":"A royalty you earn in your own business as a writer, an inventor or an artist is reported with that business, not here.","code":"royalty_from_own_trade","next_step":"Remove this row and add the royalty to the business you run yourself.","severity":"block","title":"A royalty from your own business goes with that business","when":{"op":"truthy","ref":"income_sources.royalties.from_own_trade_or_business"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"royalties[].source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement says where the payer is.","help_lines":[],"help_when":[],"id":"income_sources.royalties.source","includes_united_states":false,"kind":"choice","label":"Where was your royalty paid from?","label_when":[],"options":[{"label":"From inside the United States.","value":"US"},{"label":"From outside the United States.","value":"foreign"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"royalties[].source_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your statement.","help_lines":[],"help_when":[],"id":"income_sources.royalties.source_country","includes_united_states":false,"kind":"country","label":"Which country was your royalty paid from?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"GB","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.RoyaltyIncome._check_facts","required_when":{"op":"eq","ref":"income_sources.royalties.source","value":"foreign"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"eq","ref":"income_sources.royalties.source","value":"foreign"}},{"binds":"royalties[].royalties_received","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 2 of your Form 1099-MISC, or the yearly total on your statement. You can give it in the currency you were paid in.","help_lines":[],"help_when":[],"id":"income_sources.royalties.royalties_received","includes_united_states":false,"kind":"money","label":"How much did you receive in royalties during the year?","label_when":[],"options":[],"placeholder":"2000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"royalties[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form 1099-MISC. Enter zero if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.royalties.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal income tax was withheld from your royalty?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"royalties[].from_mineral_or_timber_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a royalty from a well or a mine on land you have an interest in, as your royalty statement shows. A royalty for a book, a song or a patent is not.","help_lines":[],"help_when":[],"id":"income_sources.royalties.from_mineral_or_timber_property","includes_united_states":false,"kind":"yesno","label":"Is your royalty paid for oil, gas, other minerals or timber?","label_when":[],"off_ramp":{"body":"A royalty from oil, gas, minerals or timber can carry a deduction for depletion, worked out by a method we do not prepare here.","code":"royalty_depletion","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare depletion on a royalty","when":{"op":"truthy","ref":"income_sources.royalties.from_mineral_or_timber_property"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add a cost","binds":"royalties[].expenses{}","help":"Add one row per kind of cost, from your own records. Leave it empty if there were none.","id":"income_sources.royalties.expenses","kind":"repeat","label":"What did earning this royalty cost you?","min_rows":0,"nodes":[{"binds":"royalties[].expenses{}.key","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words from your bill, such as legal fees.","help_lines":[],"help_when":[],"id":"income_sources.royalties.expenses.key","includes_united_states":false,"kind":"text","label":"What do you call that cost?","label_when":[],"options":[],"placeholder":"Legal fees","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"short_description_20":{"message":"Use ordinary letters, numbers and spaces in the label.","message_too_long":"Write the label in 20 characters or fewer, which is all the line on the form has room for: Property tax rather than Property tax (predial)."}},"validators":["short_description_20"]},{"binds":"royalties[].expenses{}.value","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly total from your own records.","help_lines":[],"help_when":[],"id":"income_sources.royalties.expenses.value","includes_united_states":false,"kind":"money","label":"How much did you pay for it during the year?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"royalties[].expense_lines{}.value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each kind of cost goes on its own line of the form. Pick the closest one, or Something else if none of them fits.","help_lines":[],"help_when":[],"id":"income_sources.royalties.expenses.schedule_e_line","includes_united_states":false,"kind":"choice","label":"Which of these best describes what you paid for?","label_when":[],"off_ramp":{"body":"The cost of running a car or another vehicle for a rental or a royalty needs a separate part of a form about the vehicle, which we do not prepare here.","code":"rental_vehicle_expenses","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the costs of a car used for a rental","when":{"op":"eq","ref":"income_sources.royalties.expenses.schedule_e_line","value":"vehicle"}},"options":[{"label":"Advertising, such as listing the property.","value":"advertising"},{"label":"Travel to look after the property, other than by car.","value":"travel"},{"label":"Running a car or another vehicle for the property.","value":"vehicle"},{"label":"Cleaning and upkeep.","value":"cleaning_and_maintenance"},{"label":"Commissions, such as a letting agent's fee.","value":"commissions"},{"label":"Insurance.","value":"insurance"},{"label":"Legal and other professional fees, such as an accountant.","value":"legal_and_professional_fees"},{"label":"Management fees.","value":"management_fees"},{"help":"Choose the next answer instead if the lender was not a bank or another financial institution, or did not send you a Form 1098.","label":"Mortgage interest paid to a bank or other lender that sent you a Form 1098.","value":"mortgage_interest_form_1098"},{"label":"Other mortgage interest, or other interest on money borrowed for the property.","value":"other_interest"},{"help":"A new roof, a new kitchen or an extension is an improvement, not a repair: add it to the property's list of what lasts more than a year instead.","label":"Repairs.","value":"repairs"},{"label":"Supplies.","value":"supplies"},{"help":"Property tax and other taxes on the rental property. Leave out income tax, here or abroad: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments and personal costs.","label":"Taxes, such as property tax.","value":"taxes"},{"label":"Utilities, such as electricity, water and heating.","value":"utilities"},{"help":"Anything that fits none of these. Leave out income tax, here or abroad: income tax paid abroad goes on the foreign tax page. Also leave out fines, gifts to charity, political payments and personal costs.","label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Cost"},{"binds":"royalties[].vehicle_loan_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only the business-use portion.","help_lines":["If you use the vehicle for both business and personal purposes, allocate the vehicle loan interest between its business use and personal use, and enter only the business-use portion.","Enter zero if none of the other interest is on a vehicle loan.","For this tax year the form puts that portion on a line of its own."],"help_when":[],"id":"income_sources.royalties.vehicle_loan_interest","includes_united_states":false,"kind":"money","label":"How much of your royalty's other interest is on a vehicle loan?","label_when":[],"options":[],"placeholder":"100","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.vehicle_loan_interest.placement_problems","required_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"eq","ref":"income_sources.royalties.expenses.schedule_e_line","value":"other_interest"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"eq","ref":"income_sources.royalties.expenses.schedule_e_line","value":"other_interest"}]}]}},{"binds":"royalties[].nonrecourse_or_seller_financing","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a loan the lender can only recover from the royalty itself, or money a guarantee protects. Answer no if you owe every loan yourself or paid nothing for it. Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you answer this.","help_lines":[],"help_when":[],"id":"income_sources.royalties.nonrecourse_or_seller_financing","includes_united_states":false,"kind":"yesno","label":"Did protected money, or a loan you are not liable for, fund this royalty?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"royalties[].at_risk.detailed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose. Part III is its longer way of working that out, as last year's return shows. Say no if you did not file the form for it last year, or used only Part II.","help_lines":["Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.detailed_last_year","includes_united_states":false,"kind":"yesno","label":"Did you fill in Part III of Form 6198 for this royalty last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"}},{"binds":"royalties[].at_risk.adjusted_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Your basis is what you put in (cash and the cost of property, including loans used for it), less the depreciation and losses already taken. Do not take off what you still owe on those loans. Give it in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.adjusted_basis","includes_united_states":false,"kind":"money","label":"What was your basis in this royalty on the first day of the year?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]}},{"binds":"royalties[].at_risk.prior_year_line_19b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 19b of last year's Form 6198 for this royalty, in United States dollars.","help_lines":["Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.prior_year_line_19b","includes_united_states":false,"kind":"money","label":"What amount at risk did your Form 6198 last year show on line 19b?","label_when":[],"options":[],"placeholder":"15000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"}]}},{"binds":"royalties[].at_risk.prior_year_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 21 of last year's Form 6198 for this royalty, without the parentheses. Enter zero if it was blank. It lowers the money at risk you start this year with.","help_lines":["Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.prior_year_line_21","includes_united_states":false,"kind":"money","label":"What deductible loss did your Form 6198 last year show on line 21?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"}]}},{"binds":"royalties[].at_risk.increases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you added during the year, from your own records. That means cash and the basis of property you put in, loans for it that you owe personally, and the value of your own property outside it that secures a loan for it. Do not count this year's profit. Enter zero if nothing was added.","help_lines":["Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.increases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this royalty rise this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]}]}},{"binds":"royalties[].at_risk.decreases","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you took out during the year, from your own records: cash and the basis of property you withdrew. Do not count this year's loss. Enter zero if nothing was taken out.","help_lines":["Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]},"Also count every loan included in your basis that you are not personally responsible for, such as one only the property secures or one from the seller. Also count money a guarantee protects."],[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"}]},"Do not count last year's deductible loss: you gave it on its own."]],"id":"income_sources.royalties.at_risk.decreases","includes_united_states":false,"kind":"money","label":"How much did your money at risk in this royalty fall this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]}]}},{"binds":"royalties[].at_risk.losses_deducted_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The losses of this royalty you took on returns for years after 1978, from your own records, in United States dollars. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.losses_deducted_earlier","includes_united_states":false,"kind":"money","label":"How much loss from this royalty have you deducted on earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.royalties.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.royalties.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.royalties.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"royalties[].at_risk.recapture_added_earlier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"What earlier returns added to income because the money at risk fell below zero, from your own records. Enter zero if none.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.recapture_added_earlier","includes_united_states":false,"kind":"money","label":"How much of your losses came back as income on your earlier returns?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.royalties.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.royalties.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.royalties.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"royalties[].at_risk.below_zero_at_end_of_1978","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter zero if this royalty started later, or if it was not below zero then.","help_lines":["If your money at risk falls below zero, part of your earlier losses comes back as income, and this decides how much. Choose Not sure if you cannot tell yet: if the royalty makes a loss, the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.below_zero_at_end_of_1978","includes_united_states":false,"kind":"money","label":"How far below zero was your money at risk at the end of 1978?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"eq","ref":"income_sources.royalties.at_risk.detailed_last_year","value":false}]},{"op":"gt","ref":"income_sources.royalties.at_risk.decreases","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.royalties.nonrecourse_or_seller_financing"},{"op":"truthy","ref":"income_sources.royalties.at_risk.detailed_last_year"}]},{"op":"or","rules":[{"op":"gt","ref":"income_sources.royalties.at_risk.decreases","value":0},{"op":"gt","ref":"income_sources.royalties.at_risk.prior_year_line_21","value":0}]}]}]}},{"binds":"royalties[].at_risk_loss_carried_from_earlier_year","clears":["income_sources.royalties.at_risk.carried_loss","income_sources.royalties.at_risk.carried_loss_from_sale"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 6198 limits a loss to the money you could actually lose, and adds earlier losses back to income when that money falls below zero. Last year's return shows either. Both come off this year's figures.","help_lines":[],"help_when":[],"id":"income_sources.royalties.at_risk_loss_carried_from_earlier_year","includes_united_states":false,"kind":"yesno","label":"Did your last Form 6198 carry this royalty's loss forward or add losses back?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"royalties[].at_risk.carried_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use last year's Form 6198 for this activity: the line 5 loss, without the parentheses, less line 21. Add what last year's return added back to income for it because the money at risk fell below zero. Give it in United States dollars. It comes off this year's figures first.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you give it."],"help_when":[],"id":"income_sources.royalties.at_risk.carried_loss","includes_united_states":false,"kind":"money","label":"How much did your Form 6198 last year carry forward for this royalty?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"income_sources.royalties.at_risk_loss_carried_from_earlier_year"}},{"binds":"royalties[].at_risk.carried_loss_from_sale","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 6198 for this royalty shows such a loss on line 2a or 2b, a loss on Form 8949, Schedule D or Form 4797.","help_lines":["Choose Not sure if you cannot tell yet: the return cannot be built until you answer it."],"help_when":[],"id":"income_sources.royalties.at_risk.carried_loss_from_sale","includes_united_states":false,"kind":"yesno","label":"Did any of that carried loss come from selling property you used in it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.royalties.at_risk_loss_carried_from_earlier_year"}},{"binds":"royalties[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.royalties.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}}],"row_label":"Royalty","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_royalties"}]}},{"add_label":"Add unemployment pay","binds":"unemployment[]","help":"Add one row per Form 1099-G, or per program abroad that paid you.","id":"income_sources.unemployment","kind":"repeat","label":"What unemployment pay did you receive?","min_rows":1,"nodes":[{"binds":"unemployment[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.owner","includes_united_states":false,"kind":"choice","label":"Is this unemployment pay yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"unemployment[].has_form_1099g","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A state or another United States government office sends a Form 1099-G for the unemployment pay it paid you, or puts it on its website. Pay from a program abroad comes with no Form 1099-G.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.has_form_1099g","includes_united_states":false,"kind":"yesno","label":"Did you receive a Form 1099-G for this unemployment pay?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"unemployment[].payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The payer's name at the top left of your Form 1099-G.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.payer","includes_united_states":false,"kind":"text","label":"Who paid you?","label_when":[],"options":[],"placeholder":"State Department of Labor","prefills":[],"refusal":"payer name","required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"],"visible_when":{"op":"truthy","ref":"income_sources.unemployment.has_form_1099g"}},{"binds":"unemployment[].government_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a national or local unemployment insurance office abroad. Answer no if your former employer or a private plan paid it.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.government_plan","includes_united_states":false,"kind":"yesno","label":"Did a government program pay you this unemployment pay?","label_when":[],"off_ramp":{"body":"Pay from a plan that is not run by a government is not unemployment pay on this return. If your employer or a plan tied to your former job paid it, it may belong with your pay instead: add it there if your payer's statement treats it as wages.","code":"unemployment_not_government_plan","next_step":"Remove this row, and add the money with your pay if it belongs there.","severity":"block","title":"We report only unemployment pay from a government program","when":{"op":"eq","ref":"income_sources.unemployment.government_plan","value":false}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.UnemploymentCompensation._check_facts","required_when":{"op":"eq","ref":"income_sources.unemployment.has_form_1099g","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.unemployment.has_form_1099g","value":false}},{"binds":"unemployment[].source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement from the program that paid you says where it is.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.source","includes_united_states":false,"kind":"choice","label":"Where was your unemployment pay paid from?","label_when":[],"options":[{"label":"From inside the United States.","value":"US"},{"label":"From outside the United States.","value":"foreign"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.unemployment.has_form_1099g","value":false}},{"binds":"unemployment[].source_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on the statement from the program that paid you.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.source_country","includes_united_states":false,"kind":"country","label":"Which country paid you this unemployment pay?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.UnemploymentCompensation._check_facts","required_when":{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"}},{"binds":"unemployment[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 1 of your Form 1099-G. For pay from abroad, add up the year's payments from the program's statement; you can give them in the currency they were paid in.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.amount","includes_united_states":false,"kind":"money","label":"How much unemployment pay did you receive during the year?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"unemployment[].repaid_in_year","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your Form 1099-G or the program's letter shows what you repaid. Only pay you received this year and repaid this year comes off. Enter zero if you repaid none; pay from an earlier year that you repaid is asked about separately.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.repaid_in_year","includes_united_states":false,"kind":"money","label":"How much of this year's unemployment pay did you pay back during the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"unemployment[].federal_income_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of your Form 1099-G. Enter zero if the box is empty.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.federal_income_tax_withheld","includes_united_states":false,"kind":"money","label":"How much federal income tax was withheld from your unemployment pay?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.unemployment.has_form_1099g"}},{"binds":"unemployment[].contributed_to_government_program","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some programs take a contribution from your pay. Your pay slips or the program's statement show it. Answer no if you paid nothing into it.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.contributed_to_government_program","includes_united_states":false,"kind":"yesno","label":"Did you pay contributions into this government unemployment program yourself?","label_when":[],"off_ramp":{"body":"What you paid into a government unemployment program can reduce the pay you report, in a way that depends on whether you itemize your deductions, and we do not work that out here.","code":"unemployment_contributions","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not take your own contributions off your unemployment pay","when":{"op":"truthy","ref":"income_sources.unemployment.contributed_to_government_program"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"unemployment[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.unemployment.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}}],"row_label":"Unemployment pay","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_unemployment"}]}},{"binds":"unemployment_repaid_from_earlier_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pay you received in an earlier year, reported on that year's return, and repaid this year, in United States dollars. The program's letter or your Form 1099-G shows it. Enter zero if you repaid none.","help_lines":[],"help_when":[],"id":"income_sources.unemployment_repaid_from_earlier_years","includes_united_states":false,"kind":"money","label":"How much earlier-year unemployment pay did you pay back this year?","label_when":[],"off_ramp":{"body":"Paying back more than {context.prior_year_unemployment_repayment_limit} of unemployment pay from an earlier year is reported under rules we do not work out here.","code":"prior_year_unemployment_repayment","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a large repayment of earlier unemployment pay","when":{"op":"gt","ref":"income_sources.unemployment_repaid_from_earlier_years","value_ref":"context.prior_year_unemployment_repayment_limit"}},"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"income_sources.has_prior_year_unemployment_repayment"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_unemployment"},{"op":"truthy","ref":"income_sources.has_prior_year_unemployment_repayment"}]}]}},{"add_label":"Add other income","binds":"other_income[]","help":"Add one row per kind of income.","id":"income_sources.other_income","kind":"repeat","label":"What other income did you receive?","min_rows":1,"nodes":[{"binds":"other_income[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"income_sources.other_income.owner","includes_united_states":false,"kind":"choice","label":"Is this income yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"other_income[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each kind goes on its own line of Schedule 1. Pay, business income, interest, dividends and everything else another question on this page asks about do not belong here. Choose the last one if none of the others fits.","help_lines":["What you got for furniture and other things sold with your home that were not a permanent part of it belongs here: choose the last one and say what you sold."],"help_when":[],"id":"income_sources.other_income.kind","includes_united_states":false,"kind":"choice","label":"Which of these describes your income?","label_when":[],"off_ramp":{"body":"That income is worked out on a form we do not prepare here, so a return with it cannot be filed from here.","code":"other_income_kind_not_supported","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare that kind of income","when":{"op":"in","ref":"income_sources.other_income.kind","values":["8a","8e","8f","8m","8n","8o","8p","8q","8s","8t"]}},"options":[{"label":"A net operating loss carried from an earlier year.","value":"8a"},{"label":"Gambling winnings, such as a lottery, a raffle or a casino win.","value":"8b"},{"label":"A debt that was canceled, as box 2 of a Form 1099-C shows.","value":"8c"},{"label":"A payment from an Archer or Medicare Advantage medical savings account.","value":"8e"},{"label":"A taxable payment from a health savings account.","value":"8f"},{"label":"An Alaska Permanent Fund dividend.","value":"8g"},{"label":"Pay for jury duty.","value":"8h"},{"label":"A prize or an award.","value":"8i"},{"label":"Income from an activity you do not run to make a profit, such as a hobby.","value":"8j"},{"label":"Income from exercising stock options that is not already in your pay.","value":"8k"},{"label":"Rent for personal property, such as equipment, when renting it is not your business.","value":"8l"},{"label":"An Olympic or Paralympic medal or prize money.","value":"8m"},{"label":"A section 951(a) inclusion from a controlled foreign corporation.","value":"8n"},{"label":"A section 951A(a) inclusion from a controlled foreign corporation.","value":"8o"},{"label":"An excess business loss adjustment.","value":"8p"},{"label":"A taxable payment from an ABLE account.","value":"8q"},{"label":"A scholarship or fellowship grant not on a Form W-2.","value":"8r"},{"label":"A Medicaid waiver payment that is not taxed.","value":"8s"},{"label":"A pension from a nonqualified deferred compensation plan.","value":"8t"},{"label":"Wages earned while incarcerated.","value":"8u"},{"label":"Digital assets received as ordinary income, for example from staking or mining.","value":"8v"},{"label":"Another kind of taxable income, which you describe.","value":"8z"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"other_income[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words the IRS will read on your return, such as reemployment trade adjustment assistance, in up to fifty characters.","help_lines":[],"help_when":[],"id":"income_sources.other_income.description","includes_united_states":false,"kind":"text","label":"What kind of income did you receive?","label_when":[],"options":[],"placeholder":"Reemployment trade adjustment assistance","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8z"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_50":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_50"],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8z"}},{"binds":"other_income[].nature","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Choose the closest one. If none of them fits, choose the last.","help_lines":[],"help_when":[],"id":"income_sources.other_income.nature","includes_united_states":false,"kind":"choice","label":"What kind of money did you get?","label_when":[],"off_ramp":{"body":"The part of a 529, Coverdell or ABLE payout that is taxed, the extra tax on it, and a recaptured gift deduction are worked out under rules we do not prepare here.","code":"other_income_account_payout","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the tax on that money","when":{"op":"eq","ref":"income_sources.other_income.nature","value":"account_payout"}},"options":[{"label":"A refund or repayment of something I deducted in an earlier year","value":"earlier_year_deduction"},{"label":"Dividends on an insurance policy","value":"insurance_dividends"},{"label":"Money from a 529 plan, a Coverdell or ABLE account, or a gift deduction taken back","value":"account_payout"},{"label":"Something else","value":"something_else"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8z"}},{"binds":"other_income[].earlier_year_itemized","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you itemized that year, and no if you took the standard amount. A refund of something you never deducted is not income.","help_lines":[],"help_when":[],"id":"income_sources.other_income.earlier_year_itemized","includes_united_states":false,"kind":"yesno","label":"Did you list your deductions one by one on that earlier return?","label_when":[],"off_ramp":{"body":"If you took the standard amount that year, the money is not income and this entry should come out. If you listed your deductions, how much of it is income depends on how much they saved you, and we do not work that out here.","code":"other_income_earlier_year_recovery","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a refund of an earlier deduction","when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.other_income.earlier_year_itemized"},{"op":"eq","ref":"income_sources.other_income.earlier_year_itemized","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.nature","value":"earlier_year_deduction"}},{"binds":"other_income[].insurance_dividends_exceed_premiums","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only the part above the total premiums you paid for the policy is income. If they do, enter that part as the amount below.","help_lines":[],"help_when":[],"id":"income_sources.other_income.insurance_dividends_exceed_premiums","includes_united_states":false,"kind":"yesno","label":"Have the dividends you got so far come to more than all your premiums?","label_when":[],"off_ramp":{"body":"Dividends on an insurance policy are income only once they pass the total premiums you paid, so this entry should come out.","code":"other_income_not_reportable","next_step":"Save your answers. Take the entry out, and your return can go ahead.","severity":"block","title":"That money is not income yet","when":{"op":"eq","ref":"income_sources.other_income.insurance_dividends_exceed_premiums","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.nature","value":"insurance_dividends"}},{"binds":"other_income[].gambling_losses_to_deduct","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Losses are deducted separately from the winnings, on a schedule we do not prepare. Answer no to report the winnings without them.","help_lines":[],"help_when":[],"id":"income_sources.other_income.gambling_losses_to_deduct","includes_united_states":false,"kind":"yesno","label":"Do you have gambling losses to deduct?","label_when":[],"off_ramp":{"body":"Gambling losses come off on a schedule of their own, which we do not prepare here.","code":"gambling_losses","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the deduction for gambling losses","when":{"op":"truthy","ref":"income_sources.other_income.gambling_losses_to_deduct"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8b"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8b"}},{"binds":"other_income[].jury_pay_given_to_employer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some employers keep paying you during jury service and ask you to give them the court's pay. Answer no if you kept it.","help_lines":[],"help_when":[],"id":"income_sources.other_income.jury_pay_given_to_employer","includes_united_states":false,"kind":"yesno","label":"Did you hand the jury duty pay over to your employer?","label_when":[],"off_ramp":{"body":"Jury pay you gave to your employer comes off on a line we do not prepare here.","code":"jury_pay_given_to_employer","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the deduction for jury pay you handed over","when":{"op":"truthy","ref":"income_sources.other_income.jury_pay_given_to_employer"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8h"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8h"}},{"binds":"other_income[].gambling_tax_withheld","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of a Form W-2G shows tax the payer withheld. Answer no if there was no Form W-2G or its box 4 is empty.","help_lines":[],"help_when":[],"id":"income_sources.other_income.gambling_tax_withheld","includes_united_states":false,"kind":"yesno","label":"Was federal tax withheld from your winnings on a Form W-2G?","label_when":[],"off_ramp":{"body":"Tax withheld on a Form W-2G counts toward what you have paid and the form goes with the return, which we do not prepare here.","code":"gambling_tax_withheld","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare tax withheld on gambling winnings","when":{"op":"truthy","ref":"income_sources.other_income.gambling_tax_withheld"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8b"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8b"}},{"binds":"other_income[].canceled_debt_partly_excluded","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some canceled debt is not taxed: a debt canceled as a gift or inheritance, some student loans, a debt whose payment would have been a deductible business expense, a lower price from the seller of what you bought, debt canceled in a bankruptcy case or while you were insolvent (owed more than you owned), and some farm, business property and main home loans. IRS Publication 4681 explains each. Answer no if all of it is taxed.","help_lines":[],"help_when":[],"id":"income_sources.other_income.canceled_debt_partly_excluded","includes_united_states":false,"kind":"yesno","label":"Is any part of your canceled debt not taxed?","label_when":[],"off_ramp":{"body":"When part of a canceled debt is not taxed, the taxed part is worked out under rules we do not prepare here.","code":"canceled_debt_partly_excluded","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out which part of a canceled debt is taxed","when":{"op":"truthy","ref":"income_sources.other_income.canceled_debt_partly_excluded"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8c"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8c"}},{"binds":"other_income[].degree_candidate_tuition_included","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If you were studying for a degree, only the part of the grant used for other costs, such as room, board and travel, is reported here. Your grant letter says what it paid for. Answer no if none of it paid tuition or course costs.","help_lines":[],"help_when":[],"id":"income_sources.other_income.degree_candidate_tuition_included","includes_united_states":false,"kind":"yesno","label":"Did your grant pay tuition or course costs while you studied for a degree?","label_when":[],"off_ramp":{"body":"Only the part of a degree candidate's grant used for costs other than tuition and course costs is reported, and we do not split it here.","code":"degree_candidate_tuition_included","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not split a grant that paid tuition","when":{"op":"truthy","ref":"income_sources.other_income.degree_candidate_tuition_included"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8r"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8r"}},{"binds":"other_income[].rental_expenses_to_deduct","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example repairs or the wear on what you rented. Answer no to report the rent without costs.","help_lines":[],"help_when":[],"id":"income_sources.other_income.rental_expenses_to_deduct","includes_united_states":false,"kind":"yesno","label":"Did renting it out cost you anything that you are deducting?","label_when":[],"off_ramp":{"body":"The costs of renting out personal property come off on a line we do not prepare here.","code":"personal_property_rental_expenses","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the costs of renting out personal property","when":{"op":"truthy","ref":"income_sources.other_income.rental_expenses_to_deduct"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8l"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"income_sources.other_income.kind","value":"8l"}},{"binds":"other_income[].option_work_done_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Think of the years from when the option was granted to when you could first use it. Answer no if you lived in the United States for all of them.","help_lines":[],"help_when":[],"id":"income_sources.other_income.option_work_done_abroad","includes_united_states":false,"kind":"yesno","label":"Did you do any of the work this option rewards while living abroad?","label_when":[],"off_ramp":{"body":"Part of the income may count as pay earned abroad, split over the years from when the option was granted, under rules we do not prepare here.","code":"stock_option_income_not_placed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not split stock option income earned abroad","when":{"op":"truthy","ref":"income_sources.other_income.option_work_done_abroad"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.pay_content_refusals","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.other_income.kind","value":"8k"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"eq","ref":"income_sources.other_income.kind","value":"8k"}]}},{"binds":"other_income[].source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The statement or your own records say where the payer is.","help_lines":[],"help_when":[],"id":"income_sources.other_income.source","includes_united_states":false,"kind":"choice","label":"Where did your income come from?","label_when":[],"options":[{"label":"From inside the United States.","value":"US"},{"label":"From outside the United States.","value":"foreign"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"other_income[].source_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your statement.","help_lines":[],"help_when":[],"id":"income_sources.other_income.source_country","includes_united_states":false,"kind":"country","label":"Which country did your income come from?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.income.OtherIncomeItem._check_facts","required_when":{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"}},{"binds":"other_income[].amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly total from the statement or your own records. You can give it in the currency you were paid in.","help_lines":[],"help_when":[],"id":"income_sources.other_income.amount","includes_united_states":false,"kind":"money","label":"How much did you receive during the year?","label_when":[],"options":[],"placeholder":"500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"other_income[].community_property_share_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deeds, account papers or marriage records show who owns it. Under community property rules, what you own together gives each of you half of its income, and what is yours alone, for example something you owned before the marriage, were given or inherited, gives all of it to you. Enter 0 if it is yours alone and 100 if you own all of it together. We report your part.","help_lines":[],"help_when":[],"id":"income_sources.other_income.community_property_share_percent","includes_united_states":false,"kind":"integer","label":"What percent of what produced this income do you and your spouse own together?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"whole_percent":{"message_bounds":"Enter the percentage as a whole number from 0 to 100."}},"validators":["whole_percent"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]}]}]}}],"row_label":"Other income","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_other_income"}]}},{"binds":"spouse_had_earned_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count wages, salary, fees and profit from a business your spouse ran, from their payslips or their own return. It decides which community property rules divide what you own together.","help_lines":["Choose Not sure if you do not know."],"help_when":[],"id":"income_sources.spouse_had_earned_income","includes_united_states":false,"kind":"yesno","label":"Did your spouse earn pay or business income during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.community_property_domicile"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]}]}]},{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"lived_apart"}]},{"op":"truthy","ref":"household.hoh_lived_apart_entire_year"}]}]},{"op":"eq","ref":"household.community_earned_income_transferred","value":false}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_wages"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"}]},{"op":"or","rules":[{"op":"truthy","ref":"household.spouse_community_income_in_own_name"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"gt","ref":"income_sources.passive_income.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"gt","ref":"income_sources.capital_transactions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"gt","ref":"income_sources.pensions_and_annuities.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"gt","ref":"income_sources.royalties.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"gt","ref":"income_sources.unemployment.community_property_share_percent","value":0}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"gt","ref":"income_sources.other_income.community_property_share_percent","value":0}]}]}]}]}},{"binds":"digital_asset_activity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Choose the closest one. A sale or swap is entered as a sale on the income page, and rewards or staking as other income there.","help_lines":[],"help_when":[],"id":"income_sources.digital_asset_activity","includes_united_states":false,"kind":"choice","label":"What happened with your digital assets?","label_when":[],"off_ramp":{"body":"A sale, or income from rewards or staking, has to be on your return. Add it on the income page, as a sale or as other income, and this clears.","code":"digital_asset_activity_missing","next_step":"Save your answers. Add the entry on the income page.","severity":"review","title":"Add what you sold or received","when":{"op":"in","ref":"income_sources.digital_asset_activity","values":["sold_or_swapped","rewards_or_staking"]}},"options":[{"label":"I sold or swapped some","value":"sold_or_swapped"},{"label":"I got some as a reward, or from staking or mining","value":"rewards_or_staking"},{"label":"I was paid in them for work","value":"paid_in_them"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"about_you.digital_assets_received_or_disposed"},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.capital_transactions.asset_kind","value":"digital"},{"op":"eq","ref":"income_sources.capital_transactions.source_form","value":"1099-DA"}]}]}]},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.kind","value":"8v"}]}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Forms 1099-G name the year each refund was for. Say yes too for a refund an amended return changed. Answer no if you received one refund for one year. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"income_sources.complex_state_refund","includes_united_states":false,"kind":"yesno","label":"Did you have state or local tax refunds for more than one earlier year, or one an amended return changed?","label_when":[],"off_ramp":{"body":"We work out how much of one refund for one year counts as income, and more than one year at a time is not something we do here.","code":"complex_state_refund","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out more than one state refund","when":{"op":"truthy","ref":"income_sources.complex_state_refund"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"exclusions.complex_state_refund","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_state_refund"}]}},{"binds":"prior_year_state_refund.refund_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of your Form 1099-G, or the credit on your bank statement.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.refund_amount","includes_united_states":false,"kind":"money","label":"How much income tax did a state or local office refund you?","label_when":[],"options":[],"placeholder":"3110","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_state_refund"}]}},{"binds":"prior_year_state_refund.refund_for_tax_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 3 of your Form 1099-G.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.refund_for_tax_year","includes_united_states":false,"kind":"integer","label":"Which tax year was your refund for?","label_when":[],"options":[],"placeholder":"2024","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit year your refund was for, for example 2024."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_state_refund"}]}},{"binds":"prior_year_state_refund.itemized_in_refund_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Look for a Schedule A attached to that year's return. If there is none, you took the flat amount and none of the refund counts as income now.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.itemized_in_refund_year","includes_united_states":false,"kind":"yesno","label":"Did you list your deductions one by one on that year's return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"truthy","ref":"income_sources.has_state_refund"}]}},{"binds":"prior_year_state_refund.deducted_income_tax","clears":["income_sources.prior_year_state_refund.prior_year_state_local_income_tax_deducted","income_sources.prior_year_state_refund.prior_year_itemized_total","income_sources.prior_year_state_refund.separate_spouse_itemized","income_sources.prior_year_state_refund.prior_year_standard_deduction","income_sources.prior_year_state_refund.prior_year_salt_capped_out_amount","income_sources.prior_year_state_refund.prior_year_zero_tax_from_capital_gain_rate","income_sources.prior_year_state_refund.other_pub_525_exception"],"currency_pickable":false,"derived_from_presence":[],"help":"Line 5a of that year's Schedule A carries either state and local income tax or general sales tax, never both, and there is a box beside line 5a that is checked when general sales tax was taken instead. Answer no if that box is checked, and none of the refund counts as income now.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.deducted_income_tax","includes_united_states":false,"kind":"yesno","label":"On that year's Schedule A, did you deduct state and local income tax rather than general sales tax?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.itemized_in_refund_year"}]}]}},{"binds":"prior_year_state_refund.separate_spouse_itemized","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes only if you filed separately that year and your spouse attached a Schedule A to theirs. Answer no if you filed a joint return, or your spouse took the flat amount or filed no return. A yes means we do not need the flat amount for that year.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.separate_spouse_itemized","includes_united_states":false,"kind":"yesno","label":"Did your spouse list deductions one by one on a separate return that year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}]}},{"binds":"prior_year_state_refund.prior_year_state_local_income_tax_deducted","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 5a of the Schedule A attached to that year's return. Choose Not sure if you cannot find last year's return: the part of your refund that counts as income then cannot be worked out, so the return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.prior_year_state_local_income_tax_deducted","includes_united_states":false,"kind":"money","label":"How much state and local income tax did you deduct on that year's return?","label_when":[],"options":[],"placeholder":"3110","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"}]}]}},{"binds":"prior_year_state_refund.prior_year_itemized_total","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of the Schedule A attached to that year's return. Choose Not sure if you cannot find it: the part of your refund that counts as income then cannot be worked out, so the return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.prior_year_itemized_total","includes_united_states":false,"kind":"money","label":"What did your listed deductions add up to that year?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"}]}]}},{"binds":"prior_year_state_refund.prior_year_standard_deduction","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The line of that year's Form 1040 headed Standard deduction or itemized deductions shows what you took. We need the flat amount you could have taken instead: the amount printed for your filing status that year, plus the extra amount for each box checked for age 65 or older or blind (yours, and your spouse's if you filed jointly). It is not the amount you took, which was your listed deductions. If you filed a separate return that year and your spouse listed deductions on theirs, enter 0. Choose Not sure if you cannot find it: the part of your refund that counts as income then cannot be worked out, so the return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.prior_year_standard_deduction","includes_united_states":false,"kind":"money","label":"What flat amount could you have taken instead that year?","label_when":[],"options":[],"placeholder":"14600","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"},{"op":"or","rules":[{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"eq","ref":"income_sources.prior_year_state_refund.separate_spouse_itemized","value":false}]}]}]}},{"binds":"prior_year_state_refund.prior_year_salt_capped_out_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 5d minus line 5e of that year's Schedule A. Enter 0 if the cap did not cut anything. Choose Not sure if you cannot find the two lines: the part of your refund that counts as income then cannot be worked out, so the return cannot be filed from here.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.prior_year_salt_capped_out_amount","includes_united_states":false,"kind":"money","label":"What did the cap cut from your state and local tax deduction that year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"}]}]}},{"binds":"prior_year_state_refund.prior_year_zero_tax_from_capital_gain_rate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That year's return: taxable income above zero on line 15, zero tax on line 16. This page cannot be finished without the answer.","help_lines":[],"help_when":[],"id":"income_sources.prior_year_state_refund.prior_year_zero_tax_from_capital_gain_rate","includes_united_states":false,"kind":"yesno","label":"That year, did you owe no tax because your gains were taxed at zero?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"}]}]}},{"binds":"prior_year_state_refund.other_pub_525_exception","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That year's return and your Form 1099-G show each of them. Choose Not sure if you cannot tell: the part of your refund that counts as income then cannot be worked out, so the return cannot be filed from here.","help_lines":["The refund was of a tax other than income tax, such as sales tax or property tax.","The refund was more than the income tax you deducted, less the general sales tax you could have deducted instead.","You paid the last estimated state or local tax for that year in the next year.","You owed alternative minimum tax (a separate tax worked out alongside the ordinary one) that year.","Your credits that year were more than your tax, so part of them went unused.","Someone else could claim you as a dependent that year.","The refund came from a joint state return, and you are not filing jointly with the same person this year."],"help_when":[],"id":"income_sources.prior_year_state_refund.other_pub_525_exception","includes_united_states":false,"kind":"choice","label":"Does any of these apply to your refund or to that year?","label_when":[],"off_ramp":{"body":"In each of those situations the part of the refund that counts as income is worked out a different way, which we do not do here.","code":"state_refund_other_exception","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a refund in that situation","when":{"op":"eq","ref":"income_sources.prior_year_state_refund.other_pub_525_exception","value":"yes"}},"options":[{"label":"No, none of these.","value":"no"},{"label":"Yes, at least one of these.","value":"yes"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_state_refund"},{"op":"truthy","ref":"income_sources.prior_year_state_refund.deducted_income_tax"}]}]}},{"clears":["spouse_abroad"],"currency_pickable":false,"derived_from_presence":["spouse_residency","spouse_physical_presence","spouse_bona_fide_residence","spouse_housing_facts","spouse_feie_prior_claims"],"help":"Say yes only if your spouse earned money from working while abroad, from a job or from their own business. Their own Form 2555 then goes on this joint return alongside yours. Say no if they were abroad with you but earned nothing there: the exclusion is only for pay, so there would be nothing to collect.","help_lines":[],"help_when":[],"id":"where_you_lived.spouse_earned_abroad","includes_united_states":false,"kind":"yesno","label":"Did your spouse earn money from working while they were outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"clears":["where_you_lived.uses_physical_presence","where_you_lived.uses_bona_fide_residence","where_you_lived.residency.tax_home.country","where_you_lived.residency.tax_home.city","where_you_lived.residency.tax_home.established_on","where_you_lived.tax_home_given_up"],"currency_pickable":false,"derived_from_presence":["residency","physical_presence","bona_fide_residence","housing_facts","feie_prior_claims"],"help":"Say yes if any of your own pay, or your own business income, was earned while you were abroad. Say no if you were abroad but your own earnings were not: the questions about your working life abroad are then left out, as there would be nothing to answer.","help_lines":[],"help_when":[],"id":"where_you_lived.you_earned_abroad","includes_united_states":false,"kind":"yesno","label":"And did you earn money from working while you were outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"earning_year_facts.qualifying_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 38 of your {context.return_year_less_1} Form 2555. If no form was filed for that year, count the days of that year that you had a main place of work abroad and met the residence or 330-day test. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.earning_year_facts.qualifying_days","includes_united_states":false,"kind":"integer","label":"How many days of {context.return_year_less_1} did you qualify for the exclusion?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"ne","ref":"review.feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"ne","ref":"review.feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}]}},{"binds":"earning_year_facts.limit_already_used","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"With a {context.return_year_less_1} Form 2555 that left out pay: line 42 of it, plus any pay for that year's work left out on another return. With none: the pay earned abroad in the days that qualified and received in {context.return_year_less_1}, less any housing exclusion, from your payslips. Give the whole amount even if it is above the limit. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.earning_year_facts.limit_already_used","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_1} exclusion limit is already used?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"ne","ref":"review.feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"ne","ref":"review.feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}]}},{"binds":"spouse_earning_year_facts.qualifying_days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 38 of your spouse's {context.return_year_less_1} Form 2555. If no form was filed for that year, count the days of that year that your spouse had a main place of work abroad and met the residence or 330-day test. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.spouse_earning_year_facts.qualifying_days","includes_united_states":false,"kind":"integer","label":"How many days of {context.return_year_less_1} did your spouse qualify for the exclusion?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"ne","ref":"review.spouse_feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"ne","ref":"review.spouse_feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}]}},{"binds":"spouse_earning_year_facts.limit_already_used","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"With a {context.return_year_less_1} Form 2555 that left out pay: line 42 of it, plus any pay for that year's work left out on another return. With none: the pay earned abroad in the days that qualified and received in {context.return_year_less_1}, less any housing exclusion, from your payslips. Give the whole amount even if it is above the limit. Enter 0 if none.","help_lines":[],"help_when":[],"id":"income_sources.spouse_earning_year_facts.limit_already_used","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_1} exclusion limit is already used?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.other_year_work_refusals","required_when":{"op":"and","rules":[{"op":"ne","ref":"review.spouse_feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"income_sources.has_any_income","value":false}]},{"op":"and","rules":[{"op":"ne","ref":"review.spouse_feie_election.claim","value":false},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"income_sources.wages.earned_in_country"},{"op":"not","rules":[{"op":"in","ref":"income_sources.wages.earned_in_country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}]},{"op":"ne","ref":"income_sources.wages.employer_is_us_government","value":true},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.wages.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.wages.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}]}]},{"op":"truthy","ref":"income_sources.self_employment.receipts_for_other_year_work"},{"op":"gt","ref":"income_sources.self_employment.prior_year_work_amount","value":0}]}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.owner","value":"spouse"},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"truthy","ref":"income_sources.schedule_k1s.services_abroad"},{"op":"or","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.guaranteed_payments_services","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0},{"op":"lt","ref":"income_sources.schedule_k1s.self_employment_earnings","value":0}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.pays_for_other_year_work"},{"op":"gt","ref":"income_sources.schedule_k1s.prior_year_work_amount","value":0}]}]}]}]}]}},{"clears":["income_sources.capital_loss_carryover.prior_year_agi","income_sources.capital_loss_carryover.prior_year_deductions","income_sources.capital_loss_carryover.schedule_d_line_7","income_sources.capital_loss_carryover.schedule_d_line_15","income_sources.capital_loss_carryover.schedule_d_line_21","income_sources.capital_loss_carryover.prior_year_joint_now_separate","income_sources.capital_loss_carryover.prior_year_separate_now_joint"],"currency_pickable":false,"derived_from_presence":["capital_loss_carryover"],"help":"Last year's Schedule D shows a loss on line 21 when your losses on sales were more than you could deduct. We work out how much carries into this year from five figures on last year's return.","help_lines":[],"help_when":[],"id":"income_sources.has_capital_loss_carryover","includes_united_states":false,"kind":"yesno","label":"Do you have a capital loss carried over from an earlier year?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from the income page, where you did not check a capital loss carried into this year.","value":false,"when":{"op":"eq","ref":"income_sources.may_have_capital_loss_carryover","value":false}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"capital_loss_carryover.prior_year_agi","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 11 of last year's Form 1040 (line 11a on a 2025 form), in United States dollars as the form shows it.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.prior_year_agi","includes_united_states":false,"kind":"money","label":"What was your adjusted gross income (your total income less your adjustments) on last year's return?","label_when":[],"options":[],"placeholder":"50000","prefill":{"confirm":true,"exact":false,"note":"This is the figure you gave on the first page for last year's adjusted gross income. Keep it unless last year's return was amended or corrected by the IRS after you filed it.","value_ref":"about_you.prior_year_agi","when":{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}},{"binds":"capital_loss_carryover.prior_year_deductions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 14 of last year's Form 1040, in United States dollars. It is your standard or itemized deduction together with any qualified business income deduction and, on a 2025 form, any Schedule 1-A deductions.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.prior_year_deductions","includes_united_states":false,"kind":"money","label":"What were your deductions on last year's return?","label_when":[],"options":[],"placeholder":"14600","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}},{"binds":"capital_loss_carryover.schedule_d_line_7","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 7 of last year's Schedule D, in United States dollars. Enter a loss as a negative number, and zero if the line was blank.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.schedule_d_line_7","includes_united_states":false,"kind":"money","label":"What was your net short-term gain or loss on last year's Schedule D?","label_when":[],"options":[],"placeholder":"-2000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}},{"binds":"capital_loss_carryover.schedule_d_line_15","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 15 of last year's Schedule D, in United States dollars. Enter a loss as a negative number, and zero if the line was blank.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.schedule_d_line_15","includes_united_states":false,"kind":"money","label":"What was your net long-term gain or loss on last year's Schedule D?","label_when":[],"options":[],"placeholder":"-6000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}},{"binds":"capital_loss_carryover.schedule_d_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 21 of last year's Schedule D, as a negative number, for example -3000. It is the loss you deducted last year, in United States dollars. Enter zero if the line was blank.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.schedule_d_line_21","includes_united_states":false,"kind":"money","label":"What loss did last year's Schedule D let you deduct?","label_when":[],"options":[],"placeholder":"-3000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_positive_money"],"visible_when":{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"}},{"binds":"capital_loss_carryover.prior_year_separate_now_joint","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If you did, your two capital loss carryovers are added together on a joint return, and we do not combine two sets of last year's figures here.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.prior_year_separate_now_joint","includes_united_states":false,"kind":"yesno","label":"Did you and your spouse each file your own return last year?","label_when":[],"off_ramp":{"body":"Your carryovers from two separate returns are added together on a joint return, and we do not combine two sets of last year's figures here.","code":"capital_loss_carryover_separate","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not combine two capital loss carryovers for a joint return","when":{"op":"truthy","ref":"income_sources.capital_loss_carryover.prior_year_separate_now_joint"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"capital_loss_carryover.prior_year_joint_now_separate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"On a separate return only the part of a joint loss that was yours can be used, and we do not split it here.","help_lines":[],"help_when":[],"id":"income_sources.capital_loss_carryover.prior_year_joint_now_separate","includes_united_states":false,"kind":"yesno","label":"Did that loss come from a joint return you filed with your spouse?","label_when":[],"off_ramp":{"body":"Only the part of the loss that was yours can be used on your return, and we do not split it here.","code":"capital_loss_carryover_joint","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not split a joint capital loss for a separate return","when":{"op":"truthy","ref":"income_sources.capital_loss_carryover.prior_year_joint_now_separate"}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_m75_income_facts","required_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_capital_loss_carryover"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}}],"review":true,"title":"Your income"},{"blurb":"Income tax you paid to another country, and any treaty benefits you claim. If you paid none, that is fine too.","id":"foreign_tax","nodes":[{"clears":["foreign_tax.foreign_taxes"],"currency_pickable":false,"derived_from_presence":["foreign_taxes[]"],"help":"Your foreign assessment notice or your payslip shows the tax taken.","help_lines":[],"help_when":[],"id":"foreign_tax.has_foreign_taxes","includes_united_states":false,"kind":"yesno","label":"Did you pay or owe another country income tax on income you report here?","label_when":[],"options":[],"prefill":{"confirm":true,"exact":false,"note":"Filled in from your answer on the first page. Change it here if that was not right.","value":true,"when":{"op":"truthy","ref":"fit.paid_foreign_tax"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["foreign_tax.ftc_carryover_rows","foreign_tax.ftc_deducted_in_later_year","foreign_tax.ftc_last_schedule_b","foreign_tax.ftc_carryover_joint_history","foreign_tax.has_ftc_carryback_change","foreign_tax.ftc_carryback_adjustments"],"currency_pickable":false,"derived_from_presence":["ftc_carryover_rows[]","ftc_carryback_adjustments[]"],"help":"Unused foreign tax can be carried forward for up to ten years. Last year's Form 1116 shows it: the foreign tax on line 9, less the reduction on line 12 and the credit on line 24, is what that year could not use. From the 2021 return on, a Schedule B (Form 1116) lists every year still carried; for earlier years, the computation attached to that year's Form 1116 line 10 does. Say yes too if less of last year's unused tax was carried back than its Schedule B line 7 showed, even if its line 8 shows nothing.","help_lines":[],"help_when":[],"id":"foreign_tax.has_ftc_carryovers","includes_united_states":false,"kind":"yesno","label":"Are you carrying forward unused foreign tax from an earlier year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":["ftc_carryover_rows[].remaining"],"help":"Its line 8 shows, year by year, the unused foreign tax carried to {context.return_year}.","help_lines":["There is one Schedule B for each kind of income, and another for an alternative minimum tax Form 1116. Use every one you filed.","Say yes if your {context.return_year_less_1} return is filed and you have its Schedule B. Say no if that return had none, is not filed yet, or you do not have it, and we ask for each year's Form 1116 figures instead."],"help_when":[],"id":"foreign_tax.ftc_last_schedule_b","includes_united_states":false,"kind":"yesno","label":"Do you have the Schedule B (Form 1116) from your {context.return_year_less_1} return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"},{"op":"gt","ref":"context.tax_year","value":2021}]}},{"binds":"ftc_deducted_in_later_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Look at your returns after the earliest year you carry unused tax from, up to last year. Say yes if on any of them you deducted foreign tax on Schedule A instead of claiming the credit on Form 1116. Say no if you claimed the credit every year, or if that earliest year was last year.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_deducted_in_later_year","includes_united_states":false,"kind":"yesno","label":"In any year since, did you deduct foreign tax instead of claiming the credit?","label_when":[],"off_ramp":{"body":"Unused foreign tax has to be reduced by what the credit would have used in a year you deducted foreign tax instead. Working that out needs that year's return, which we do not have.","code":"carryover_later_deduction","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"Your carryover needs that year's return","when":{"op":"truthy","ref":"foreign_tax.ftc_deducted_in_later_year"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}},{"binds":"ftc_carryover_joint_history","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Joint means a married filing jointly return.","help_lines":["If none was joint and you file jointly now, put your unused tax and your spouse's for the same year together in one row."],"help_when":[],"id":"foreign_tax.ftc_carryover_joint_history","includes_united_states":false,"kind":"choice","label":"How were your returns filed from your earliest carryover year to {context.return_year_less_1}?","label_when":[],"off_ramp":{"body":"When the years were not all filed the same way, the unused tax of a year you filed jointly is split between you and your spouse by each one's income from abroad that year. We do not have those figures.","code":"carryover_spouse_allocation","next_step":"Check your answer, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"Your carryover has to be split between you and your spouse","when":{"op":"or","rules":[{"op":"eq","ref":"foreign_tax.ftc_carryover_joint_history","value":"other"},{"op":"and","rules":[{"op":"eq","ref":"foreign_tax.ftc_carryover_joint_history","value":"all_joint"},{"op":"ne","ref":"about_you.filing_status","value":"mfj"}]}]}},"options":[{"label":"Every one was a joint return with the spouse on this return.","value":"all_joint"},{"label":"None of them was a joint return.","value":"none_joint"},{"label":"Some were joint and some were not, or one was joint with someone else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}},{"clears":["foreign_tax.ftc_carryback_adjustments"],"currency_pickable":false,"derived_from_presence":["ftc_carryback_adjustments[]"],"help":"Line 7 of your {context.return_year_less_1} Schedule B can show an estimate of the unused tax carried back to the year before.","help_lines":["Say yes if the amount finally carried back on your {context.return_year_less_2} return was different from line 7, also when line 7 was empty and you later carried an amount back on an amended {context.return_year_less_2} return.","Say no only if nothing was carried back beyond what line 7 shows."],"help_when":[],"id":"foreign_tax.has_ftc_carryback_change","includes_united_states":false,"kind":"yesno","label":"Did your {context.return_year_less_1} carryback to {context.return_year_less_2} change from your Schedule B line 7?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"},{"op":"gt","ref":"context.tax_year","value":2021}]}},{"add_label":"Add a year","binds":"ftc_carryover_rows[]","help":"Add one row for each earlier year, for each kind of income, and separately for the alternative minimum tax version of the form if you filed one. Every figure is in dollars, as your earlier return shows it.","id":"foreign_tax.ftc_carryover_rows","kind":"repeat","label":"What unused foreign tax are you carrying forward?","max_rows":40,"min_rows":1,"min_rows_unless":{"op":"truthy","ref":"foreign_tax.has_ftc_carryback_change"},"nodes":[{"binds":"ftc_carryover_rows[].year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier return shows the year. Use one of the ten years before this one: tax from earlier than that can no longer be used.","help_lines":[],"help_when":[[{"op":"not","rules":[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"}]},"Your Form 1116 for that year has the year printed at the top."],[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"},"Your {context.return_year_less_1} Schedule B heads its columns by how far back each year is: Current Tax Year is {context.return_year_less_1}, 1st Preceding Tax Year is {context.return_year_less_2}, and so on."]],"id":"foreign_tax.ftc_carryover_rows.year","includes_united_states":false,"kind":"integer","label":"Which year did you pay that foreign tax for?","label_when":[],"off_ramp":{"body":"A year after {context.return_year} cannot carry unused tax into it here. Tax carried back from a later year goes on an amended return for this year, and we do not carry tax back into a return.","code":"carryover_year_after_this_one","next_step":"Change the year, or remove this row.","severity":"block","title":"Unused foreign tax comes from an earlier year","when":{"op":"gt","ref":"foreign_tax.ftc_carryover_rows.year","value_ref":"context.return_year"}},"options":[],"placeholder":"2024","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter a four-digit year between 1960 and 2099."}},"validators":["tax_year_range"]},{"binds":"ftc_carryover_rows[].basket","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The box checked at the top of that year's Form 1116.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryover_rows.basket","includes_united_states":false,"kind":"choice","label":"What kind of income did you pay it on?","label_when":[],"off_ramp":{"body":"We prepare the carryover for pay, business profits and investment income. Unused tax on the income of a foreign branch, or income a treaty treats as foreign, is carried on forms we do not prepare.","code":"carryover_other_kind_of_income","next_step":"Remove this row. Or use another preparer for a return like this.","severity":"block","title":"We do not carry that kind of income forward","when":{"op":"in","ref":"foreign_tax.ftc_carryover_rows.basket","values":["foreign_branch","resourced_by_treaty"]}},"options":[{"label":"Pay for work, and business profits.","value":"general"},{"label":"Interest, dividends, rent and other investment income.","value":"passive"},{"label":"Another kind of income, such as a foreign branch or a treaty.","value":"foreign_branch"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"ftc_carryover_rows[].amt","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That version has AMT written at the top and was attached behind Form 6251. Say no for the ordinary Form 1116.","help_lines":[],"help_when":[[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"},"If you filed an alternative minimum tax Form 1116, it has its own Schedule B."]],"id":"foreign_tax.ftc_carryover_rows.amt","includes_united_states":false,"kind":"yesno","label":"Are these figures from the alternative minimum tax (a second, parallel tax) version of your Form 1116?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"ftc_carryover_rows[].remaining","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 8, Foreign tax carryover to the following tax year, in that year's column. It is a dollar figure from a United States return, so copy it as it stands.","help_lines":["If that column shows 0 or is empty, nothing is carried from that year, so remove this row."],"help_when":[],"id":"foreign_tax.ftc_carryover_rows.remaining","includes_united_states":false,"kind":"money","label":"What does line 8 of your {context.return_year_less_1} Schedule B show for that year?","label_when":[],"options":[],"placeholder":"600","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["positive_money"],"visible_when":{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"}},{"binds":"ftc_carryover_rows[].foreign_taxes_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 9 of that year's Form 1116, plus any amount on line 13 (minus it if shown in parentheses). It is a dollar figure from a United States return, so copy it as it stands.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryover_rows.foreign_taxes_paid","includes_united_states":false,"kind":"money","label":"How much foreign tax did you pay or owe that year?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"}]}},{"binds":"ftc_carryover_rows[].foreign_taxes_disallowed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 12 of that year's Form 1116, the reduction in foreign taxes. For example, the tax on pay you left out of income on Form 2555. Enter 0 if that line was blank. It is a dollar figure from a United States return, so copy it as it stands.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryover_rows.foreign_taxes_disallowed","includes_united_states":false,"kind":"money","label":"How much of it could you not claim a credit for?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"}]}},{"binds":"ftc_carryover_rows[].credit_claimed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 24 of that year's Form 1116. If that year also used foreign tax carried in from other years, enter only the part that was that year's own tax. It is a dollar figure from a United States return, so copy it as it stands.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryover_rows.credit_claimed","includes_united_states":false,"kind":"money","label":"How much credit did you claim on that year's return?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"}]}},{"binds":"ftc_carryover_rows[].used_in_later_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add up everything taken out of that year's unused tax since: line 4 of the Schedule B (Form 1116) for each later year, in this year's column, plus any part carried back to the year before it, which is line 7 of this year's own Schedule B. Before the 2021 return there is no Schedule B: for those years use the computation attached to that year's Form 1116 line 10.","help_lines":["Enter 0 if none of it was used or carried back.","It is a dollar figure from a United States return, so copy it as it stands."],"help_when":[],"id":"foreign_tax.ftc_carryover_rows.used_in_later_years","includes_united_states":false,"kind":"money","label":"How much of the rest have you used on later returns or carried back?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"truthy","ref":"foreign_tax.ftc_last_schedule_b"}]}}],"row_label":"Unused foreign tax","visible_when":{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}},{"add_label":"Add a schedule","binds":"ftc_carryback_adjustments[]","help":"Add one row for each {context.return_year_less_1} Schedule B whose carryback ended up different from its line 7. Every figure is in dollars.","id":"foreign_tax.ftc_carryback_adjustments","kind":"repeat","label":"Which of your carryback amounts changed?","max_rows":4,"min_rows":1,"nodes":[{"binds":"ftc_carryback_adjustments[].basket","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The box checked at the top of the schedule.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryback_adjustments.basket","includes_united_states":false,"kind":"choice","label":"What kind of income is your Schedule B for?","label_when":[],"options":[{"label":"Pay for work, and business profits.","value":"general"},{"label":"Interest, dividends, rent and other investment income.","value":"passive"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"ftc_carryback_adjustments[].amt","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say no for the ordinary Form 1116.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryback_adjustments.amt","includes_united_states":false,"kind":"yesno","label":"Is it the Schedule B of your alternative minimum tax (a second, parallel tax) Form 1116?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"ftc_carryback_adjustments[].estimated","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 7 is printed as a negative number. Enter it without the minus sign, or 0 if line 7 was empty. It is a dollar figure from a United States return, so copy it as it stands.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryback_adjustments.estimated","includes_united_states":false,"kind":"money","label":"What does line 7 of your schedule show?","label_when":[],"options":[],"placeholder":"20","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"ftc_carryback_adjustments[].actual","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The amount your {context.return_year_less_2} return finally took. Enter 0 if none was.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_carryback_adjustments.actual","includes_united_states":false,"kind":"money","label":"How much did you actually carry back to {context.return_year_less_2}?","label_when":[],"options":[],"placeholder":"15","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Changed carryback","visible_when":{"op":"truthy","ref":"foreign_tax.has_ftc_carryback_change"}},{"binds":"earlier_foreign_loss_accounts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An earlier year's Form 1116 opens one when a loss from abroad reduced your other income, or a loss from the United States reduced your income from abroad. That year's return says so on line 16 and on a statement attached to it. Choose Not sure if you cannot tell.","help_lines":[],"help_when":[],"id":"foreign_tax.earlier_foreign_loss_accounts","includes_united_states":false,"kind":"choice","label":"Do you have a foreign loss account balance from an earlier year's credit form?","label_when":[],"options":[{"label":"No, no earlier year left a balance.","value":"no"},{"label":"Yes, an earlier year left a balance.","value":"yes"},{"label":"Not sure.","value":"not_sure"}],"prefill":{"confirm":false,"exact":true,"note":"Filled in from the income page, where you did not check a foreign loss account balance.","value":"no","when":{"op":"eq","ref":"income_sources.may_have_earlier_foreign_loss_account","value":false}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}},{"add_label":"Add an account","binds":"earlier_loss_balances[]","help":"Add one row for each account: an overall foreign loss or an overall domestic loss for each kind of income, and a separate limitation loss for each pair of kinds of income. Use the balance at the end of last year, from the statement attached to last year's Form 1116.","id":"foreign_tax.earlier_loss_balances","kind":"repeat","label":"What balance does each of your foreign loss accounts have?","max_rows":20,"min_rows":1,"nodes":[{"binds":"earlier_loss_balances[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of the earlier year's Form 1116 and its statement name it.","help_lines":[],"help_when":[],"id":"foreign_tax.earlier_loss_balances.kind","includes_united_states":false,"kind":"choice","label":"Which kind of loss account do you have?","label_when":[],"options":[{"label":"An overall foreign loss: a loss from abroad that reduced your income from the United States.","value":"overall_foreign_loss"},{"label":"A separate limitation loss: a loss in one kind of income from abroad that reduced another kind.","value":"separate_limitation_loss"},{"label":"An overall domestic loss: a loss from the United States that reduced your income from abroad.","value":"overall_domestic_loss"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"earlier_loss_balances[].category","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For a separate limitation loss, the kind of income that had the loss.","help_lines":[],"help_when":[],"id":"foreign_tax.earlier_loss_balances.category","includes_united_states":false,"kind":"choice","label":"Which kind of your income is the account for?","label_when":[],"options":[{"label":"Interest, dividends, rent and other investment income.","value":"passive"},{"label":"Pay for work, and business profits.","value":"general"},{"label":"Profits of a branch you run abroad.","value":"foreign_branch"},{"label":"Income a treaty moves to the other country.","value":"resourced_by_treaty"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"earlier_loss_balances[].against","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The kind of income whose credit form showed the loss on line 16.","help_lines":[],"help_when":[],"id":"foreign_tax.earlier_loss_balances.against","includes_united_states":false,"kind":"choice","label":"Which other kind of your income did that loss reduce?","label_when":[],"options":[{"label":"Interest, dividends, rent and other investment income.","value":"passive"},{"label":"Pay for work, and business profits.","value":"general"},{"label":"Profits of a branch you run abroad.","value":"foreign_branch"},{"label":"Income a treaty moves to the other country.","value":"resourced_by_treaty"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"foreign_tax.earlier_loss_balances.kind","value":"separate_limitation_loss"}},{"binds":"earlier_loss_balances[].balance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"In dollars, as on the earlier year's statement.","help_lines":[],"help_when":[],"id":"foreign_tax.earlier_loss_balances.balance","includes_united_states":false,"kind":"money","label":"What balance do you have in that account?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Loss account","visible_when":{"op":"eq","ref":"foreign_tax.earlier_foreign_loss_accounts","value":"yes"}},{"binds":"totalization_agreement_claimed","clears":["foreign_tax.totalization_coverage.country","foreign_tax.totalization_coverage.certificate_obtained","foreign_tax.totalization_coverage.covers_all_year","foreign_tax.totalization_coverage.profit_outside_coverage"],"currency_pickable":false,"derived_from_presence":[],"help":"A certificate or letter shows it. Choose Not sure if you have not checked: self-employment tax is then figured as if no agreement covers you.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["AU"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["AU"]},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["AU"]},{"op":"in","ref":"about_you.lived_in_country","values":["AU"]},{"op":"derived","ref":"about_you.mailing_address_in_au"}]},"In Australia the agreement frees a self-employed United States citizen who lives there from United States self-employment tax, even though Australia's system does not cover the work. If that is you, answer yes."],[{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CL"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CL"]},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CL"]},{"op":"in","ref":"about_you.lived_in_country","values":["CL"]},{"op":"derived","ref":"about_you.mailing_address_in_cl"}]},"In Chile the agreement puts a self-employed person who lives there under Chile's system only, even though joining it is voluntary there. If you live there, answer yes."],[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IT"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IT"]},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IT"]},{"op":"in","ref":"about_you.lived_in_country","values":["IT"]},{"op":"derived","ref":"about_you.mailing_address_in_it"}]},{"op":"ne","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]},"In Italy a United States citizen stays under the United States system. Answer yes only if you are also an Italian citizen and chose Italy's system."],[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["AT"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["BE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["BR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CA"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CL"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CZ"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["DK"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["FI"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["FR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["DE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["GR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["HU"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IS"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IE"]}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IT"]}]}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["JP"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["LU"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["NL"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["NO"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["PL"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["PT"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["SK"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["SI"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["KR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["ES"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["SE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CH"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["UY"]}]}]}]},"An agreement country is one with a social security agreement with the United States. If one covers your self-employment, answer yes and name it next."]],"id":"foreign_tax.has_totalization","includes_united_states":false,"kind":"yesno","label":"Does another country's social security cover your self-employment under a United States agreement?","label_when":[[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["AU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["AU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["AU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["AU"]}]}]},"Does the agreement with Australia free your self-employed work from US self-employment tax?"],[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IT"]}]}]},{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"}]},"Are you also an Italian citizen who chose Italy's system for your self-employed work?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["AT"]}]}]},"Does social security in Austria, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["BE"]}]}]},"Does social security in Belgium, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["BR"]}]}]},"Does social security in Brazil, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CA"]}]}]},"Does social security in Canada, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CL"]}]}]},"Does social security in Chile, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CZ"]}]}]},"Does social security in Czechia, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["DK"]}]}]},"Does social security in Denmark, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["FI"]}]}]},"Does social security in Finland, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["FR"]}]}]},"Does social security in France, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["DE"]}]}]},"Does social security in Germany, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["GR"]}]}]},"Does social security in Greece, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["HU"]}]}]},"Does social security in Hungary, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IS"]}]}]},"Does social security in Iceland, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IE"]}]}]},"Does social security in Ireland, or another agreement country, cover your self-employment?"],[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["IT"]}]}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]},"Does social security in Italy, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["JP"]}]}]},"Does social security in Japan, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["LU"]}]}]},"Does social security in Luxembourg, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["NL"]}]}]},"Does social security in the Netherlands, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["NO"]}]}]},"Does social security in Norway, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["PL"]}]}]},"Does social security in Poland, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["PT"]}]}]},"Does social security in Portugal, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["SK"]}]}]},"Does social security in Slovakia, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["SI"]}]}]},"Does social security in Slovenia, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["KR"]}]}]},"Does social security in South Korea, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["ES"]}]}]},"Does social security in Spain, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["SE"]}]}]},"Does social security in Sweden, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["CH"]}]}]},"Does social security in Switzerland, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["GB"]}]}]},"Does social security in the UK, or another agreement country, cover your self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"eq","ref":"where_you_lived.abroad_whole_period_country"},{"op":"in","ref":"about_you.lived_in_country","values":["UY"]}]}]},"Does social security in Uruguay, or another agreement country, cover your self-employment?"]],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"truthy","ref":"fit.lived_abroad"},{"op":"or","rules":[{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"ne","ref":"income_sources.self_employment.owner","value":"spouse"}]}]}]}},{"binds":"spouse_totalization_agreement_claimed","clears":["foreign_tax.spouse_totalization_coverage.country","foreign_tax.spouse_totalization_coverage.certificate_obtained","foreign_tax.spouse_totalization_coverage.us_national","foreign_tax.spouse_totalization_coverage.covers_all_year","foreign_tax.spouse_totalization_coverage.profit_outside_coverage"],"currency_pickable":false,"derived_from_presence":[],"help":"A certificate or letter shows it. Choose Not sure if you have not checked: self-employment tax on your spouse's work is then figured as if no agreement covers it.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["AU"]},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["AU"]},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["AU"]},{"op":"derived","ref":"about_you.mailing_address_in_au"}]},"In Australia the agreement frees a self-employed United States citizen who lives there from United States self-employment tax, even though Australia's system does not cover the work. If that is your spouse, answer yes."],[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CL"]},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CL"]},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CL"]},{"op":"derived","ref":"about_you.mailing_address_in_cl"}]},"In Chile the agreement puts a self-employed person who lives there under Chile's system only, even though joining it is voluntary there. If your spouse lives there, answer yes."],[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["IT"]},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["IT"]},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["IT"]},{"op":"derived","ref":"about_you.mailing_address_in_it"}]},"In Italy a United States citizen stays under the United States system. Answer yes only if your spouse is also an Italian citizen and chose Italy's system."],[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["AT"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["BE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["BR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CA"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CL"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CZ"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["DK"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["FI"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["FR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["DE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["GR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["HU"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["IS"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["IE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["JP"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["LU"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["NL"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["NO"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["PL"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["PT"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["SK"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["SI"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["KR"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["ES"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["SE"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CH"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["GB"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["UY"]}]}]}]},"An agreement country is one with a social security agreement with the United States. If one covers your spouse's self-employment, answer yes and name it next."]],"id":"foreign_tax.spouse_has_totalization","includes_united_states":false,"kind":"yesno","label":"Does another country's social security cover your spouse's self-employment under a United States agreement?","label_when":[[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["AU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["AU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["AU"]}]}]},"Does the agreement with Australia free your spouse's self-employed work from US self-employment tax?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["AT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["AT"]}]}]},"Does social security in Austria, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["BE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["BE"]}]}]},"Does social security in Belgium, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["BR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["BR"]}]}]},"Does social security in Brazil, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CA"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CA"]}]}]},"Does social security in Canada, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CL"]}]}]},"Does social security in Chile, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CZ"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CZ"]}]}]},"Does social security in Czechia, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["DK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["DK"]}]}]},"Does social security in Denmark, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["FI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["FI"]}]}]},"Does social security in Finland, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["FR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["FR"]}]}]},"Does social security in France, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["DE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["DE"]}]}]},"Does social security in Germany, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["GR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["GR"]}]}]},"Does social security in Greece, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["HU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["HU"]}]}]},"Does social security in Hungary, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["IS"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["IS"]}]}]},"Does social security in Iceland, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["IE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["IE"]}]}]},"Does social security in Ireland, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["JP"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["JP"]}]}]},"Does social security in Japan, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["LU"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["LU"]}]}]},"Does social security in Luxembourg, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["NL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["NL"]}]}]},"Does social security in the Netherlands, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["NO"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["NO"]}]}]},"Does social security in Norway, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["PL"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["PL"]}]}]},"Does social security in Poland, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["PT"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["PT"]}]}]},"Does social security in Portugal, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["SK"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["SK"]}]}]},"Does social security in Slovakia, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["SI"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["SI"]}]}]},"Does social security in Slovenia, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["KR"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["KR"]}]}]},"Does social security in South Korea, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["ES"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["ES"]}]}]},"Does social security in Spain, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["SE"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["SE"]}]}]},"Does social security in Sweden, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CH"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CH"]}]}]},"Does social security in Switzerland, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["GB"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["GB"]}]}]},"Does social security in the UK, or another agreement country, cover your spouse's self-employment?"],[{"op":"or","rules":[{"op":"and","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["UY"]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["UY"]}]}]},"Does social security in Uruguay, or another agreement country, cover your spouse's self-employment?"]],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"truthy","ref":"fit.lived_abroad"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"}]}]}]}},{"clears":["foreign_tax.housing_facts.housing_location_city"],"currency_pickable":false,"derived_from_presence":["housing_facts"],"help":"Count rent, utilities and insurance you paid for your home abroad. Only what you paid above a base amount can be excluded: {context.housing_base_amount} for a full year, and less for part of a year.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.housing_base_daily_rate","value":0},"For each day of the year your exclusion covers, the base is {context.housing_base_daily_rate}."]],"id":"foreign_tax.has_housing","includes_united_states":false,"kind":"yesno","label":"Did you pay housing costs abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.uses_physical_presence","value":false},{"op":"eq","ref":"where_you_lived.uses_bona_fide_residence","value":false}]}]}]}},{"clears":["foreign_tax.spouse_housing_facts.housing_location_city"],"currency_pickable":false,"derived_from_presence":["spouse_housing_facts"],"help":"Answer yes if your spouse claims the housing costs they paid abroad, whether or not you claim yours, and whether you shared one home or lived apart. Only what they paid above a base amount can be excluded: {context.housing_base_amount} for a full year, and less for part of a year.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.housing_base_daily_rate","value":0},"For each day of the year your spouse's exclusion covers, the base is {context.housing_base_daily_rate}."]],"id":"foreign_tax.has_spouse_housing","includes_united_states":false,"kind":"yesno","label":"Is your spouse claiming their own housing costs abroad?","label_when":[],"off_ramp":{"body":"If you shared one home, both claims stand only when the costs are split so none is counted twice. If you lived apart, both stand only when your homes and places of work were too far apart to travel between each day. Otherwise only one of you can claim, and we cannot file both claims.","code":"married_couple_housing_claims","next_step":"Continue. We ask which applies after your spouse's costs.","severity":"review","title":"Two housing claims stand only in some cases","when":{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.spouse_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]}},{"clears":["foreign_tax.treaty_positions"],"currency_pickable":false,"derived_from_presence":["treaty_positions[]"],"help":"Your advisor will have told you if so, and will name the article you are relying on.","help_lines":[],"help_when":[],"id":"foreign_tax.has_treaty_positions","includes_united_states":false,"kind":"yesno","label":"Does a United States tax treaty you rely on change how something is taxed?","label_when":[],"off_ramp":{"body":"The disclosure form asks for the treaty article, the regulation that requires you to report the position and the United States tax law sections it overrides. Answer the questions from your advisor's note: a return whose form leaves out a part it needs cannot be filed from here.","code":"treaty_disclosure_needs_review","next_step":"Continue, and have your advisor's note nearby.","severity":"review","title":"Your treaty position needs its own disclosure form","when":{"op":"truthy","ref":"foreign_tax.has_treaty_positions"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people do not: they claim foreign tax for the year they pay it, or the year it is taken out of their pay.","help_lines":["Say yes only if you have chosen to claim foreign taxes on the accrual basis, for the year they relate to.","That choice covers every foreign tax on your return and later years too.","It decides which exchange rate your foreign tax is converted at."],"help_when":[],"id":"foreign_tax.claims_tax_when_accrued","includes_united_states":false,"kind":"yesno","label":"Do you account for foreign tax when it accrues, not when you pay it?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":false,"note":"Filled in with the usual answer: foreign tax is claimed for the year it is paid unless you have chosen otherwise. Change it if you account for foreign taxes when they accrue.","value":false,"when":{"op":"not","rules":[{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"eq","ref":"income_sources.businesses.accounting_method","value":"accrual"}]}]}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"}},{"binds":"ftc_accrual_first_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if no earlier return of yours claimed foreign tax this way. The choice can be made only on an original return filed on time, extensions included, and not on an amended return. Say no if you made it on an earlier return: it carries on.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_accrual_first_year","includes_united_states":false,"kind":"yesno","label":"Is this the first year you claim foreign tax when it accrues?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.claims_tax_when_accrued"}},{"binds":"ftc_accrual_filing_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The choice to claim foreign tax when it accrues counts only on a return filed on time, and your answer decides which date that is.","help_lines":["If you did not ask, living outside the United States and Puerto Rico with your main place of work outside them on the April due date gives you two more months."],"help_when":[],"id":"foreign_tax.ftc_accrual_filing_date","includes_united_states":false,"kind":"choice","label":"Did you ask for more time to file this return?","label_when":[],"options":[{"label":"Yes, with Form 4868","value":"form_4868"},{"label":"Yes, with Form 2350","value":"form_2350"},{"label":"No, and I lived and worked outside the United States on the April due date","value":"no_extension_out_of_country"},{"label":"No","value":"no_extension"},{"label":"I'm not sure","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.ftc_accrual_first_year"}},{"binds":"ftc_date_paid_rate_elected","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people do not: accrued tax is converted at the yearly average rate. This is a choice you make for tax in a foreign currency, and once made it covers every later year. If you say yes, we ask for each tax's value in dollars on the day you paid it. Tax not yet paid by the end of the year is converted at the rate on the last day of the year, which we cannot do, so we cannot file a return that has any.","help_lines":[],"help_when":[],"id":"foreign_tax.ftc_date_paid_rate_elected","includes_united_states":false,"kind":"yesno","label":"Do you convert accrued foreign tax at the rate on the payment day?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.claims_tax_when_accrued"}},{"add_label":"Add a foreign tax","binds":"foreign_taxes[]","help":"Add one row per country and kind of income. Have your foreign assessment notices ready. Leave out tax you cannot claim: tax a country charges only because you can claim a credit, tax used to pay you a subsidy, and tax withheld on a dividend if you held the shares fewer than 16 days around the ex-dividend date.","id":"foreign_tax.foreign_taxes","kind":"repeat","label":"What tax did you pay abroad?","min_rows":1,"min_rows_unless":{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]},"nodes":[{"binds":"foreign_taxes[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your assessment notice.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.country","includes_united_states":false,"kind":"country","label":"Which country did you pay this tax to?","label_when":[],"off_ramp":{"body":"The United States does not allow a credit for income tax paid to Iran, North Korea, Sudan or Syria, and income from them is kept in a category of its own that we do not prepare.","code":"sanctioned_country_tax","next_step":"Remove this tax from the list. Or use another preparer for a return like this.","severity":"block","title":"We cannot claim a credit for tax paid to that country","when":{"op":"in","ref":"foreign_tax.foreign_taxes.country","values":["IR","KP","SD","SY"]}},"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"foreign_taxes[].basket","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your assessment notice shows what was taxed. Pick the closest match.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.basket","includes_united_states":false,"kind":"choice","label":"What kind of income did you pay that tax on?","label_when":[],"off_ramp":{"body":"The credit for income of a foreign company you own, for a lump sum from a retirement plan, and for tax paid to a sanctioned country is worked out on forms we do not prepare here.","code":"unsupported_ftc_basket","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the credit for that kind of foreign tax","when":{"op":"in","ref":"foreign_tax.foreign_taxes.basket","values":["lump_sum","passive_gilti","section_901j","section_951a"]}},"options":[{"label":"Interest, dividends, rent and other investment income.","value":"passive"},{"label":"Pay for work, and business profits.","value":"general"},{"label":"Profits of a branch you run abroad.","value":"foreign_branch"},{"help":"Choosing this means your return cannot be filed from here, because the credit for it is worked out on forms we do not prepare.","label":"The investment part of the income of a foreign company you own.","value":"passive_gilti"},{"help":"Choosing this means your return cannot be filed from here, because the credit for it is worked out on forms we do not prepare.","label":"Income of a foreign company you own that United States rules tax to you now, apart from its investment income.","value":"section_951a"},{"label":"Income a treaty moves to the other country.","value":"resourced_by_treaty"},{"help":"Choosing this means your return cannot be filed from here, because a lump sum is worked out with an averaging form we do not prepare.","label":"A lump sum from a retirement plan.","value":"lump_sum"},{"help":"Choosing this means your return cannot be filed from here, because tax paid to a sanctioned country is treated differently from other foreign tax.","label":"Income from a country the United States has sanctioned.","value":"section_901j"}],"prefills":[{"confirm":false,"exact":false,"note":"Filled in because the only foreign income you listed is pay for work or business profit. Change it if this tax was on something else.","value":"general","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.earned_in_country"},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.taxed_abroad"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.property_country"},{"op":"ne","ref":"income_sources.capital_transactions.property_country","value":"US"}]}]}]},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.location_country"},{"op":"ne","ref":"income_sources.rentals.location_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"eq","ref":"income_sources.royalties.source","value":"foreign"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}]},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"eq","ref":"income_sources.passive_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"}]}]}]},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}]}]}]}]}},{"confirm":false,"exact":false,"note":"Filled in because the only foreign income you listed is interest, dividends, rent, royalties or gains on investments. Change it if this tax was on something else.","value":"passive","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.taxed_abroad"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.property_country"},{"op":"ne","ref":"income_sources.capital_transactions.property_country","value":"US"}]}]}]},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.location_country"},{"op":"ne","ref":"income_sources.rentals.location_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"eq","ref":"income_sources.royalties.source","value":"foreign"}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.earned_in_country"},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}]}]}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}]},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"eq","ref":"income_sources.passive_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"}]}]}]},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}]}]}]}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_taxes[].paid_or_accrued","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people answer no: they claim foreign tax for the year they pay it, or the year it is taken out of their pay.","help_lines":["Answer yes only if you have chosen to claim foreign taxes on the accrual basis, for the year they relate to.","That choice covers every foreign tax on your return and later years too.","It is asked before the amounts because it decides which exchange rate to use."],"help_when":[],"id":"foreign_tax.foreign_taxes.paid_or_accrued","includes_united_states":false,"kind":"choice","label":"Do you account for foreign taxes when they accrue, not when you pay them?","label_when":[],"options":[{"label":"No, I claim it when I pay it.","value":"paid"},{"label":"Yes, I claim it when it accrues.","value":"accrued"}],"prefills":[{"confirm":false,"exact":true,"note":"Filled in from your answer that you claim foreign tax when it accrues. Change it if that was not right.","value":"accrued","when":{"op":"truthy","ref":"foreign_tax.claims_tax_when_accrued"}},{"confirm":false,"exact":true,"note":"Filled in from your answer that you claim foreign tax when you pay it. Change it if that was not right.","value":"paid","when":{"op":"eq","ref":"foreign_tax.claims_tax_when_accrued","value":false}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_taxes[].tax_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your assessment notice or payslip names each amount taken. Count only income tax here.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.tax_kind","includes_united_states":false,"kind":"choice","label":"What kind of tax did you pay?","label_when":[],"off_ramp":{"body":"The credit takes only income tax you legally owe. Contributions, other kinds of tax, interest, penalties, tax you are disputing and tax you can claim back do not count, and we do not work out the part you owe.","code":"foreign_tax_not_creditable","next_step":"Give only the income tax you owe as this amount and choose the first answer, or remove this tax.","severity":"block","title":"We can only claim income tax you owe","when":{"op":"in","ref":"foreign_tax.foreign_taxes.tax_kind","values":["partly_refundable","social_security","not_an_income_tax","under_appeal","not_sure"]}},"options":[{"label":"Income tax I owe and cannot get back","value":"income_tax"},{"help":"For example tax withheld above the rate a tax treaty allows.","label":"Income tax, and I can get part of it back","value":"partly_refundable"},{"label":"A social security, pension, health or unemployment contribution","value":"social_security"},{"label":"Another tax (such as VAT, sales or property tax), interest or a penalty","value":"not_an_income_tax"},{"label":"Income tax I am disputing or appealing","value":"under_appeal"},{"label":"Not sure","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_taxes[].tax_year_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The year on your bank statement or your assessment notice.","help_lines":[],"help_when":[[{"op":"ne","ref":"foreign_tax.foreign_taxes.paid_or_accrued","value":"accrued"},"You claim foreign tax in the year you pay it, so only tax paid in {context.return_year} belongs on this return."],[{"op":"eq","ref":"foreign_tax.foreign_taxes.paid_or_accrued","value":"accrued"},"You claim foreign tax when it accrues. If you paid it before the year it is for, or more than 2 years after that year, we ask about it next."]],"id":"foreign_tax.foreign_taxes.tax_year_paid","includes_united_states":false,"kind":"integer","label":"Which year did you pay this tax in?","label_when":[],"options":[],"placeholder":"2025","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter a four-digit year between 1960 and 2099."}},"validators":["tax_year_range"]},{"binds":"foreign_taxes[].foreign_tax_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your assessment notice shows the tax year it covers. Many countries use the calendar year, which ends on December 31; some end it on another day.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.foreign_tax_year_end","includes_united_states":false,"kind":"date","label":"On which day did your foreign tax year for this tax end?","label_when":[],"options":[],"placeholder":"2025-12-31","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"foreign_tax.foreign_taxes.basket","value":"foreign_branch"}},{"binds":"foreign_taxes[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your assessment notice names the person taxed. Tax on pay that is left out of income cannot be credited, and each of you leaves out your own pay.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.owner","includes_united_states":false,"kind":"choice","label":"Whose income was this tax charged on, yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"},{"label":"Both of ours, in one assessment.","value":"both"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.uses_physical_presence","value":false},{"op":"eq","ref":"where_you_lived.uses_bona_fide_residence","value":false}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.spouse_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"eq","ref":"income_sources.self_employment.owner","value":"spouse"}]}]}]},{"op":"in","ref":"foreign_tax.foreign_taxes.basket","values":["general","foreign_branch"]}]}},{"binds":"foreign_taxes[].joint_assessment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a joint assessment in Germany or France. Then only your share of it counts on your return.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.joint_assessment","includes_united_states":false,"kind":"yesno","label":"Was this tax charged on your and your spouse's combined income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"and","rules":[{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"}]}]}},{"binds":"foreign_taxes[].joint_assessment_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the assessment notice: your income divided by the income taxed for both of you, times 100. Only that share of the tax, the income and the expenses goes on your return.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.joint_assessment_share","includes_united_states":false,"kind":"text","label":"What percentage of that combined income was yours?","label_when":[],"options":[],"placeholder":"60","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"percent_of_hundred":{"message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75."}},"validators":["percent_of_hundred"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"and","rules":[{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"}]}]},{"op":"truthy","ref":"foreign_tax.foreign_taxes.joint_assessment"}]}},{"binds":"foreign_taxes[].income_scope","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If your notice shows the tax on each kind separately, add them as two foreign taxes. Tax on pay that is left out of income cannot be credited, but tax on other income can.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.income_scope","includes_united_states":false,"kind":"choice","label":"Which of your income was this tax charged on?","label_when":[],"options":[{"label":"Pay for work or business profit.","value":"earned"},{"label":"Other income, such as a pension.","value":"other"},{"label":"Both, charged as one amount.","value":"both"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.uses_physical_presence","value":false},{"op":"eq","ref":"where_you_lived.uses_bona_fide_residence","value":false}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.spouse_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"in","ref":"foreign_tax.foreign_taxes.basket","values":["general","foreign_branch"]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.earned_in_country"},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.self_employment.separate_books_abroad"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}]},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"eq","ref":"income_sources.passive_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"}]}]}]}},{"binds":"foreign_taxes[].average_rate_exception_applies","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 1116 instructions list these cases. In them an accrued tax cannot use the yearly average exchange rate. If one applies, you give the dollar figure yourself, at the rate on the day you paid it. Tax in an inflationary currency that is still unpaid at the end of the year is converted at the rate on the last day of that year. If the dollar value of an accrued tax you later pay differs because the exchange rate moved, the instructions may require you to work out your United States tax for that year again.","help_lines":["It is paid more than 2 years after the end of the tax year it is for.","It is paid in a tax year before the year it is for.","It is owed in an inflationary currency: prices there rose at least 30% in the 36 months before year end, by International Monetary Fund consumer price figures."],"help_when":[],"id":"foreign_tax.foreign_taxes.average_rate_exception_applies","includes_united_states":false,"kind":"yesno","label":"Does any of these apply to the tax you owe?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"foreign_tax.foreign_taxes.paid_or_accrued","value":"accrued"}},{"binds":"foreign_taxes[].foreign_currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick it from the list as you type, or give the three-letter code on your assessment notice.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.foreign_currency","includes_united_states":false,"kind":"text","label":"Which currency did you pay the tax in?","label_when":[],"options":[],"placeholder":"EUR","prefills":[],"required":true,"suggests_currencies":true,"unanswered_allowed":false,"validator_messages":{"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR."}},"validators":["currency_code"]},{"binds":"foreign_taxes[].foreign_amount","clears":[],"currency_pickable":false,"currency_ref":"foreign_tax.foreign_taxes.foreign_currency","derived_from_presence":[],"help":"The figure on your assessment notice, in the currency you just named. Give it before converting it.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.foreign_amount","includes_united_states":false,"kind":"money","label":"How much did you pay, in that currency?","label_when":[],"options":[],"placeholder":"26000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_taxes[].usd_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the exchange rate on the day you paid it, or on the day it was taken from your pay. If you paid in parts, convert each part at its own day's rate and add them up.","help_lines":[],"help_when":[[{"op":"truthy","ref":"foreign_tax.foreign_taxes.average_rate_exception_applies"},"The yearly average rate cannot be used for this tax, so we do not convert it for you. Use the rate on the day you paid it, or, for tax in an inflationary currency that is still unpaid, the rate on the last day of the year."],[{"op":"truthy","ref":"foreign_tax.ftc_date_paid_rate_elected"},"You chose to convert accrued foreign tax at the rate on the day you paid it, so we do not convert it for you."]],"id":"foreign_tax.foreign_taxes.usd_amount","includes_united_states":false,"kind":"money","label":"How much was your tax in US dollars?","label_when":[],"options":[],"placeholder":"28000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"ne","ref":"foreign_tax.foreign_taxes.paid_or_accrued","value":"accrued"},{"op":"truthy","ref":"foreign_tax.foreign_taxes.average_rate_exception_applies"},{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.ftc_date_paid_rate_elected"},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency","value":"USD"}]}]}},{"binds":"foreign_taxes[].conversion_rate_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS asks for a short explanation of the exchange rate with your return. We write it from this answer and attach it for you.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.conversion_rate_basis","includes_united_states":false,"kind":"choice","label":"Which exchange rate did you use to turn this tax into dollars?","label_when":[],"options":[{"label":"The rate on the day I paid it, or the day it was taken from my pay.","value":"date_paid"},{"label":"Another rate, which I will describe.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"ne","ref":"foreign_tax.foreign_taxes.paid_or_accrued","value":"accrued"},{"op":"truthy","ref":"foreign_tax.foreign_taxes.average_rate_exception_applies"},{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.ftc_date_paid_rate_elected"},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency","value":"USD"}]}]},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency"},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency","value":"USD"}]}},{"binds":"foreign_taxes[].conversion_rate_explanation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One or two sentences: which rate, from where, and for which day. We print it on the explanation exactly as you write it.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.conversion_rate_explanation","includes_united_states":false,"kind":"text","label":"How did you work out the exchange rate you used?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.foreign.ForeignTaxPaid._check_conversion_explanation","required_when":{"op":"eq","ref":"foreign_tax.foreign_taxes.conversion_rate_basis","value":"other"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"narrative_text":{"message":"Use ordinary letters, numbers and punctuation here. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write it in 9,000 characters or fewer, which is all the form has room for."}},"validators":["narrative_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"ne","ref":"foreign_tax.foreign_taxes.paid_or_accrued","value":"accrued"},{"op":"truthy","ref":"foreign_tax.foreign_taxes.average_rate_exception_applies"},{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.ftc_date_paid_rate_elected"},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency","value":"USD"}]}]},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency"},{"op":"ne","ref":"foreign_tax.foreign_taxes.foreign_currency","value":"USD"}]},{"op":"eq","ref":"foreign_tax.foreign_taxes.conversion_rate_basis","value":"other"}]}},{"binds":"foreign_taxes[].reported_on_payee_statement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a broker's year-end tax statement, such as Form 1099-DIV or Form 1099-INT. If you are not sure, answer no.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.reported_on_payee_statement","includes_united_states":false,"kind":"yesno","label":"Does one statement from your payer show both the tax and the income?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"foreign_tax.foreign_taxes.basket","value":"passive"}},{"binds":"foreign_taxes[].withheld_at_payment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example tax a bank or company abroad held back from interest or a dividend. Answer no if the tax was worked out on a tax return or an assessment. Choose Not sure if you cannot tell: we only need it when it changes your credit, and then we tell you.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.withheld_at_payment","includes_united_states":false,"kind":"yesno","label":"Was this tax taken off the payment before you received it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"foreign_tax.foreign_taxes.basket","value":"passive"},{"op":"not","rules":[{"op":"truthy","ref":"foreign_tax.foreign_taxes.reported_on_payee_statement"}]},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value_ref":"foreign_tax.foreign_taxes.country"},{"op":"not","rules":[{"op":"and","rules":[{"op":"lt","ref":"income_sources.rentals.fair_rental_days","value":15},{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":14}]}]}]}]}]},{"op":"or","rules":[{"op":"rows_at_least","ref":"foreign_tax.foreign_taxes","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"in","ref":"foreign_tax.foreign_taxes.basket","values":["general","foreign_branch","passive_gilti","section_951a","resourced_by_treaty","lump_sum","section_901j"]}]},{"op":"not","rules":[{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.rentals.location_country","value_ref":"foreign_tax.foreign_taxes.country"},{"op":"not","rules":[{"op":"and","rules":[{"op":"lt","ref":"income_sources.rentals.fair_rental_days","value":15},{"op":"gt","ref":"income_sources.rentals.personal_use_days","value":14}]}]}]}]}]}]}],"value":2},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"gt","ref":"income_sources.investment_income.foreign_tax_paid","value":0}]}]}]}},{"binds":"foreign_taxes[].gross_income_from_sources","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The income figure on the same assessment notice, counting only income from that country.","help_lines":["You can leave it blank when all of your income from that country is pay for work, interest or dividends you gave us on the income page with that country, or the rent of your one rental property there: we take it from there.","Give it for a pension, business profit, a gain, other income, or more than one rental in that country, and include that income in the figure.","Leave out pay for days you worked in the United States or at sea, and United States dividends, interest or pensions the notice also lists. When one notice lists several taxes, give its income on one of them and zero on the others."],"help_when":[],"id":"foreign_tax.foreign_taxes.gross_income_from_sources","includes_united_states":false,"kind":"money","label":"How much of your income from that country was this tax charged on?","label_when":[],"options":[],"placeholder":"110000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_taxes[].deductible_expenses_allocable","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Costs you already claimed elsewhere that relate to this income, from your own records. Enter zero if there are none.","help_lines":[],"help_when":[],"id":"foreign_tax.foreign_taxes.deductible_expenses_allocable","includes_united_states":false,"kind":"money","label":"What costs of yours relate to that income?","label_when":[],"off_ramp":{"body":"When expenses belong against your foreign income, the credit form has to be filed with a statement listing them one by one. Your answer is one total and we do not prepare that statement, so a return with a figure here cannot be filed from here.","code":"foreign_tax_related_expenses","next_step":"Continue, and have the records behind that figure nearby.","severity":"review","title":"We cannot file these expenses on the credit form yet","when":{"op":"gt","ref":"foreign_tax.foreign_taxes.deductible_expenses_allocable","value":0}},"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Foreign tax","visible_when":{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"}},{"binds":"totalization_coverage.country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your coverage certificate.","help_lines":[],"help_when":[],"id":"foreign_tax.totalization_coverage.country","includes_united_states":false,"kind":"country","label":"Which country's social security system covers you?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Enter the two-letter code for the country, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"truthy","ref":"foreign_tax.has_totalization"}},{"binds":"totalization_coverage.certificate_obtained","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is usually a certificate from the foreign agency saying your self-employment is covered there.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["AU"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["AU"]},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["AU"]},{"op":"in","ref":"about_you.lived_in_country","values":["AU"]},{"op":"derived","ref":"about_you.mailing_address_in_au"}]},"For Australia your proof is an exemption letter from the United States Social Security Administration, not an Australian certificate. You ask its Office of Earnings and International Operations in Baltimore for it."],[{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["CL"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["CL"]},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["CL"]},{"op":"in","ref":"about_you.lived_in_country","values":["CL"]},{"op":"derived","ref":"about_you.mailing_address_in_cl"}]},"For Chile your proof is a letter of exemption from Chile's pension superintendency (Superintendencia de Administradoras de Fondos de Pensiones)."],[{"op":"or","rules":[{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["IT"]},{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["IT"]},{"op":"in","ref":"where_you_lived.abroad_whole_period_country","values":["IT"]},{"op":"in","ref":"about_you.lived_in_country","values":["IT"]},{"op":"derived","ref":"about_you.mailing_address_in_it"}]},"For Italy your proof is the certificate from INPS, Italy's social security agency. Without it, United States self-employment tax is figured as usual."]],"id":"foreign_tax.totalization_coverage.certificate_obtained","includes_united_states":false,"kind":"yesno","label":"Do you already hold the certificate or letter that proves it?","label_when":[],"off_ramp":{"body":"The IRS wants a copy of the certificate attached to the return before it will accept that the other country covers you.","code":"totalization_statement_required","next_step":"Upload the certificate on the documents page before you send the return.","severity":"info","title":"That certificate has to travel with your return","when":{"op":"truthy","ref":"foreign_tax.totalization_coverage.certificate_obtained"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.has_totalization"}},{"binds":"totalization_coverage.covers_all_year","clears":["foreign_tax.totalization_coverage.profit_outside_coverage"],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if you worked for yourself in the United States, or under another country's system, for part of the year, or if the certificate starts or ends partway through it.","help_lines":[],"help_when":[],"id":"foreign_tax.totalization_coverage.covers_all_year","includes_united_states":false,"kind":"yesno","label":"Does your certificate cover all of your self-employed work this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.has_totalization"}},{"binds":"totalization_coverage.profit_outside_coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your books, take the income minus the expenses for the part of the year the certificate does not cover, in US dollars. US self-employment tax is figured on that profit, and the rest of the year's profit is left out. Enter 0 if that part made a loss.","help_lines":[],"help_when":[],"id":"foreign_tax.totalization_coverage.profit_outside_coverage","includes_united_states":false,"kind":"money","label":"What was your profit from self-employed work done outside the dates on your certificate?","label_when":[],"options":[],"placeholder":"12000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.has_totalization"},{"op":"eq","ref":"foreign_tax.totalization_coverage.covers_all_year","value":false}]}},{"binds":"spouse_totalization_coverage.country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your spouse's coverage certificate.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_totalization_coverage.country","includes_united_states":false,"kind":"country","label":"Which country's social security system covers your spouse?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"truthy","ref":"foreign_tax.spouse_has_totalization"}},{"binds":"spouse_totalization_coverage.certificate_obtained","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is usually a certificate from the foreign agency saying your spouse's self-employment is covered there.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["AU"]},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["AU"]},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["AU"]},{"op":"derived","ref":"about_you.mailing_address_in_au"}]},"For Australia your proof is an exemption letter from the United States Social Security Administration, not an Australian certificate. You ask its Office of Earnings and International Operations in Baltimore for it."],[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["CL"]},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["CL"]},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["CL"]},{"op":"derived","ref":"about_you.mailing_address_in_cl"}]},"For Chile your proof is a letter of exemption from Chile's pension superintendency (Superintendencia de Administradoras de Fondos de Pensiones)."],[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["IT"]},{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["IT"]},{"op":"in","ref":"spouse_abroad.abroad_whole_period_country","values":["IT"]},{"op":"derived","ref":"about_you.mailing_address_in_it"}]},"For Italy your proof is the certificate from INPS, Italy's social security agency. Without it, United States self-employment tax is figured as usual."]],"id":"foreign_tax.spouse_totalization_coverage.certificate_obtained","includes_united_states":false,"kind":"yesno","label":"Does your spouse already hold the certificate or letter that proves it?","label_when":[],"off_ramp":{"body":"The IRS wants a copy of your spouse's certificate attached to the return before it will accept that the other country covers your spouse.","code":"totalization_statement_required","next_step":"Upload the certificate on the documents page before you send the return.","severity":"info","title":"That certificate has to travel with your return","when":{"op":"truthy","ref":"foreign_tax.spouse_totalization_coverage.certificate_obtained"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.spouse_has_totalization"}},{"binds":"spouse_totalization_coverage.us_national","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The agreement with Australia frees only a United States citizen or national from United States self-employment tax. Your spouse's passport or naturalization certificate is the record.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_totalization_coverage.us_national","includes_united_states":false,"kind":"yesno","label":"Is your spouse a United States citizen or national?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.spouse_has_totalization"},{"op":"eq","ref":"foreign_tax.spouse_totalization_coverage.country","value":"AU"}]}},{"binds":"spouse_totalization_coverage.covers_all_year","clears":["foreign_tax.spouse_totalization_coverage.profit_outside_coverage"],"currency_pickable":false,"derived_from_presence":[],"help":"Say no if your spouse worked for themselves in the United States, or under another country's system, for part of the year, or if the certificate starts or ends partway through it.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_totalization_coverage.covers_all_year","includes_united_states":false,"kind":"yesno","label":"Does your spouse's certificate cover all of their self-employed work this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_tax.spouse_has_totalization"}},{"binds":"spouse_totalization_coverage.profit_outside_coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your spouse's books, take the income minus the expenses for the part of the year the certificate does not cover, in US dollars. US self-employment tax is figured on that profit, and the rest of the year's profit is left out. Enter 0 if that part made a loss.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_totalization_coverage.profit_outside_coverage","includes_united_states":false,"kind":"money","label":"What did your spouse's self-employed work outside their certificate's dates earn?","label_when":[],"options":[],"placeholder":"12000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_tax.spouse_has_totalization"},{"op":"eq","ref":"foreign_tax.spouse_totalization_coverage.covers_all_year","value":false}]}},{"binds":"amt_simplified_limitation","clears":[],"currency_pickable":false,"derived_from_presence":[],"drawn_when_named":true,"help":"Your credit for foreign tax under the alternative minimum tax, or the part of it you can carry to other years, comes out differently with this choice. The choice lets that credit use the same income abroad as your ordinary credit. It is made in the first year you claim that credit and then holds for every later year.","help_lines":["Your earlier Form 6251 and its Form 1116 marked AMT show whether you claimed that credit before, and how."],"help_when":[],"id":"foreign_tax.amt_simplified_limitation","includes_united_states":false,"kind":"choice","label":"Which applies to you for the simplified limitation choice?","label_when":[],"options":[{"label":"I made it in an earlier year.","value":"made_earlier"},{"label":"I claimed that credit before without making it.","value":"not_made_earlier"},{"label":"This is my first year with that credit, and I make it.","value":"making_now"},{"label":"This is my first year with that credit, and I do not make it.","value":"not_making_now"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_tax.has_foreign_taxes"},{"op":"truthy","ref":"foreign_tax.has_ftc_carryovers"}]}},{"add_label":"Add a treaty position","binds":"treaty_positions[]","help":"Add one row per position. Your advisor will give you the article and the wording.","id":"foreign_tax.treaty_positions","kind":"repeat","label":"Which treaty benefits are you claiming?","min_rows":1,"nodes":[{"binds":"treaty_positions[].treaty_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your advisor's note.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.treaty_country","includes_united_states":false,"kind":"country","label":"Which country's treaty are you relying on?","label_when":[],"off_ramp":{"body":"The IRS publishes a list of the countries that have an income tax treaty in effect with the United States, and a treaty position has to rest on one of them. The country you chose is not on that list, so we cannot file the position.","code":"treaty_country_not_in_table_3","next_step":"Check the country, remove the position if you do not need to list it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"That country is not on the IRS list of treaties in effect","when":{"op":"in","ref":"foreign_tax.treaty_positions.treaty_country","values":["AF","IRS:AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AW","IRS:AT","BS","BH","IRS:FQ","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","VG","BN","BF","MM","BI","KH","CM","CV","KY","CF","TD","CX","IRS:IP","CC","CO","KM","CG","CD","CK","IRS:CR","CR","CI","HR","CU","CW","IRS:DX","DJ","DM","DO","TL","EC","SV","GQ","ER","ET","FK","FO","FM","FJ","PF","TF","GA","GM","GH","GI","GL","GD","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","IRS:HQ","HU","IR","IQ","IRS:JN","IRS:DQ","JE","IRS:JQ","JO","KE","IRS:KQ","KI","KP","IRS:KV","KW","LA","LB","LS","LR","LY","LI","MO","MK","MG","MW","MY","MV","ML","IM","MH","MR","MU","IRS:MQ","MC","MN","ME","MS","MZ","NA","NR","IRS:BQ","NP","NC","NI","NE","NG","NU","NF","MP","OM","IRS:OC","PW","IRS:LQ","PA","PG","IRS:PF","PY","PE","PN","PR","QA","RW","BL","MF","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SB","SO","GS","SS","IRS:PG","SH","KN","LC","PM","VC","SD","SR","IRS:SV","SZ","SY","TW","TZ","TG","TK","TO","TC","TV","UG","AE","UY","VU","VN","VI","IRS:WQ","WF","EH","YE","ZM","ZW"]}},"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"treaty_positions[].treaty_article","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your advisor names the article, for example Article 17(2).","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.treaty_article","includes_united_states":false,"kind":"text","label":"Which article of that treaty gives you the benefit?","label_when":[],"options":[],"placeholder":"Article 17(2)","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"treaty_positions[].position_summary","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A sentence or two, which goes on the disclosure form as your explanation.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.position_summary","includes_united_states":false,"kind":"text","label":"In your own words, what are you claiming?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"narrative_text":{"message":"Use ordinary letters, numbers and punctuation here. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write it in 9,000 characters or fewer, which is all the form has room for."}},"validators":["narrative_text"]},{"binds":"treaty_positions[].effect","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A treaty position listed here does not change how anything you entered on this return is worked out, so a position that lowers the tax on one of them cannot be filed from here yet.","help_lines":["You do not need to list a position about a pension, an annuity or social security: reporting one on the disclosure form is not required.","A position about the foreign tax credit is filed with the tax you entered under the category for income a treaty moves to the other country, except income moved under the treaty's relief from double taxation for United States citizens who live in that country, which is handled apart and not prepared here."],"help_when":[],"id":"foreign_tax.treaty_positions.effect","includes_united_states":false,"kind":"choice","label":"What does this position change on your return?","label_when":[],"off_ramp":{"body":"A treaty position listed here does not change how anything you entered is worked out, and income a treaty moves under its relief for United States citizens who live in the other country is not prepared here, so we cannot file this position with your return.","code":"treaty_position_not_applied","next_step":"Remove the position if you do not need to list it, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We cannot file this treaty position from here","when":{"op":"in","ref":"foreign_tax.treaty_positions.effect","values":["tax_on_reported_income","citizen_resident_relief"]}},"options":[{"help":"Choosing this means your return cannot be filed from here, because a treaty position listed here does not change how anything you entered is worked out.","label":"It lowers or removes the United States tax on income you entered on this return.","value":"tax_on_reported_income"},{"label":"It covers income you have not entered anywhere on this return.","value":"income_not_reported"},{"label":"It treats income as coming from the other country for the foreign tax credit.","value":"resourced_for_credit"},{"help":"Choosing this means your return cannot be filed from here, because that income is handled apart from other income a treaty moves, which we do not prepare.","label":"It treats income as coming from the other country under the treaty's relief from double taxation for United States citizens who live there.","value":"citizen_resident_relief"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"treaty_positions[].income_amount","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The amount from the payer statement the treaty applies to.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.income_amount","includes_united_states":false,"kind":"money","label":"How much of your income does it cover?","label_when":[],"options":[],"placeholder":"24000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"treaty_positions[].is_disclosure_required","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most positions have to be disclosed. Your advisor will say if yours is one of the exceptions.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.is_disclosure_required","includes_united_states":false,"kind":"yesno","label":"Do you have to tell the IRS you are taking this position?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"treaty_positions[].disclosed_under_section_6114","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"This is the first checkbox at the top of the disclosure form, and it covers most claims.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.disclosed_under_section_6114","includes_united_states":false,"kind":"yesno","label":"Are you disclosing it as an ordinary treaty claim?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"treaty_positions[].dual_resident_disclosure_7701b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"This is the second checkbox at the top of the disclosure form. That position is filed on a nonresident return, which we do not prepare, so a yes means this return cannot be filed from here.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.dual_resident_disclosure_7701b","includes_united_states":false,"kind":"yesno","label":"Are you disclosing it because two countries both treat you as resident?","label_when":[],"off_ramp":{"body":"Taking the treaty's residence in the other country when both countries treat you as resident is open only to someone who is not a United States citizen, and it is filed on a nonresident return, Form 1040-NR, which we do not prepare. For someone who has held a green card in at least 8 of the last 15 years it is also treated as ending United States residency for federal income tax purposes, with Form 8854.","code":"treaty_dual_resident_position","next_step":"Answer no if this is not your position, or use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"We cannot file a dual-resident treaty position","when":{"op":"truthy","ref":"foreign_tax.treaty_positions.dual_resident_disclosure_7701b"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"treaty_positions[].reporting_specifically_required_6114_1b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 8833 line 5 asks about positions that Regulations section 301.6114-1(b) specifically requires you to report. If the position is not one of those, answer no. Your advisor can tell you which subsection applies. Choose Not sure if it has not been settled.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.reporting_specifically_required_6114_1b","includes_united_states":false,"kind":"yesno","label":"Do the regulations specifically require you to report this position?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"treaty_positions[].specific_subsection_6114_1b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your advisor names it. The IRS form has room for twenty characters, so write the subsection exactly as they give it and nothing more.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.specific_subsection_6114_1b","includes_united_states":false,"kind":"text","label":"Which subsection requires you to report it?","label_when":[],"options":[],"placeholder":"301.6114-1(b)(4)","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"irc_subsection_20":{"message":"Write the subsection in ordinary letters, numbers and parentheses.","message_too_long":"Write it in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["irc_subsection_20"],"visible_when":{"op":"eq","ref":"foreign_tax.treaty_positions.reporting_specifically_required_6114_1b","value":true}},{"binds":"treaty_positions[].saving_clause_exception_cited","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your advisor names the paragraph of the treaty that allows it.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.saving_clause_exception_cited","includes_united_states":false,"kind":"text","label":"Which exception lets you claim it even though you are a United States taxpayer?","label_when":[],"options":[],"placeholder":"Article 1(5)(a)","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"narrative_text":{"message":"Use ordinary letters, numbers and punctuation here. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write it in 9,000 characters or fewer, which is all the form has room for."}},"validators":["narrative_text"]},{"add_label":"Add a section","binds":"treaty_positions[].internal_revenue_code_sections[]","help":"Add one row per section. Your advisor will list them.","id":"foreign_tax.treaty_positions.internal_revenue_code_sections","kind":"repeat","label":"Which United States tax law sections does your position override?","min_rows":0,"nodes":[{"binds":"treaty_positions[].internal_revenue_code_sections[]","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A section number from your advisor's note, for example 61.","help_lines":[],"help_when":[],"id":"foreign_tax.treaty_positions.internal_revenue_code_sections.item","includes_united_states":false,"kind":"text","label":"Which section are you overriding?","label_when":[],"options":[],"placeholder":"61","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]}],"row_label":"Section"}],"row_label":"Treaty position","visible_when":{"op":"truthy","ref":"foreign_tax.has_treaty_positions"}}],"review":true,"title":"Tax you paid abroad","visible_when":{"op":"or","rules":[{"op":"truthy","ref":"fit.paid_foreign_tax"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.earned_in_country"},{"op":"ne","ref":"income_sources.wages.earned_in_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.self_employment","rules":[{"op":"truthy","ref":"income_sources.self_employment.foreign_sourced"}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"truthy","ref":"income_sources.investment_income.foreign_source"}]},{"op":"any_row","ref":"income_sources.passive_income","rules":[{"op":"eq","ref":"income_sources.passive_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.capital_transactions","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.taxed_abroad"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.capital_transactions.property_country"},{"op":"ne","ref":"income_sources.capital_transactions.property_country","value":"US"}]}]}]},{"op":"any_row","ref":"income_sources.rentals","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.rentals.location_country"},{"op":"ne","ref":"income_sources.rentals.location_country","value":"US"}]}]},{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"eq","ref":"income_sources.royalties.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.source","value":"foreign"}]},{"op":"any_row","ref":"income_sources.unemployment","rules":[{"op":"eq","ref":"income_sources.unemployment.source","value":"foreign"}]},{"op":"truthy","ref":"income_sources.has_foreign_social_security"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"gt","ref":"income_sources.schedule_k1s.foreign_taxes","value":0}]},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"truthy","ref":"income_sources.schedule_k1s.k3_foreign_items"}]}]}},{"blurb":"Your time abroad decides whether you can leave some foreign pay out of your income (the foreign earned income exclusion). Have your passport, lease and work contract nearby.","id":"where_you_lived","nodes":[{"add_label":"Add an address abroad","binds":"residency.stints[]","help":"One address outside the United States is enough, and we use the most recent one: Form 2555 and the form beside pay or a pension from abroad both need one. Add a row for each earlier address only if you are claiming the settled-residence route and it did not cover the whole year, because then the dates decide how much of the year counts.","id":"where_you_lived.residency.stints","kind":"repeat","label":"Where did you live abroad, and when?","min_rows":1,"nodes":[{"address_variant":"foreign","binds":"residency.stints[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your lease, your utility bill or your registration with the local authority. It has to be outside the United States.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.stints.address","includes_united_states":false,"kind":"address","label":"What was your address abroad?","label_when":[],"offers_address_from":"about_you.taxpayer.mailing_address","options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"residency.stints[].start_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your lease or your registration paper gives the date.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.stints.start_date","includes_united_states":false,"kind":"date","label":"What was the first day you lived at that address?","label_when":[],"options":[],"placeholder":"2024-06-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"residency.stints[].end_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it blank if you still live there. Your notice letter or moving invoice gives the date.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.stints.end_date","includes_united_states":false,"kind":"date","label":"What was the last day you lived there?","label_when":[],"options":[],"placeholder":"2025-12-31","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"off_ramp":{"body":"The day-count test needs 330 full days inside a foreign country in some 12 months in a row that overlap the tax year. The settled-residence test needs a home abroad that covers the whole tax year without a break. The dates you gave reach neither, so we have not filled in either test.","code":"feie_neither_test_met","next_step":"Check the dates of your addresses abroad, then answer the questions about the two tests from your passport stamps. The credit for tax paid abroad does not depend on either test.","severity":"info","title":"Your dates meet neither test","when":{"op":"and","rules":[{"op":"derived","ref":"where_you_lived.stints_complete"},{"op":"not","rules":[{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}},"row_label":"Address abroad","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"ne","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.uses_physical_presence","value":false},{"op":"eq","ref":"where_you_lived.uses_bona_fide_residence","value":false}]}]}]}]}},{"binds":"claims_automatic_2month_extension","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your lease and contract are the record: outside the United States and Puerto Rico. Both have to be true on the regular April filing date. It also covers military or naval service on duty outside the United States and Puerto Rico.","help_lines":[],"help_when":[],"id":"where_you_lived.claims_automatic_2month_extension","includes_united_states":false,"kind":"yesno","label":"On the April due date, did you live and mainly work abroad?","label_when":[],"off_ramp":{"body":"Your home and main place of work are both outside the United States and Puerto Rico on the regular due date, so you get an automatic two-month extension. The return has to carry a statement saying so.","code":"overseas_extension_statement_required","next_step":"Continue with your answers. We attach the statement for you before you sign.","severity":"info","title":"You get two extra months to file","when":{"op":"truthy","ref":"where_you_lived.claims_automatic_2month_extension"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"feie_prior_claims.previously_filed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That return would carry a Form 2555. Your own copy of an earlier return is the record. Say no if you have never claimed it.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.previously_filed","includes_united_states":false,"kind":"yesno","label":"Have you ever filed a United States return that left out pay earned abroad?","label_when":[],"off_ramp":{"body":"Leaving out pay earned abroad on an earlier return is a choice that stays in effect for later years until it is given up. Taking the credit for foreign tax, the additional child tax credit or the earned income credit for a later year counts as giving it up, and once given up it cannot be claimed again for the next five tax years without the IRS's approval.","code":"feie_prior_choice_in_effect","next_step":"Answer the questions about that return next. Your return says if this year gives the claim up.","severity":"info","title":"An earlier claim carries on until it is given up","when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}},{"binds":"feie_prior_claims.last_year_filed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax year printed at the top of that earlier return.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.last_year_filed","includes_united_states":false,"kind":"integer","label":"Which was the last year you claimed it?","label_when":[],"options":[],"placeholder":"2023","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","required_when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year printed at the top of that earlier return, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"}]}},{"binds":"feie_prior_claims.housing_claimed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The housing exclusion is line 36 of Form 2555. Your copy shows whether it holds an amount. A housing deduction alone (Part IX) is a no, even though it fills in Part VI.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.housing_claimed_last_year","includes_united_states":false,"kind":"yesno","label":"Did your Form 2555 on that return also claim the housing exclusion (line 36)?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"}]}},{"binds":"feie_prior_claims.claims_before_tax_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your last Form 2555 is for {context.return_year} or later, so it does not show the years before.","help_lines":["A claim carries on into later years but never back, so this return makes a new claim unless a return for an earlier year already made it.","Your copies of those returns show it.","Choose Not sure if you cannot check: where the answer decides this return, it cannot be filed from here until it is answered."],"help_when":[],"id":"where_you_lived.feie_prior_claims.claims_before_tax_year","includes_united_states":false,"kind":"choice","label":"Which exclusions did your returns for years before {context.return_year} claim?","label_when":[],"options":[{"label":"The exclusion for pay earned abroad","value":"pay"},{"label":"That exclusion and the housing exclusion","value":"pay_and_housing"},{"label":"The housing exclusion only","value":"housing"},{"label":"Neither of them","value":"neither"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2017}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2018}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2019}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2020}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2021}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2022}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2023}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2024}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2025}]}]}]}]}},{"binds":"feie_prior_claims.credit_taken_since","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A foreign tax credit or deduction for tax on pay you earned abroad, the additional child tax credit and the earned income credit each count: taking one in a later year gives up the exclusion for that year, even if you never sent a statement. A foreign tax credit only for tax on other income, such as dividends, is not what this asks about. Your returns for the years since show it.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.credit_taken_since","includes_united_states":false,"kind":"yesno","label":"Since then, did you take a credit that gives up the exclusion?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2017}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2018}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2019}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2020}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2021}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2022}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2023}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2024}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"lt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2025}]}]}]}]}},{"binds":"feie_prior_claims.first_credit_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first tax year after your last Form 2555 that you took one of them.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.first_credit_year","includes_united_states":false,"kind":"integer","label":"Which was the first year you took one?","label_when":[],"options":[],"placeholder":"2023","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","required_when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.credit_taken_since"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter a four-digit year between 1960 and 2099."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.credit_taken_since"}]}},{"binds":"feie_prior_claims.housing_ever_claimed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The housing exclusion is line 36 of Form 2555 on the forms since 2018. Say no if you have never claimed it, even if you paid rent abroad. A housing deduction alone (Part IX) is also a no, even though it fills in Part VI.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.housing_ever_claimed","includes_united_states":false,"kind":"yesno","label":"Did an earlier Form 2555 of yours claim the housing exclusion?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.prior_housing_history_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"eq","ref":"where_you_lived.feie_prior_claims.housing_claimed_last_year","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"eq","ref":"where_you_lived.feie_prior_claims.housing_claimed_last_year","value":false}]}]}},{"binds":"feie_prior_claims.housing_left_out_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first year after you last claimed the housing exclusion in which your Form 2555 left it out although you had housing costs abroad. Leave it blank if every year you left it out had no housing costs abroad, such as a year you owned your home. Leaving it out in a year with housing costs gave it up that year, and it cannot be claimed again for five years without the IRS's approval.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.housing_left_out_year","includes_united_states":false,"kind":"integer","label":"After your last housing claim, which year first had costs abroad but no exclusion?","label_when":[],"options":[],"placeholder":"2022","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter a four-digit year between 1960 and 2099."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.housing_ever_claimed"}]}},{"binds":"feie_prior_claims.ever_revoked","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Giving one up is a written statement attached to a return, so your own copy will show it. Taking a foreign tax credit for tax on pay you earned abroad, the additional child tax credit or the earned income credit in a later year counts as giving it up too, and the next questions ask about that.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.ever_revoked","includes_united_states":false,"kind":"yesno","label":"Have you ever told the IRS you were giving up either exclusion, for pay you earned abroad or for your housing costs?","label_when":[],"off_ramp":{"body":"Once that claim has been given up, it cannot be made again for the next five years without the approval of the IRS. The years you list next decide whether this year is inside those five.","code":"feie_revocation_on_record","next_step":"Add each year it was given up to your list of claims given up, and we work out what you can claim this year.","severity":"info","title":"Giving up the exclusion stops it for five years","when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.ever_revoked"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"}]}},{"add_label":"Add a year it was given up","binds":"feie_prior_claims.revocations[]","help":"Add a row for each statement that was sent.","id":"where_you_lived.feie_prior_claims.revocations","kind":"repeat","label":"Which claims did you give up, and for which year?","min_rows":1,"nodes":[{"binds":"feie_prior_claims.revocations[].exclusion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 carries two exclusions. One is for the pay you earned abroad, the other for what your housing abroad cost. They can be given up separately, and your copy of the statement says which one it was.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.revocations.exclusion","includes_united_states":false,"kind":"choice","label":"Which one did you give up?","label_when":[],"options":[{"label":"The exclusion for pay you earned abroad.","value":"feie"},{"label":"The exclusion for what your housing abroad cost.","value":"housing"},{"label":"Both of them.","value":"both"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"feie_prior_claims.revocations[].effective_tax_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The year named in your statement.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.revocations.effective_tax_year","includes_united_states":false,"kind":"integer","label":"From which tax year did your statement take effect?","label_when":[],"options":[],"placeholder":"2021","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in your statement, for example 2021."}},"validators":["tax_year_range"]}],"row_label":"Year given up","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.ever_revoked"}]}},{"binds":"feie_prior_claims.irs_approved_reelection","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That permission comes as a ruling letter addressed to you. Say no if none has ever arrived.","help_lines":[],"help_when":[],"id":"where_you_lived.feie_prior_claims.irs_approved_reelection","includes_united_states":false,"kind":"yesno","label":"Has the IRS written to you giving permission to claim it again?","label_when":[],"off_ramp":{"body":"A ruling letter that lets the claim be made again has to be read alongside the return.","code":"complex_feie_election","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a claim that rests on a permission letter","when":{"op":"truthy","ref":"where_you_lived.feie_prior_claims.irs_approved_reelection"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.ever_revoked"}]}},{"binds":"foreign_gift_facts.abroad_condition","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You said you live and mainly work abroad on that day, which gives two more months to file. The statement your Form 3520 needs names which of the two it is.","help_lines":["Choose Not sure only if you cannot tell: we cannot prepare your Form 3520, or file this return from here, until it is answered."],"help_when":[],"id":"where_you_lived.foreign_gift_facts.abroad_condition","includes_united_states":false,"kind":"choice","label":"On the April due date, were you working abroad or on military duty abroad?","label_when":[],"options":[{"label":"Living and mainly working outside the US and Puerto Rico","value":"lives_and_works_abroad"},{"label":"On military or naval duty outside the US and Puerto Rico","value":"military_duty_abroad"}],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f3520.compute_form_3520","required_when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.claims_automatic_2month_extension"},{"op":"truthy","ref":"income_sources.received_foreign_gift"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.claims_automatic_2month_extension"},{"op":"truthy","ref":"income_sources.received_foreign_gift"}]}},{"binds":"spouse_feie_prior_claims.previously_filed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That return would carry a Form 2555. Their own copy of an earlier return is the record. Say no if they have never claimed it.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.previously_filed","includes_united_states":false,"kind":"yesno","label":"Has your spouse ever filed a United States return leaving out pay earned abroad?","label_when":[],"off_ramp":{"body":"Leaving out pay earned abroad on an earlier return is a choice that stays in effect for your spouse's later years until it is given up. Taking the credit for foreign tax, the additional child tax credit or the earned income credit for a later year counts as giving it up, and once given up it cannot be claimed again for the next five tax years without the IRS's approval.","code":"feie_prior_choice_in_effect","next_step":"Answer the questions about that return next. Your return says if this year gives the claim up.","severity":"info","title":"An earlier claim carries on until it is given up","when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]}},{"binds":"spouse_feie_prior_claims.last_year_filed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax year printed at the top of that earlier return of theirs.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","includes_united_states":false,"kind":"integer","label":"Which was the last year your spouse claimed it?","label_when":[],"options":[],"placeholder":"2023","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","required_when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year printed at the top of that earlier return of theirs, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"}]}},{"binds":"spouse_feie_prior_claims.housing_claimed_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The housing exclusion is line 36 of Form 2555. Their copy shows whether it holds an amount. A housing deduction alone (Part IX) is a no, even though it fills in Part VI.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.housing_claimed_last_year","includes_united_states":false,"kind":"yesno","label":"Did your spouse's Form 2555 there also claim the housing exclusion (line 36)?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"}]}},{"binds":"spouse_feie_prior_claims.claims_before_tax_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their last Form 2555 is for {context.return_year} or later, so it does not show the years before.","help_lines":["A claim carries on into later years but never back, so this return makes a new claim for them unless a return of theirs for an earlier year already made it.","Their copies of those returns show it.","Choose Not sure if you cannot check: where the answer decides this return, it cannot be filed from here until it is answered."],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.claims_before_tax_year","includes_united_states":false,"kind":"choice","label":"Which exclusions did your spouse's returns for years before {context.return_year} claim?","label_when":[],"options":[{"label":"The exclusion for pay earned abroad","value":"pay"},{"label":"That exclusion and the housing exclusion","value":"pay_and_housing"},{"label":"The housing exclusion only","value":"housing"},{"label":"Neither of them","value":"neither"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2017}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2018}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2019}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2020}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2021}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2022}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2023}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2024}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"gt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2025}]}]}]}]}},{"binds":"spouse_feie_prior_claims.credit_taken_since","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A foreign tax credit or deduction for tax on pay they earned abroad, the additional child tax credit and the earned income credit each count: taking one in a later year gives up the exclusion for that year, even if no statement was sent. A foreign tax credit only for tax on other income, such as dividends, is not what this asks about. Their returns for the years since show it.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.credit_taken_since","includes_united_states":false,"kind":"yesno","label":"Since then, did your spouse take a credit that gives up the exclusion?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2017}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2018}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2019}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2020}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2021}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2022}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2023}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2024}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"lt","ref":"spouse_abroad.spouse_feie_prior_claims.last_year_filed","value":2025}]}]}]}]}},{"binds":"spouse_feie_prior_claims.first_credit_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first tax year after their last Form 2555 that they took one of them.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.first_credit_year","includes_united_states":false,"kind":"integer","label":"Which was the first year your spouse took one?","label_when":[],"options":[],"placeholder":"2023","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.PriorFEIEClaims._check_consistency","required_when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.credit_taken_since"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter a four-digit year between 1960 and 2099."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.credit_taken_since"}]}},{"binds":"spouse_feie_prior_claims.housing_ever_claimed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The housing exclusion is line 36 of Form 2555 on the forms since 2018. Say no if they have never claimed it, even if they paid rent abroad. A housing deduction alone (Part IX) is also a no, even though it fills in Part VI.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.housing_ever_claimed","includes_united_states":false,"kind":"yesno","label":"Did an earlier Form 2555 of your spouse's claim the housing exclusion?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.prior_housing_history_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},{"op":"eq","ref":"spouse_abroad.spouse_feie_prior_claims.housing_claimed_last_year","value":false}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},{"op":"eq","ref":"spouse_abroad.spouse_feie_prior_claims.housing_claimed_last_year","value":false}]}]}},{"binds":"spouse_feie_prior_claims.housing_left_out_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The first year after your spouse last claimed the housing exclusion in which their Form 2555 left it out although they had housing costs abroad. Leave it blank if every year they left it out had no housing costs abroad, such as a year they owned their home. Leaving it out in a year with housing costs gave it up that year, and it cannot be claimed again for five years without the IRS's approval.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.housing_left_out_year","includes_united_states":false,"kind":"integer","label":"After your spouse's last housing claim, which year first had costs but no exclusion?","label_when":[],"options":[],"placeholder":"2022","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter a four-digit year between 1960 and 2099."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.housing_ever_claimed"}]}},{"binds":"spouse_feie_prior_claims.ever_revoked","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Giving one up is a written statement attached to a return, so their own copy will show it. Taking a foreign tax credit for tax on pay they earned abroad, the additional child tax credit or the earned income credit in a later year counts as giving it up too, and the next questions ask about that.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.ever_revoked","includes_united_states":false,"kind":"yesno","label":"Has your spouse ever told the IRS they were giving up the exclusion for pay earned abroad or for housing costs?","label_when":[],"off_ramp":{"body":"Once your spouse has given up that claim, it cannot be made again for the next five years without the approval of the IRS. The years you list next decide whether this year is inside those five.","code":"feie_revocation_on_record","next_step":"Add each year your spouse gave it up to your list of claims given up, and we work out what they can claim this year.","severity":"info","title":"Giving up the exclusion stops it for five years","when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.ever_revoked"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"}]}},{"add_label":"Add a year it was given up","binds":"spouse_feie_prior_claims.revocations[]","help":"Add a row for each statement they sent.","id":"spouse_abroad.spouse_feie_prior_claims.revocations","kind":"repeat","label":"Which claims did your spouse give up, and for which year?","min_rows":1,"nodes":[{"binds":"spouse_feie_prior_claims.revocations[].exclusion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 carries two exclusions. One is for the pay they earned abroad, the other for what their housing abroad cost. They can be given up separately, and their copy of the statement says which one it was.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.revocations.exclusion","includes_united_states":false,"kind":"choice","label":"Which one did your spouse give up?","label_when":[],"options":[{"label":"The exclusion for pay your spouse earned abroad.","value":"feie"},{"label":"The exclusion for what their housing abroad cost.","value":"housing"},{"label":"Both of them.","value":"both"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_feie_prior_claims.revocations[].effective_tax_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The year named in their statement.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.revocations.effective_tax_year","includes_united_states":false,"kind":"integer","label":"From which tax year did your spouse's statement take effect?","label_when":[],"options":[],"placeholder":"2021","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in their statement, for example 2021."}},"validators":["tax_year_range"]}],"row_label":"Year given up","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.ever_revoked"}]}},{"binds":"spouse_feie_prior_claims.irs_approved_reelection","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That permission comes as a ruling letter addressed to them. Say no if none has ever arrived.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_feie_prior_claims.irs_approved_reelection","includes_united_states":false,"kind":"yesno","label":"Has the IRS written to your spouse giving permission to claim it again?","label_when":[],"off_ramp":{"body":"A ruling letter that lets the claim be made again has to be read alongside the return.","code":"complex_feie_election","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a claim that rests on a permission letter","when":{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.irs_approved_reelection"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.ever_revoked"}]}},{"binds":"pay_abroad_treatment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leaving it out with the exclusion needs the days or the residence abroad of whoever earned it. Keeping it in with the credit for the tax paid abroad on it does not.","help_lines":["If you choose to see both, we ask about the time abroad and show the return worked out both ways on the last page, where you choose.","Choosing the credit only removes any answers already given about days and residence abroad."],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.compare_credit_only_line_22","value":-1},{"op":"lt","ref":"context.compare_credit_only_line_22","value":1}]},"From your answers so far, your United States income tax this year is {context.compare_credit_only_line_22} with the credit for foreign tax alone, before any self-employment tax or other taxes added after it. Leaving pay out with the exclusion cannot lower it further this year."],[{"op":"gt","ref":"context.compare_credit_only_line_22","value":0},"From your answers so far, your United States income tax this year is {context.compare_credit_only_line_22} with the credit for foreign tax alone, before any self-employment tax or other taxes added after it. The exclusion could lower it, by as much as {context.compare_credit_only_line_22} at most, leave it as it is, or raise it: that depends on the time abroad, which we have not asked about yet, and on how much of the foreign tax it leaves creditable."],[{"op":"and","rules":[{"op":"gt","ref":"context.compare_credit_only_line_22","value":-1},{"op":"gt","ref":"context.compare_credit_only_card_simplified_line_22","value":-1}]},"That figure is worked out without the simplified limitation choice for the credit for foreign tax under the alternative minimum tax. With that choice it would be {context.compare_credit_only_card_simplified_line_22}. That choice is yours, and it is made in the first year you claim that credit."],[{"op":"and","rules":[{"op":"gt","ref":"context.compare_credit_only_line_22","value":-1},{"op":"gt","ref":"context.compare_credit_only_card_actc","value":0}]},"With the credit you keep an additional child tax credit of {context.compare_credit_only_card_actc}. The exclusion would give it up for this year."],[{"op":"and","rules":[{"op":"gt","ref":"context.compare_credit_only_line_22","value":-1},{"op":"gt","ref":"context.compare_credit_only_card_carryforward","value":0}]},"With the credit, {context.compare_credit_only_card_carryforward} of your foreign tax is left for later years. Tax paid abroad on pay left out with the exclusion cannot be credited or carried to later years."],[{"op":"gt","ref":"context.compare_credit_only_earlier_blank","value":-1},"{context.compare_credit_only_earlier_blank} Your tax with the credit alone is worked out once that is answered."],[{"op":"gt","ref":"context.compare_credit_only_revokes_primary","value":-1},"You claimed the exclusion on your {context.compare_credit_only_revokes_primary} return. Keeping your pay in with the credit gives that choice up, and it cannot be claimed again for the next five tax years without the IRS's approval (Publication 54, Effect of Revoking the Exclusions)."],[{"op":"gt","ref":"context.compare_credit_only_revokes_primary_housing","value":-1},"Your choice on that return to leave out housing costs is given up the same way."],[{"op":"gt","ref":"context.compare_credit_only_revokes_spouse","value":-1},"Your spouse claimed the exclusion on their {context.compare_credit_only_revokes_spouse} return. Keeping their pay in with the credit gives that choice up, and it cannot be claimed again for the next five tax years without the IRS's approval (Publication 54, Effect of Revoking the Exclusions)."],[{"op":"gt","ref":"context.compare_credit_only_revokes_spouse_housing","value":-1},"Your spouse's choice on that return to leave out housing costs is given up the same way."],[{"op":"gt","ref":"context.compare_primary_barred","value":-1},"You gave up the exclusion within the last five years, so it is not open to you this year without the IRS's approval."],[{"op":"gt","ref":"context.compare_spouse_barred","value":-1},"Your spouse gave up the exclusion within the last five years, so it is not open to them this year without the IRS's approval."],[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"This answer is for you both. If only one of you may want the exclusion, choose to see both: each of you then chooses on the last page."],[{"op":"or","rules":[{"op":"gt","ref":"context.compare_credit_only_line_22","value":-1},{"op":"gt","ref":"context.compare_credit_only_earlier_blank","value":-1}]},"This is your choice, and you can change it before you file."]],"id":"where_you_lived.pay_abroad_treatment","includes_united_states":false,"kind":"choice","label":"How do you want pay from work abroad treated on this return?","label_when":[],"options":[{"label":"Leave it out with the exclusion, and ask about time abroad next.","value":"claim"},{"clears":["where_you_lived.uses_physical_presence","where_you_lived.uses_bona_fide_residence","spouse_abroad.uses_physical_presence","spouse_abroad.uses_bona_fide_residence"],"label":"Keep it in with the credit for foreign tax only, and do not ask about time abroad.","value":"credit_only"},{"label":"Show both before choosing, and ask about time abroad next.","value":"compare"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]}},{"clears":["where_you_lived.physical_presence.test_period_start","where_you_lived.physical_presence.test_period_end","where_you_lived.abroad_whole_period","where_you_lived.abroad_whole_period_country","where_you_lived.travel_by_trips","where_you_lived.physical_presence.trips","where_you_lived.physical_presence.travel_days","where_you_lived.abroad_when_stretch_began","where_you_lived.abroad_when_stretch_ended"],"currency_pickable":false,"derived_from_presence":["physical_presence"],"help":"Your passport stamps are the record: the 12 months must overlap this tax year. A full day is a whole day, midnight to midnight, inside a foreign country.","help_lines":["The IRS calls this the physical presence test.","The 12 months do not have to match the tax year and can start in the year before.","Say yes if you were abroad for most of such a period, and we will count the days from what you type and tell you the result with your return."],"help_when":[],"id":"where_you_lived.uses_physical_presence","includes_united_states":false,"kind":"yesno","label":"Were you abroad at least 330 full days in 12 months in a row?","label_when":[],"off_ramp":{"body":"Your addresses abroad cover the whole tax year, and the settled-residence test counts {derived.where_you_lived.bfr_settled_days}. The day-count test counts fewer days of this year here: its 12 months cover only part of the year, or your stays give fewer than 330 full days abroad in them.","code":"feie_settled_residence_counts_more","next_step":"Say yes to the settled-residence test and no to this one if you made your home abroad. Keep the day-count test if your stay was always meant to be temporary.","severity":"info","title":"The settled-residence test counts more days of this year","when":{"op":"and","rules":[{"op":"eq","ref":"fit.citizenship_or_residency","value":"us_citizen"},{"op":"derived","ref":"where_you_lived.bfr_full_year"},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]},{"op":"derived","ref":"where_you_lived.bfr_counts_more"}]}},"options":[],"prefills":[{"confirm":true,"exact":false,"note":"Filled in because the addresses abroad you gave hold at least 330 full days abroad in some 12 months that overlap this year. Change it if that is not right.","value":true,"when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"clears":["where_you_lived.bona_fide_residence.country_of_residence","where_you_lived.bona_fide_residence.residence_began_on","where_you_lived.bfr_residence_abroad_ended","where_you_lived.bona_fide_residence.residence_abroad_ended_on","where_you_lived.bona_fide_residence.settled_through_following_year","where_you_lived.bfr_residence_ended","where_you_lived.bona_fide_residence.residence_ended_on","where_you_lived.bfr_travel_away","where_you_lived.bfr_travel_by_trips","where_you_lived.bona_fide_residence.trips","where_you_lived.bona_fide_residence.travel_days"],"currency_pickable":false,"derived_from_presence":["bona_fide_residence"],"help":"Your residence permit and local registration are the record: it must cover one whole calendar year with no break. The period can start before that year and end after it.","help_lines":["The IRS calls this the bona fide residence test.","A stay you always meant to be temporary does not count, however long it lasted.","Say yes if you made your home there rather than staying for a job with an end date in sight.","If you also said yes to the 330-day test, answer only one of the two: the form is completed one way or the other, and you will be asked for far less."],"help_when":[],"id":"where_you_lived.uses_bona_fide_residence","includes_united_states":false,"kind":"yesno","label":"Were you settled in one or more foreign countries, January 1 to December 31?","label_when":[],"off_ramp":{"body":"You have said yes to both ways of qualifying. The form is completed one way or the other, so answering both means we ask you for two sets of travel and residence records when one will do.","code":"both_exclusion_routes_claimed","next_step":"Go back and leave one of the two as no, whichever you have the better records for.","severity":"info","title":"You only need to answer one of these two","when":{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}},"options":[],"prefills":[{"confirm":true,"exact":false,"note":"Filled in as no because the day-count route is the one your dates point to. Say yes if you were also settled there for the whole year.","value":false,"when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"residency.tax_home.country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country where you worked day to day, from your contract. With no regular base, give the country where you regularly lived. The IRS calls this your tax home.","help_lines":["The instructions say you have no main place of work abroad for any period during which your home was in the United States."],"help_when":[],"id":"where_you_lived.residency.tax_home.country","includes_united_states":false,"kind":"country","label":"{name}, which country held your main place of work?","label_when":[],"off_ramp":{"body":"The exclusion of pay earned abroad needs a main place of work in a foreign country. The United States, its territories and Antarctica do not count as one.","code":"tax_home_not_abroad","next_step":"Choose the foreign country where the work was based, or do not claim the exclusion.","severity":"block","title":"A main place of work abroad has to be in a foreign country","when":{"op":"in","ref":"where_you_lived.residency.tax_home.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}},"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":true,"exact":false,"note":"Filled in from your address abroad. Change it if your work was based in another country.","value_from":"where_you_lived.stints_one_country","when":{"op":"derived","ref":"where_you_lived.stints_one_country"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}},{"binds":"residency.tax_home.city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on your employment contract, or your office address. If your work had no regular base, give the city or town where you regularly lived.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.tax_home.city","includes_united_states":false,"kind":"text","label":"Which city or town was your main place of work in?","label_when":[],"options":[],"placeholder":"Berlin","prefills":[{"confirm":true,"exact":false,"note":"Filled in from your first address in that country. Change it if the work was based in another place.","value_from":"where_you_lived.tax_home_city","when":{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"}},{"confirm":true,"exact":false,"note":"Filled in from your first address abroad. Change it if the work was based in another place.","value_from":"where_you_lived.one_country_city","when":{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.tax_home.country"}]}}],"required":false,"required_validator":"expatreturn_us.interview.authoring.conditional_requirements","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"},{"op":"derived","ref":"where_you_lived.tax_home_city"}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.tax_home.country"}]},{"op":"derived","ref":"where_you_lived.one_country_city"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_home_city":{"message":"Write the name of the place in ordinary letters, numbers and punctuation, the accented letters used in Spanish, and single spaces between words, which is what Form 2555 line 9 takes.","message_too_long":"Write a shorter name for the place: Form 2555 line 9 has room for 35 characters for the city or town and the name of the country together."}},"validators":["tax_home_city"],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}},{"binds":"residency.tax_home.established_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your contract start date, or the day your business opened there. With no regular base for your work, the day you settled there.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.tax_home.established_on","includes_united_states":false,"kind":"date","label":"From which day was that your main place of work?","label_when":[],"options":[],"placeholder":"2024-06-01","prefills":[{"confirm":true,"exact":false,"note":"Filled in with the first day you lived at an address in that country. Change it if the work there began on another day.","value_from":"where_you_lived.tax_home_established_on","when":{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"}},{"confirm":true,"exact":false,"note":"Filled in with the first day you lived at your address abroad. Change it if the work there began on another day.","value_from":"where_you_lived.one_country_start","when":{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.tax_home.country"}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}},{"binds":"physical_presence.test_period_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the first day of the best 12 months for you. Your passport stamps and travel records show which is best. The period can begin in the year before the one you are filing for, as long as part of it falls inside that year.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.test_period_start","includes_united_states":false,"kind":"date","label":"Which day does your 12-month period start on?","label_when":[],"off_ramp":{"body":"Since you kept this start day, the dates you gave, such as your stays, point to a different 12 months: the period with at least 330 full days abroad and the most days of this year starts on another day. A period with more days of this year raises the most you can exclude.","code":"ppt_window_no_longer_best","next_step":"Remove this day and the end day, and we will fill in the period your dates give for you to confirm. Leave yours as it is if you chose it on purpose.","severity":"info","title":"Your dates now point to a different 12-month period","when":{"op":"derived","ref":"where_you_lived.ppt_window_stale"}},"options":[],"placeholder":"2025-01-01","prefills":[{"confirm":true,"exact":false,"note":"Filled in as the first day of the 12 months that end on the end day you gave.","value_from":"where_you_lived.ppt_window_start_before_end","when":{"op":"answered","ref":"where_you_lived.physical_presence.test_period_end"}},{"confirm":true,"exact":false,"note":"Filled in with the 12 months that hold at least 330 full days abroad and the most days of this year, worked out from the dates you gave. Change it if a different period suits you better.","value_from":"where_you_lived.ppt_window_start","when":{"op":"gt","ref":"context.tax_year","value":0}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"physical_presence.test_period_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The period has to be exactly 12 months in a row, so this is the day before the same date a year later. A period that starts on June 1, 2024 ends on May 31, 2025. You need 330 full days inside a foreign country somewhere in it, and your passport stamps are the record.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.test_period_end","includes_united_states":false,"kind":"date","label":"Which day does your 12-month period end on?","label_when":[],"options":[],"placeholder":"2025-05-31","prefills":[{"confirm":true,"exact":false,"note":"Filled in as the day before the same date a year after the start day you gave.","value_from":"where_you_lived.ppt_window_end_after_start","when":{"op":"answered","ref":"where_you_lived.physical_presence.test_period_start"}},{"confirm":true,"exact":false,"note":"Filled in as the last day of the 12 months worked out from the dates you gave.","value_from":"where_you_lived.ppt_window_end","when":{"op":"gt","ref":"context.tax_year","value":0}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"clears":["where_you_lived.abroad_whole_period_country","where_you_lived.travel_by_trips","where_you_lived.physical_presence.trips","where_you_lived.physical_presence.travel_days","where_you_lived.abroad_when_stretch_began","where_you_lived.abroad_when_stretch_ended"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if it was the same country the whole way through, with no day in the United States and no day at sea or over international waters. Say no if you moved between foreign countries, and you can then set the period out as a handful of stays instead of one row for every day.","help_lines":[],"help_when":[],"id":"where_you_lived.abroad_whole_period","includes_united_states":false,"kind":"yesno","label":"Were you in one foreign country every day of those 12 months?","label_when":[],"off_ramp":{"body":"Your 12 months end after {context.regular_filing_due_date}, the regular due date. If you will not have been abroad long enough to pass the 330-day test by then, Publication 54 lets you ask for more time than the ordinary extension, on Form 2350. The request has to be in by the day the return is due.","code":"overseas_extension_statement_required","next_step":"Ask for it from your dashboard: choose Ask for more time to file on this return, then Form 2350. Your answers stay saved.","severity":"review","title":"You can ask for extra time to finish the test","when":{"op":"derived","ref":"where_you_lived.ppt_window_after_due_date"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"clears":["where_you_lived.residency.tax_home.abandoned_on"],"currency_pickable":false,"derived_from_presence":["residency.tax_home.abandoned_on"],"help":"Say yes if you left the job, closed the business, or moved your working life somewhere else. Say no if it is still your main place of work.","help_lines":[],"help_when":[],"id":"where_you_lived.tax_home_given_up","includes_united_states":false,"kind":"yesno","label":"Have you left your main place of work abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}},{"binds":"residency.tax_home.abandoned_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your leaving date from the contract, or the day the business closed.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.tax_home.abandoned_on","includes_united_states":false,"kind":"date","label":"On which day did you give it up?","label_when":[],"options":[],"placeholder":"2025-11-30","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"where_you_lived.tax_home_given_up"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"truthy","ref":"where_you_lived.tax_home_given_up"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from your passport stamps or your residence permit.","help_lines":[],"help_when":[],"id":"where_you_lived.abroad_whole_period_country","includes_united_states":false,"kind":"country","label":"Which country were you in for those 12 months?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":false,"exact":false,"note":"Filled in from the country you named as your main place of work. Change it here if you spent that period somewhere else.","value_ref":"where_you_lived.residency.tax_home.country","when":{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"truthy","ref":"where_you_lived.abroad_whole_period"}]}},{"clears":["where_you_lived.physical_presence.trips","where_you_lived.physical_presence.travel_days","where_you_lived.abroad_when_stretch_began","where_you_lived.abroad_when_stretch_ended"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes and you give the country and the two dates for each stay, instead of one row for every day. A stay at sea, and a stop in the United States that was only a change of planes, each go in as a stay of their own.","help_lines":[],"help_when":[],"id":"where_you_lived.travel_by_trips","includes_united_states":false,"kind":"yesno","label":"Can you give that period as a few stays, each in one country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"eq","ref":"where_you_lived.abroad_whole_period","value":false}]}},{"add_label":"Add a stay","expands_into":"physical_presence.travel_days[]","help":"Add one row for each period of days in one country, from the day you arrived to the day you left. Add your time in the United States the same way. Any day you leave out is counted as a day outside a foreign country, so the stays should cover the whole period.","id":"where_you_lived.physical_presence.trips","kind":"repeat","label":"Where were you during that period, and when?","max_rows":50,"min_rows":1,"nodes":[{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from your passport stamp or your ticket.","help_lines":["Pick the United States for time you spent there.","Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country."],"help_when":[],"id":"where_you_lived.physical_presence.trips.country","includes_united_states":true,"kind":"country","label":"Which country were you in for that stay?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day you arrived, from your passport stamp or your boarding pass. The day you arrive is not a full day abroad unless you were already in another foreign country the day before, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.trips.arrived_on","includes_united_states":false,"kind":"date","label":"On which day did your stay there begin?","label_when":[],"options":[],"placeholder":"2025-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last day you were there, from your passport stamp or your boarding pass. The day you leave is not a full day abroad unless you were in another foreign country the day after, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.trips.left_on","includes_united_states":false,"kind":"date","label":"On which day did your stay there end?","label_when":[],"options":[],"placeholder":"2025-05-31","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your boarding passes show the landing and take-off times. Say no for an ordinary visit, however short.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.trips.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Were you only changing planes in the United States, each stop under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"where_you_lived.physical_presence.trips.country","value":"US"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this. Say yes for a cruise leg between two countries, and give the country you sailed from as the country for this stay. Leave it blank if you were not: blank counts as no.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.trips.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Were you at sea, or in the air outside any country, on those days?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Stay","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.abroad_whole_period","value":false},{"op":"truthy","ref":"where_you_lived.travel_by_trips"}]}]}},{"add_label":"Add a day","binds":"physical_presence.travel_days[]","help":"Add one row per day. A day counts as a full day abroad only when you were inside a foreign country from midnight to midnight. A day at sea or over international waters is not a full day abroad, and neither is a day you spent in the United States.","id":"where_you_lived.physical_presence.travel_days","kind":"repeat","label":"Which country were you in on each day of that period?","max_rows":366,"min_rows":1,"nodes":[{"binds":"physical_presence.travel_days[].day","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One calendar day, taken from your passport stamps, boarding passes or diary.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.travel_days.day","includes_united_states":false,"kind":"date","label":"Which day of your travel is this?","label_when":[],"options":[],"placeholder":"2025-06-14","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"physical_presence.travel_days[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from your passport stamp or ticket. Pick the United States for time you spent there. Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.travel_days.country","includes_united_states":true,"kind":"country","label":"Which country were you in on that day?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"physical_presence.travel_days[].in_us_transit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your boarding passes show the landing and take-off times.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.travel_days.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Were you only changing planes in the United States, for under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"physical_presence.travel_days[].in_international_waters","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this.","help_lines":[],"help_when":[],"id":"where_you_lived.physical_presence.travel_days.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Were you at sea or in the air outside any country's borders that day?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Day","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.abroad_whole_period","value":false},{"op":"eq","ref":"where_you_lived.travel_by_trips","value":false}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Abroad means in a foreign country. The first day of your 12-month period counts as a full day there only if you were already abroad at midnight as it began. Say no if you arrived that day. Your passport stamps or tickets show it.","help_lines":[],"help_when":[],"id":"where_you_lived.abroad_when_stretch_began","includes_united_states":false,"kind":"yesno","label":"Were you already abroad as the first day of your period began?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.abroad_whole_period","value":false},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.travel_by_trips"},{"op":"derived","ref":"where_you_lived.ppt_first_day_decides"}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Abroad means in a foreign country. The last day of your 12-month period counts as a full day there only if you were still abroad at midnight as it ended. Say no if you left that day. Your passport stamps or tickets show it.","help_lines":[],"help_when":[],"id":"where_you_lived.abroad_when_stretch_ended","includes_united_states":false,"kind":"yesno","label":"Were you still abroad as the last day of your period ended?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.abroad_whole_period","value":false},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.travel_by_trips"},{"op":"derived","ref":"where_you_lived.ppt_last_day_decides"}]}]}]}},{"binds":"bona_fide_residence.country_of_residence","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country you treated as home, from your residence permit. If that period covered more than one foreign country, give the one you were settled in longest.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.country_of_residence","includes_united_states":false,"kind":"country","label":"Which country did you settle in?","label_when":[],"off_ramp":{"body":"The settled-residence route needs a home in a foreign country. The United States, its territories and Antarctica do not count as one.","code":"settled_country_not_abroad","next_step":"Choose the foreign country, or use the day-count route instead.","severity":"block","title":"A settled residence abroad has to be in a foreign country","when":{"op":"in","ref":"where_you_lived.bona_fide_residence.country_of_residence","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}},"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":false,"exact":false,"note":"Filled in from the country you named as your main place of work. Change it here if your settled home was in a different country.","value_ref":"where_you_lived.residency.tax_home.country","when":{"op":"truthy","ref":"where_you_lived.residency.tax_home.country"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"bona_fide_residence.residence_began_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your residence permit or your registration with the local authority gives the date.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.residence_began_on","includes_united_states":false,"kind":"date","label":"From which day did you live there as a settled resident?","label_when":[],"options":[],"placeholder":"2022-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"clears":["where_you_lived.bona_fide_residence.residence_abroad_ended_on"],"currency_pickable":false,"derived_from_presence":["bona_fide_residence.residence_abroad_ended_on"],"help":"Say no if you still live abroad as a settled resident, in that country or another one: a move from one country abroad to another does not end it. Form 2555 carries the word Continues in that case, and we write it for you.","help_lines":[],"help_when":[],"id":"where_you_lived.bfr_residence_abroad_ended","includes_united_states":false,"kind":"yesno","label":"Has your settled residence abroad come to an end?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"bona_fide_residence.residence_abroad_ended_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day you left your life abroad for good, from your own papers. A move from one country abroad to another is not the end.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.residence_abroad_ended_on","includes_united_states":false,"kind":"date","label":"On which day did your settled residence abroad end?","label_when":[],"options":[],"placeholder":"2025-12-31","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"where_you_lived.bfr_residence_abroad_ended"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bfr_residence_abroad_ended"}]}},{"binds":"bona_fide_residence.settled_through_following_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The settled-residence route needs a whole calendar year abroad, January 1 to December 31. Your settled residence began after January 1, {context.return_year}, so the whole year it can hold is {context.following_year}, and the route is open only once that year has ended with you still settled abroad.","help_lines":["If that year has not ended yet, answer no. You can ask the IRS for more time to file with Form 2350, or use the day-count route if the days abroad meet it."],"help_when":[],"id":"where_you_lived.bona_fide_residence.settled_through_following_year","includes_united_states":false,"kind":"yesno","label":"Were you still settled abroad, without a break, on December 31, {context.following_year}?","label_when":[],"off_ramp":{"body":"A settled residence abroad counts only when it runs without a break through a whole calendar year, January 1 to December 31. Begun after January 1, {context.return_year}, it can count only once it has run through December 31, {context.following_year}.","code":"settled_residence_needs_a_whole_year","next_step":"Use the day-count route if the days abroad meet it, or file later once that year has ended. Form 2350 asks the IRS for more time to file.","severity":"block","title":"The settled-residence route needs a whole calendar year","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"where_you_lived.bona_fide_residence.residence_began_on","value":1},{"op":"not","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.residence_began_on","values":["2018-01-01","2019-01-01","2020-01-01","2021-01-01","2022-01-01","2023-01-01","2024-01-01","2025-01-01","2026-01-01"]}]}]},{"op":"eq","ref":"where_you_lived.bona_fide_residence.settled_through_following_year","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"where_you_lived.bona_fide_residence.residence_began_on","value":1},{"op":"not","rules":[{"op":"in","ref":"where_you_lived.bona_fide_residence.residence_began_on","values":["2018-01-01","2019-01-01","2020-01-01","2021-01-01","2022-01-01","2023-01-01","2024-01-01","2025-01-01","2026-01-01"]}]}]},{"op":"eq","ref":"where_you_lived.bfr_residence_abroad_ended","value":false}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You answered this before for one country. Only your answer about your time abroad as a whole is used now.","help_lines":[],"help_when":[],"id":"where_you_lived.bfr_residence_ended","includes_united_states":false,"kind":"yesno","label":"Did your settled residence in that one country come to an end?","label_when":[],"off_ramp":{"body":"You told us before when your settled residence in one country ended. A move from one country abroad to another does not end a settled residence abroad, so that answer is kept but no longer used.","code":"settled_residence_end_per_country_kept","next_step":"Answer the question about your settled residence abroad as a whole.","severity":"info","title":"Your earlier answer about one country is kept","when":{"op":"truthy","ref":"where_you_lived.bfr_residence_ended"}},"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bfr_residence_ended"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Kept as you gave it and not used: the question about your settled residence abroad as a whole decides the dates on your return.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.residence_ended_on","includes_united_states":false,"kind":"date","label":"On which day did your residence in that one country end?","label_when":[],"off_ramp":{"body":"You told us before when your settled residence in one country ended. A move from one country abroad to another does not end a settled residence abroad, so that answer is kept but no longer used.","code":"settled_residence_end_per_country_kept","next_step":"Answer the question about your settled residence abroad as a whole.","severity":"info","title":"Your earlier answer about one country is kept","when":{"op":"answered","ref":"where_you_lived.bona_fide_residence.residence_ended_on"}},"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"answered","ref":"where_you_lived.bona_fide_residence.residence_ended_on"}]}},{"binds":"bona_fide_residence.claimant_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your passport answers this. Only a citizen, or a resident who is a citizen of a country with a tax treaty, can use this route, so the return needs a yes or a no.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.claimant_us_citizen","includes_united_states":false,"kind":"yesno","label":"Are you a United States citizen?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your answer on the first page, where you said you are a United States citizen. Change it here if that was not right.","value":true,"when":{"op":"eq","ref":"fit.citizenship_or_residency","value":"us_citizen"}},"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.bona_fide_citizenship_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"bona_fide_residence.treaty_country_national","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country on your passport is not on the IRS list of treaty countries. Say yes if you are also a citizen or national of a country that is on it. Choose Not sure if you have not checked.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.treaty_country_national","includes_united_states":false,"kind":"yesno","label":"Are you also a citizen or national of a United States tax treaty country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.claimant_us_citizen","value":false},{"op":"not","rules":[{"op":"in","ref":"about_you.citizenship_country","values":["Armenia","Australia","Austria","Azerbaijan","Bangladesh","Barbados","Belarus","Belgium","Bulgaria","Canada","Chile","China","Cyprus","Czech Republic","Denmark","Egypt","Estonia","Finland","France","Georgia","Germany","Greece","Iceland","India","Indonesia","Ireland","Israel","Italy","Jamaica","Japan","Kazakhstan","Korea, Republic of (South)","Kyrgyzstan","Latvia","Lithuania","Luxembourg","Malta","Mexico","Moldova","Morocco","Netherlands","New Zealand","Norway","Pakistan","Philippines","Poland","Portugal","Romania","Russia","Slovakia","Slovenia","South Africa","Spain","Sri Lanka","Sweden","Switzerland","Tajikistan","Thailand","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Ukraine","United Kingdom (England, Northern Ireland, Scotland, and Wales)","Uzbekistan","Venezuela"]}]}]}]}},{"binds":"bona_fide_residence.submitted_nonresident_statement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is a written statement you or your advisor filed with them. Say no if it never happened.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","includes_united_states":false,"kind":"yesno","label":"Have you told that country's tax office that you are not a resident there?","label_when":[],"off_ramp":{"body":"You told that country's tax office you are not a resident there. The Form 2555 instructions say a filer who has done that is not treated as a settled resident unless that office has since held that you are subject to its income tax, so check what that office has decided before you claim the exclusion this way.","code":"complex_feie_election","next_step":"Check that office's decision, then continue with your answers.","severity":"review","title":"That statement can stop a settled-residence claim","when":{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"answered","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"bona_fide_residence.required_to_pay_host_income_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your assessment notice or your advisor will say. Choose Not sure if it has never been settled, but Form 2555 line 13b needs a yes or a no before the claim can be filed on this route.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","includes_united_states":false,"kind":"yesno","label":"Are you required to pay income tax to that country?","label_when":[],"off_ramp":{"body":"You told that country you are not a resident there, and you are not required to pay income tax there. Form 2555 says that combination means you do not qualify as a settled resident, so there is nothing more to collect on this route.","code":"complex_feie_election","next_step":"Go back and answer the day-counting route instead, or use another preparer for the return. Your answers stay saved.","severity":"review","title":"This settled-residence claim cannot succeed","when":{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]}},{"binds":"bona_fide_residence.living_quarters_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 offers these four and no others. Your lease or your deeds say which one it was.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.living_quarters_type","includes_united_states":false,"kind":"choice","label":"What kind of home did you live in there?","label_when":[],"options":[{"label":"A house you bought.","value":"purchased-house"},{"label":"A house or an apartment you rented.","value":"rented-house"},{"label":"A room you rented.","value":"rented-room"},{"label":"Somewhere your employer provided.","value":"employer-provided"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"bona_fide_residence.family_present","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count a spouse and any children who lived in the same home, even for part of the year. Choose Not sure if you cannot say: the line is then left blank on the form.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.family_present","includes_united_states":false,"kind":"yesno","label":"Did family of yours live with you abroad during any part of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"clears":["where_you_lived.bfr_travel_by_trips","where_you_lived.bona_fide_residence.trips","where_you_lived.bona_fide_residence.travel_days"],"currency_pickable":false,"derived_from_presence":["bona_fide_residence.travel_days[]"],"help":"Count every visit to the United States or its territories: Form 2555 lists each one. A vacation counts, however short.","help_lines":["Add a stay in any other country too: the form asks only for the visits to the United States, and the other stays are kept with your answers.","Your passport stamps and boarding passes are the record."],"help_when":[],"id":"where_you_lived.bfr_travel_away","includes_united_states":false,"kind":"yesno","label":"Did you leave that country at any point during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"clears":["where_you_lived.bona_fide_residence.trips","where_you_lived.bona_fide_residence.travel_days"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes and you give the country and the two dates for each stay, instead of one row for every day. A stay at sea, and a stop in the United States that was only a change of planes, each go in as a stay of their own.","help_lines":[],"help_when":[],"id":"where_you_lived.bfr_travel_by_trips","includes_united_states":false,"kind":"yesno","label":"Can you give those times away as a few stays, each in one country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bfr_travel_away"}]}]}},{"add_label":"Add a stay","expands_into":"bona_fide_residence.travel_days[]","help":"Add one row for each stay away from the country you settled in, from the day you arrived to the day you left. Every visit to the United States needs a row of its own, because Form 2555 asks for the dates of each one.","id":"where_you_lived.bona_fide_residence.trips","kind":"repeat","label":"Where did you go, and when?","max_rows":50,"min_rows":1,"nodes":[{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country you traveled to, from your passport stamp or your ticket.","help_lines":["Pick the United States for time you spent there.","Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country."],"help_when":[],"id":"where_you_lived.bona_fide_residence.trips.country","includes_united_states":true,"kind":"country","label":"Which country were you in for that stay?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day you arrived, from your passport stamp or your boarding pass. The day you arrive is not a full day abroad unless you were already in another foreign country the day before, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.trips.arrived_on","includes_united_states":false,"kind":"date","label":"On which day did your stay there begin?","label_when":[],"options":[],"placeholder":"2025-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last day you were there, from your passport stamp or your boarding pass. The day you leave is not a full day abroad unless you were in another foreign country the day after, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.trips.left_on","includes_united_states":false,"kind":"date","label":"On which day did your stay there end?","label_when":[],"options":[],"placeholder":"2025-05-31","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your boarding passes show the landing and take-off times. Say no for an ordinary visit, however short.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.trips.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Were you only changing planes in the United States, each stop under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"where_you_lived.bona_fide_residence.trips.country","value":"US"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this. Say yes for a cruise leg between two countries, and give the country you sailed from as the country for this stay. Leave it blank if you were not: blank counts as no.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.trips.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Were you at sea, or in the air outside any country, on those days?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Stay","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.bfr_travel_away"},{"op":"truthy","ref":"where_you_lived.bfr_travel_by_trips"}]}]}]}},{"add_label":"Add a day","binds":"bona_fide_residence.travel_days[]","help":"Add one row per day. A day counts as a full day abroad only when you were inside a foreign country from midnight to midnight. A day at sea or over international waters is not a full day abroad, and neither is a day you spent in the United States.","id":"where_you_lived.bona_fide_residence.travel_days","kind":"repeat","label":"Which country were you in on each day you were away?","max_rows":366,"min_rows":1,"nodes":[{"binds":"bona_fide_residence.travel_days[].day","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One calendar day, taken from your passport stamps, boarding passes or diary.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.travel_days.day","includes_united_states":false,"kind":"date","label":"Which day of your travel is this?","label_when":[],"options":[],"placeholder":"2025-06-14","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"bona_fide_residence.travel_days[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from your passport stamp or ticket. Pick the United States for time you spent there. Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.travel_days.country","includes_united_states":true,"kind":"country","label":"Which country were you in on that day?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"bona_fide_residence.travel_days[].in_us_transit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your boarding passes show the landing and take-off times.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.travel_days.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Were you only changing planes in the United States, for under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"bona_fide_residence.travel_days[].in_international_waters","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.travel_days.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Were you at sea or in the air outside any country's borders that day?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Day","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.bfr_travel_away"},{"op":"eq","ref":"where_you_lived.bfr_travel_by_trips","value":false}]}]}]}},{"binds":"bona_fide_residence.maintained_us_home","clears":["where_you_lived.bona_fide_residence.us_home_address","where_you_lived.bona_fide_residence.us_home_rented","where_you_lived.us_home_has_occupants","where_you_lived.bona_fide_residence.us_home_occupants"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15d. Count a house or an apartment you kept, whether or not anyone lived in it while you were away.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.maintained_us_home","includes_united_states":false,"kind":"yesno","label":"Did you keep a home in the United States while you lived abroad?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"address_variant":"full","binds":"bona_fide_residence.us_home_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15e. It has to be the address in the United States, from your deed, your lease or a utility bill.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.us_home_address","includes_united_states":false,"kind":"address","label":"What is the address of the home you kept there?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"}]}]}},{"binds":"bona_fide_residence.us_home_rented","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15e asks whether it was rented. Your lease with the tenant is the record. Rent you received is income, which goes in with your other income.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.us_home_rented","includes_united_states":false,"kind":"yesno","label":"Was that home rented out to anyone while you were abroad?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"}]}]}},{"clears":["where_you_lived.bona_fide_residence.us_home_occupants"],"currency_pickable":false,"derived_from_presence":["bona_fide_residence.us_home_occupants[]"],"help":"Form 2555 line 15e asks for each person living there. It wants their name and how they are related to you. Say no if it stood empty.","help_lines":[],"help_when":[],"id":"where_you_lived.us_home_has_occupants","includes_united_states":false,"kind":"yesno","label":"Did anyone live in that home while you were abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"}]}]}},{"add_label":"Add a person","binds":"bona_fide_residence.us_home_occupants[]","help":"Add a row for each person, with how they are related to you.","id":"where_you_lived.bona_fide_residence.us_home_occupants","kind":"repeat","label":"Who lived in your home there?","max_rows":50,"min_rows":1,"nodes":[{"binds":"bona_fide_residence.us_home_occupants[].first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As they write it themselves.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.us_home_occupants.first_name","includes_united_states":false,"kind":"text","label":"What is the first name of the person you are adding?","label_when":[],"options":[],"placeholder":"Sam","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"bona_fide_residence.us_home_occupants[].last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As they write it themselves.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.us_home_occupants.last_name","includes_united_states":false,"kind":"text","label":"What is the last name of the person you are adding?","label_when":[],"options":[],"placeholder":"Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"bona_fide_residence.us_home_occupants[].relationship","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 offers these and no others. Choose the last one for a tenant or anyone else who is not family.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.us_home_occupants.relationship","includes_united_states":false,"kind":"choice","label":"How are they related to you?","label_when":[],"options":[{"label":"Spouse.","value":"spouse"},{"label":"Son.","value":"son"},{"label":"Daughter.","value":"daughter"},{"label":"Child.","value":"child"},{"label":"Foster child.","value":"foster_child"},{"label":"Grandchild.","value":"grandchild"},{"label":"Parent.","value":"parent"},{"label":"Grandparent.","value":"grandparent"},{"label":"Brother.","value":"brother"},{"label":"Sister.","value":"sister"},{"label":"Aunt.","value":"aunt"},{"label":"Uncle.","value":"uncle"},{"label":"Nephew.","value":"nephew"},{"label":"Niece.","value":"niece"},{"label":"Another relative.","value":"other"},{"label":"Not related to you, such as a tenant.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Person","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.bona_fide_residence.maintained_us_home"},{"op":"truthy","ref":"where_you_lived.us_home_has_occupants"}]}]}]}},{"binds":"bona_fide_residence.contractual_terms","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15a. Your employment contract says. For example: unlimited contract, renewable two-year contract, fixed term ending in 2027, or self-employed with no fixed term.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.contractual_terms","includes_united_states":false,"kind":"text","label":"Briefly, how long does your work abroad last, by its terms?","label_when":[],"options":[],"placeholder":"Unlimited contract","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_80":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_80"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"bona_fide_residence.visa_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15b. Your passport or your residence permit shows it. Choose no visa if you needed none, for example as a citizen of that country.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.visa_type","includes_united_states":false,"kind":"choice","label":"Which kind of visa did you enter that country on?","label_when":[],"options":[{"label":"A tourist visa.","value":"tourist"},{"label":"An immigration visa.","value":"immigration"},{"label":"A student visa.","value":"student"},{"label":"A work visa.","value":"work"},{"label":"No visa.","value":"none"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"bona_fide_residence.visa_limits_stay","clears":["where_you_lived.bona_fide_residence.visa_limitations"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15c. Say yes if it ran out on a fixed date or limited the work you could do. A visa you can renew still counts as a limit until it is renewed.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.visa_limits_stay","includes_united_states":false,"kind":"yesno","label":"Did your visa limit how long you could stay or work in that country?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"bona_fide_residence.visa_limitations","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 asks for an explanation when the visa limited your stay, and we attach it to the form. For example: renewable work visa, valid two years at a time.","help_lines":[],"help_when":[],"id":"where_you_lived.bona_fide_residence.visa_limitations","includes_united_states":false,"kind":"text","label":"In a few words, what were the limits on your visa?","label_when":[],"options":[],"placeholder":"Renewable work visa, two years at a time","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"truthy","ref":"where_you_lived.bona_fide_residence.visa_limits_stay"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"narrative_text":{"message":"Use ordinary letters, numbers and punctuation here. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write it in 9,000 characters or fewer, which is all the form has room for."}},"validators":["narrative_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"where_you_lived.bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"where_you_lived.bona_fide_residence.visa_limits_stay"}]}]}},{"binds":"residency.tax_home.abroad_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you moved to it straight from a job or business based in another country abroad, with no period working from the United States in between. Say no if your main place of work was in the United States before it.","help_lines":["If you did not work before this one, as a student or a spouse who was not working, you had no earlier main place of work, so answer no."],"help_when":[],"id":"where_you_lived.residency.tax_home.abroad_before","includes_united_states":false,"kind":"yesno","label":"Was your main place of work abroad, in another country, before this one began?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.tax_home_start_refusal","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"derived","ref":"where_you_lived.tax_home_cuts_period"}]}},{"add_label":"Add a main place of work abroad","binds":"residency.tax_home.earlier[]","help":"Add each main place of work abroad back to the start of the unbroken period, the most recent first or in any order. Form 2555 lists every one you had during the year with the day it began, and the earliest starts the part of the year that counts.","id":"where_you_lived.residency.tax_home.earlier","kind":"repeat","label":"Where was your main place of work abroad before this one?","max_rows":49,"min_rows":1,"nodes":[{"binds":"residency.tax_home.earlier[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country where the work was done day to day, from that contract.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.tax_home.earlier.country","includes_united_states":false,"kind":"country","label":"Which country held your main place of work then?","label_when":[],"off_ramp":{"body":"The exclusion of pay earned abroad needs a main place of work in a foreign country. The United States, its territories and Antarctica do not count as one.","code":"tax_home_not_abroad","next_step":"Choose the foreign country where that work was based, or remove the row.","severity":"block","title":"A main place of work abroad has to be in a foreign country","when":{"op":"in","ref":"where_you_lived.residency.tax_home.earlier.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}},"options":[],"options_ref":"country_codes","placeholder":"SA","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"residency.tax_home.earlier[].city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on that contract, or the office address.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.tax_home.earlier.city","includes_united_states":false,"kind":"text","label":"Which city or town held your main place of work then?","label_when":[],"options":[],"placeholder":"Riyadh","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_home_city":{"message":"Write the name of the place in ordinary letters, numbers and punctuation, the accented letters used in Spanish, and single spaces between words, which is what Form 2555 line 9 takes.","message_too_long":"Write a shorter name for the place: Form 2555 line 9 has room for 35 characters for the city or town and the name of the country together."}},"validators":["tax_home_city"]},{"binds":"residency.tax_home.earlier[].established_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The start date on that contract, or the day that business opened there.","help_lines":[],"help_when":[],"id":"where_you_lived.residency.tax_home.earlier.established_on","includes_united_states":false,"kind":"date","label":"From which day was that your main place of work?","label_when":[],"options":[],"placeholder":"2022-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Earlier main place of work abroad","visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"derived","ref":"where_you_lived.tax_home_cuts_period"},{"op":"truthy","ref":"where_you_lived.residency.tax_home.abroad_before"}]}]}},{"binds":"exclusion_failure_found_by_irs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your letters from the IRS are the record.","help_lines":["A return filed more than a year after its due date can make a new claim with tax owed only if the IRS had not yet found the claim missing.","A letter from the IRS about {context.return_year}, such as a notice that the return was not filed or a return the IRS prepared for you, can mean it had.","Choose Not sure if you cannot check: where this return shows tax, it cannot be filed from here until it is answered."],"help_when":[],"id":"where_you_lived.exclusion_failure_found_by_irs","includes_united_states":false,"kind":"yesno","label":"Has the IRS already found that you did not claim the exclusion for {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.feie_prior_claims.previously_filed","value":false},{"op":"eq","ref":"where_you_lived.feie_prior_claims.housing_claimed_last_year","value":false},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2018},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2017}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2018}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2020},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2019}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2020}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2022},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2021}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2023},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2022}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2024},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2023}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2024}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"gt","ref":"where_you_lived.feie_prior_claims.last_year_filed","value":2025}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.feie_prior_claims.claims_before_tax_year","value":"pay_and_housing"}]}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.ever_revoked"},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.credit_taken_since"}]}]},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]}]}]}},{"binds":"screened_inputs.housing_deduction_carryover","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 46 of last year's Form 2555 above its line 48 is the part left unused. Answer no if that form had no Part IX.","help_lines":[],"help_when":[],"id":"where_you_lived.screened_inputs.housing_deduction_carryover","includes_united_states":false,"kind":"yesno","label":"Did last year's Form 2555 leave part of your foreign housing deduction unused?","label_when":[],"off_ramp":{"body":"If this year's income leaves room for it, the part carried in is worked out from last year's Form 2555, which we do not do here, and this return cannot be filed from here. With no room, nothing carries in.","code":"housing_deduction_carryover","next_step":"Continue with your answers. Your return says before anything is sent whether it applies.","severity":"review","title":"We may not be able to carry that deduction into this year","when":{"op":"truthy","ref":"where_you_lived.screened_inputs.housing_deduction_carryover"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"where_you_lived.feie_prior_claims.previously_filed"},{"op":"truthy","ref":"income_sources.has_self_employment"}]}]}},{"binds":"screened_inputs.left_country_for_war_or_unrest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The time abroad the tests need can be waived for a country the IRS lists for the year. Answer no if you left for any other reason, or did not leave.","help_lines":[],"help_when":[],"id":"where_you_lived.screened_inputs.left_country_for_war_or_unrest","includes_united_states":false,"kind":"yesno","label":"Did war, civil unrest or similar danger force you to leave a country abroad?","label_when":[],"off_ramp":{"body":"The IRS can waive the time abroad for certain countries. We cannot check that list, so if your days alone do not pass the test, we cannot prepare this return.","code":"time_requirement_waiver","next_step":"Continue with your answers. Your return says before anything is sent whether it applies.","severity":"review","title":"We may not be able to check the waiver for leaving a country","when":{"op":"truthy","ref":"where_you_lived.screened_inputs.left_country_for_war_or_unrest"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"derived","ref":"where_you_lived.ppt_met"},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]}]}]}]}]}},{"binds":"housing_facts.housing_location_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your lease.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.housing_location_country","includes_united_states":false,"kind":"country","label":"Which country is your home in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":true,"exact":false,"note":"Filled in from your first address in the country of the main place of work, on the page about where you lived. Change it if the home was in another country.","value_ref":"where_you_lived.residency.tax_home.country","when":{"op":"derived","ref":"where_you_lived.tax_home_city"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]}},{"binds":"housing_facts.housing_location_city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on your lease or your housing bills. The IRS sets the housing limit by place, so pick it from the list when it is there, written as the list writes it. If it is not there, pick \"Another place in\" and the country.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.housing_location_city","includes_united_states":false,"kind":"text","label":"Which city or town did you pay to live in?","label_when":[],"options":[],"placeholder":"Berlin","prefill":{"confirm":true,"exact":false,"note":"Filled in from your first address in the country of the main place of work, on the page about where you lived. Change it if the home was in another place.","value_from":"where_you_lived.tax_home_city","when":{"op":"derived","ref":"where_you_lived.tax_home_city"}},"prefills":[],"required":true,"suggests_currencies":false,"suggests_places_from":"foreign_tax.housing_facts.housing_location_country","unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]}},{"binds":"housing_facts.qualified_housing_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Add up the rent, utilities and insurance for the year from your own bills.","help_lines":["Count rent, utilities other than the telephone, insurance on the home and what is in it, fees paid to get the lease, rented furniture, parking at home and repairs.","Leave out the cost of buying or improving a home, mortgage payments, interest and taxes you can deduct, the telephone, pay TV, domestic help and buying furniture."],"help_when":[[{"op":"derived","ref":"where_you_lived.qualifying_period"},"Count only the costs for the days between {derived.where_you_lived.qualifying_period}: that is the part of the year your exclusion covers."],[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},"If your spouse files their own return and also claims housing, split the costs so no amount is counted on both returns. If you lived apart within daily travel of each other's home or work, only one of you can claim."]],"id":"foreign_tax.housing_facts.qualified_housing_expenses","includes_united_states":false,"kind":"money","label":"What did your housing cost for the year?","label_when":[],"options":[],"placeholder":"28000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]}},{"binds":"housing_facts.us_government_housing_allowance","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Count a tax-free housing or quarters allowance paid to you or your spouse as a US government employee or service member for this home. It is on the government's pay or allowance statement. Enter 0 if none was paid.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.us_government_housing_allowance","includes_united_states":false,"kind":"money","label":"How much did a US government housing allowance pay toward your home?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.government_allowance_refusals","required_when":{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}]}]}},{"clears":["foreign_tax.housing_facts.second_household.country","foreign_tax.housing_facts.second_household.city","foreign_tax.housing_facts.second_household.days","foreign_tax.housing_facts.second_household.expenses"],"currency_pickable":false,"derived_from_presence":["housing_facts.second_household"],"help":"Say yes only if your family lived in a separate home because conditions near the main place of work were dangerous, unhealthful or otherwise adverse, such as war, civil unrest or disease.","help_lines":["Form 2555 line 8 asks about it, and its costs count with your housing costs. You can count only one such second home at a time."],"help_when":[],"id":"foreign_tax.kept_second_household","includes_united_states":false,"kind":"yesno","label":"Did you keep a second family home abroad due to adverse workplace conditions?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]}},{"binds":"housing_facts.second_household.country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your lease for that home.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.second_household.country","includes_united_states":false,"kind":"country","label":"Which country was the second home you kept in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]},{"op":"truthy","ref":"foreign_tax.kept_second_household"}]}},{"binds":"housing_facts.second_household.city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on the lease. If it is in the list, pick it there. Form 2555 has room for 35 characters for the city and the country together.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.second_household.city","includes_united_states":false,"kind":"text","label":"Which city or town was the second home you kept in?","label_when":[],"options":[],"placeholder":"Paris","prefills":[],"required":true,"suggests_currencies":false,"suggests_places_from":"foreign_tax.housing_facts.second_household.country","unanswered_allowed":false,"validator_messages":{"descriptive_text_35":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_35"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]},{"op":"truthy","ref":"foreign_tax.kept_second_household"}]}},{"binds":"housing_facts.second_household.days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the days in the year the lease ran. Form 2555 line 8b asks for the number.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.second_household.days","includes_united_states":false,"kind":"integer","label":"For how many days of the year did you keep that second home?","label_when":[],"options":[],"placeholder":"365","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]},{"op":"truthy","ref":"foreign_tax.kept_second_household"}]}},{"binds":"housing_facts.second_household.expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From the bills: the rent, utilities and insurance for it. Count only the days the exclusion covers. Leave out the cost of buying a home.","help_lines":[],"help_when":[],"id":"foreign_tax.housing_facts.second_household.expenses","includes_united_states":false,"kind":"money","label":"What did that second home cost you for the year?","label_when":[],"options":[],"placeholder":"18000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]},{"op":"truthy","ref":"foreign_tax.kept_second_household"}]}}],"review":false,"title":"Where you lived","visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]}},{"blurb":"The same questions for your spouse, because the IRS looks at each of you separately. Have their passport, lease and work contract nearby.","id":"spouse_abroad","nodes":[{"add_label":"Add an address abroad","binds":"spouse_residency.stints[]","help":"Their Form 2555 needs one address outside the United States, so one row is enough and we use the most recent one. Add a row for each earlier address only if they are claiming the settled-residence route and it did not cover the whole year, because then the dates decide how much of the year counts.","id":"spouse_abroad.spouse_residency.stints","kind":"repeat","label":"Where did your spouse live abroad, and when?","min_rows":1,"nodes":[{"address_variant":"foreign","binds":"spouse_residency.stints[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their lease, their utility bill or their registration with the local authority. It has to be outside the United States.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.stints.address","includes_united_states":false,"kind":"address","label":"What was your spouse's address abroad?","label_when":[],"offers_address_from":"about_you.taxpayer.mailing_address","options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"spouse_residency.stints[].start_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their lease or their registration paper gives the date.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.stints.start_date","includes_united_states":false,"kind":"date","label":"What was the first day your spouse lived at that address?","label_when":[],"options":[],"placeholder":"2024-06-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_residency.stints[].end_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Leave it blank if your spouse still lives there. Their notice letter or moving invoice gives the date.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.stints.end_date","includes_united_states":false,"kind":"date","label":"What was the last day your spouse lived there?","label_when":[],"options":[],"placeholder":"2025-12-31","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"off_ramp":{"body":"The 330-day test needs 330 full days inside a foreign country in some 12 months in a row that overlap the tax year. The settled-residence test needs a home abroad that covers the whole tax year without a break. The dates you gave for your spouse reach neither, so we have not filled in either test for them.","code":"feie_neither_test_met","next_step":"Check the dates of their addresses abroad, then answer the questions about the two tests from their passport stamps. The credit for tax paid abroad does not depend on either test.","severity":"info","title":"Your spouse's dates meet neither test","when":{"op":"and","rules":[{"op":"derived","ref":"spouse_abroad.stints_complete"},{"op":"not","rules":[{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}},"row_label":"Address abroad","visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}},{"clears":["spouse_abroad.spouse_physical_presence.test_period_start","spouse_abroad.spouse_physical_presence.test_period_end","spouse_abroad.abroad_whole_period","spouse_abroad.abroad_whole_period_country","spouse_abroad.travel_by_trips","spouse_abroad.spouse_physical_presence.trips","spouse_abroad.spouse_physical_presence.travel_days","spouse_abroad.abroad_when_stretch_began","spouse_abroad.abroad_when_stretch_ended"],"currency_pickable":false,"derived_from_presence":["spouse_physical_presence"],"help":"A full day is a whole day, midnight to midnight, inside a foreign country.","help_lines":["The IRS calls this the physical presence test.","The 12 months do not have to match the tax year and can start in the year before.","Their passport stamps are the record.","Say yes if they were abroad for most of such a period, and we will count the days from what you type and tell you the result with your return."],"help_when":[],"id":"spouse_abroad.uses_physical_presence","includes_united_states":false,"kind":"yesno","label":"Was your spouse in foreign countries for at least 330 full days in some 12-month period that overlaps this tax year?","label_when":[],"options":[],"prefill":{"confirm":true,"exact":false,"note":"Filled in because the addresses abroad you gave for your spouse hold at least 330 full days abroad in some 12 months that overlap this year. Change it if that is not right.","value":true,"when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}},{"clears":["spouse_abroad.spouse_bona_fide_residence.country_of_residence","spouse_abroad.spouse_bona_fide_residence.residence_began_on","spouse_abroad.bfr_residence_abroad_ended","spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on","spouse_abroad.spouse_bona_fide_residence.settled_through_following_year","spouse_abroad.bfr_residence_ended","spouse_abroad.spouse_bona_fide_residence.residence_ended_on","spouse_abroad.bfr_travel_away","spouse_abroad.bfr_travel_by_trips","spouse_abroad.spouse_bona_fide_residence.trips","spouse_abroad.spouse_bona_fide_residence.travel_days"],"currency_pickable":false,"derived_from_presence":["spouse_bona_fide_residence"],"help":"The period can start before that year and end after it, but it has to cover the whole of one calendar year with no break.","help_lines":["The IRS calls this the bona fide residence test.","Their residence permit and their registration with the local authority are the record.","A stay they always meant to be temporary does not count, however long it lasted.","Say yes if they made their home there rather than staying for a job with an end date in sight."],"help_when":[],"id":"spouse_abroad.uses_bona_fide_residence","includes_united_states":false,"kind":"yesno","label":"Was your spouse a settled resident of one or more foreign countries for an unbroken calendar year, January 1 to December 31?","label_when":[],"options":[],"prefill":{"confirm":true,"exact":false,"note":"Filled in as no because the day-count route is the one your spouse's dates point to. Say yes if they were also settled there for the whole year.","value":false,"when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}},{"binds":"spouse_residency.tax_home.country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country where they worked day to day, from their contract. With no regular base, give the country where they regularly lived. The IRS calls this their tax home.","help_lines":["The instructions say there is no main place of work abroad for any period during which their home was in the United States."],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.country","includes_united_states":false,"kind":"country","label":"Which country held your spouse's main place of work?","label_when":[],"off_ramp":{"body":"The exclusion of pay earned abroad needs a main place of work in a foreign country. The United States, its territories and Antarctica do not count as one.","code":"tax_home_not_abroad","next_step":"Choose the foreign country where the work was based, or do not claim the exclusion.","severity":"block","title":"A main place of work abroad has to be in a foreign country","when":{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}},"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"clears":["spouse_abroad.spouse_residency.tax_home.abandoned_on"],"currency_pickable":false,"derived_from_presence":["spouse_residency.tax_home.abandoned_on"],"help":"Say yes if they left the job, closed the business, or moved their working life somewhere else. Say no if it is still their main place of work.","help_lines":[],"help_when":[],"id":"spouse_abroad.tax_home_given_up","includes_united_states":false,"kind":"yesno","label":"Has your spouse left that main place of work?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_residency.tax_home.city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on their employment contract, or their office address. If their work had no regular base, give the city or town where they regularly lived.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.city","includes_united_states":false,"kind":"text","label":"Which city or town was your spouse's main place of work in?","label_when":[],"options":[],"placeholder":"Berlin","prefill":{"confirm":false,"exact":false,"note":"Filled in from your spouse's first address in that country. Change it if the work was based in another place.","value_from":"spouse_abroad.tax_home_city","when":{"op":"truthy","ref":"spouse_abroad.spouse_residency.tax_home.country"}},"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_home_city":{"message":"Write the name of the place in ordinary letters, numbers and punctuation, the accented letters used in Spanish, and single spaces between words, which is what Form 2555 line 9 takes.","message_too_long":"Write a shorter name for the place: Form 2555 line 9 has room for 35 characters for the city or town and the name of the country together."}},"validators":["tax_home_city"]},{"binds":"spouse_residency.tax_home.established_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their contract start date, the day their business opened there, or the day they settled there if their work had no regular base.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.established_on","includes_united_states":false,"kind":"date","label":"From which day was that your spouse's main place of work?","label_when":[],"options":[],"placeholder":"2024-06-01","prefill":{"confirm":true,"exact":false,"note":"Filled in with the first day your spouse lived at an address in that country. Change it if the work there began on another day.","value_from":"spouse_abroad.tax_home_established_on","when":{"op":"truthy","ref":"spouse_abroad.spouse_residency.tax_home.country"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_residency.tax_home.abandoned_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their leaving date from the contract, or the day their business closed.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.abandoned_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse give it up?","label_when":[],"options":[],"placeholder":"2025-11-30","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"spouse_abroad.tax_home_given_up"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"spouse_abroad.tax_home_given_up"}},{"binds":"spouse_citizenship_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country that issued their passport. Their Form 2555 asks for it on line 7, and an exclusion claimed without it can be refused.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_citizenship_country","includes_united_states":false,"kind":"choice","label":"Which country is your spouse a citizen or a national of?","label_when":[],"options":[],"options_ref":"country_names","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.tax_return.TaxReturn._check_a_form_2555_claim_names_a_citizenship","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"in","ref":"household.spouse.itin_application.citizenship_country","values":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GG","GH","GI","GL","GM","GN","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IRS:AT","IRS:AX","IRS:BQ","IRS:CR","IRS:DQ","IRS:DX","IRS:FQ","IRS:HQ","IRS:IP","IRS:JN","IRS:JQ","IRS:KQ","IRS:KV","IRS:LQ","IRS:MQ","IRS:OC","IRS:PF","IRS:PG","IRS:SV","IRS:WQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"]},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.itin_application.other_citizenship_country"}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_citizenship_country"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Andorra"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"United Arab Emirates"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Afghanistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Antigua and Barbuda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Anguilla"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Albania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Armenia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Angola"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Antarctica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Argentina"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"American Samoa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Austria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Australia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Aruba"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Azerbaijan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bosnia-Herzegovina"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Barbados"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bangladesh"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belgium"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burkina Faso"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bulgaria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bahrain"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burundi"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Benin"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saint Barthelemy"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bermuda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Brunei"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bolivia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Brazil"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bahamas"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bhutan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bouvet Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Botswana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belarus"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belize"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Canada"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cocos (Keeling) Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Congo (Kinshasa)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Central African Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Congo (Brazzaville)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Switzerland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cote D'Ivoire (Ivory Coast)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cook Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Chile"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cameroon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"China"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Colombia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Costa Rica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cuba"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cape Verde"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Curacao"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Christmas Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cyprus"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Czech Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Germany"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Djibouti"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Denmark"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dominica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dominican Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Algeria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ecuador"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Estonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Egypt"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Western Sahara"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ER"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Eritrea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ES"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Spain"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ET"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ethiopia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Finland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Fiji"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Falkland Islands (Islas Malvinas)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Federated States of Micronesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Faroe Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"France"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Gabon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"United Kingdom (England, Northern Ireland, Scotland, and Wales)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Grenada"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Georgia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guernsey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ghana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Gibraltar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Greenland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"The Gambia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Equatorial Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Greece"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Georgia and the South Sandwich Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guatemala"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guam"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guinea-Bissau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guyana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Hong Kong"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Heard Island and McDonald Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Honduras"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Croatia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Haiti"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Hungary"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ID"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Indonesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ireland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Israel"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Man, Isle of"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"India"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"British Indian Ocean Territory"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iraq"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iran"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:AT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ashmore and Cartier Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:AX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Akrotiri"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:BQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Navassa Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:CR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Coral Sea Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:DQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jarvis Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:DX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dhekelia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:FQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Baker Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:HQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Howland Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:IP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Clipperton Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:JN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jan Mayen"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:JQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Johnston Atoll"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:KQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kingman Reef"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:KV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kosovo"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:LQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Palmyra Atoll"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:MQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Midway Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:OC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Other Country"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:PF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Paracel Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:PG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Spratly Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:SV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Svalbard"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:WQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Wake Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iceland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Italy"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jersey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jamaica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jordan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Japan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kenya"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kyrgyzstan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cambodia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kiribati"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Comoros"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Kitts and Nevis"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Korea, Democratic People's Republic of (North)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Korea, Republic of (South)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kuwait"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cayman Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kazakhstan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Laos"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lebanon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Lucia Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Liechtenstein"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sri Lanka"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Liberia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lesotho"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lithuania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Luxembourg"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Latvia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Libya"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Morocco"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Monaco"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Moldova"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ME"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Montenegro"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saint Martin"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Madagascar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Marshall Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Macedonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ML"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mali"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burma"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mongolia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Macau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Northern Mariana Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mauritania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Montserrat"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malta"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mauritius"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Maldives"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malawi"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mexico"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malaysia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mozambique"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Namibia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"New Caledonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Niger"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Norfolk Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nigeria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nicaragua"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Netherlands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Norway"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nepal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nauru"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Niue"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"New Zealand"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"OM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Oman"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Panama"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Peru"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"French Polynesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Papua-New Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Philippines"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Pakistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Poland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Pierre and Miquelon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Pitcairn Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Puerto Rico"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Portugal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Palau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Paraguay"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"QA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Qatar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Romania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Serbia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Russia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Rwanda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saudi Arabia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Solomon Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Seychelles"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sudan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sweden"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Singapore"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Helena"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Slovenia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Slovakia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sierra Leone"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"San Marino"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Senegal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Somalia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Suriname"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Sudan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ST"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sao Tome and Principe"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"El Salvador"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sint Maarten"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Syria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Swaziland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turks and Caicos Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Chad"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"French Southern and Antarctic Lands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Togo"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Thailand"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tajikistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tokelau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"East Timor"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turkmenistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tunisia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tonga"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turkey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Trinidad and Tobago"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tuvalu"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Taiwan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tanzania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ukraine"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uganda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uruguay"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uzbekistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Holy See"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Vincent and the Grenadines"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Venezuela"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"British Virgin Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Virgin Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Vietnam"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Vanuatu"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"WF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Wallis and Futuna"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"WS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Samoa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"YE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Yemen (Aden)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Africa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Zambia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Zimbabwe"}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"in","ref":"household.spouse.itin_application.citizenship_country","values":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GG","GH","GI","GL","GM","GN","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IRS:AT","IRS:AX","IRS:BQ","IRS:CR","IRS:DQ","IRS:DX","IRS:FQ","IRS:HQ","IRS:IP","IRS:JN","IRS:JQ","IRS:KQ","IRS:KV","IRS:LQ","IRS:MQ","IRS:OC","IRS:PF","IRS:PG","IRS:SV","IRS:WQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"]},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.itin_application.other_citizenship_country"}]}]}]},{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_citizenship_country"},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Andorra"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"United Arab Emirates"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Afghanistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Antigua and Barbuda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Anguilla"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Albania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Armenia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Angola"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Antarctica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Argentina"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"American Samoa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Austria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Australia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Aruba"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"AZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Azerbaijan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bosnia-Herzegovina"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Barbados"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bangladesh"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belgium"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burkina Faso"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bulgaria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bahrain"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burundi"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Benin"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saint Barthelemy"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bermuda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Brunei"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bolivia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Brazil"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bahamas"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bhutan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Bouvet Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Botswana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belarus"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"BZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Belize"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Canada"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cocos (Keeling) Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Congo (Kinshasa)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Central African Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Congo (Brazzaville)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Switzerland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cote D'Ivoire (Ivory Coast)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cook Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Chile"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cameroon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"China"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Colombia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Costa Rica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cuba"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cape Verde"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Curacao"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Christmas Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cyprus"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"CZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Czech Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Germany"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Djibouti"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Denmark"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dominica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dominican Republic"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"DZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Algeria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ecuador"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Estonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Egypt"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"EH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Western Sahara"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ER"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Eritrea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ES"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Spain"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ET"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ethiopia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Finland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Fiji"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Falkland Islands (Islas Malvinas)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Federated States of Micronesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Faroe Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"FR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"France"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Gabon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"United Kingdom (England, Northern Ireland, Scotland, and Wales)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Grenada"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Georgia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guernsey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ghana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Gibraltar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Greenland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"The Gambia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Equatorial Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Greece"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Georgia and the South Sandwich Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guatemala"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guam"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guinea-Bissau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"GY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Guyana"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Hong Kong"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Heard Island and McDonald Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Honduras"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Croatia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Haiti"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"HU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Hungary"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ID"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Indonesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ireland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Israel"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Man, Isle of"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"India"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"British Indian Ocean Territory"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iraq"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iran"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:AT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ashmore and Cartier Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:AX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Akrotiri"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:BQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Navassa Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:CR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Coral Sea Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:DQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jarvis Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:DX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Dhekelia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:FQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Baker Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:HQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Howland Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:IP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Clipperton Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:JN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jan Mayen"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:JQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Johnston Atoll"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:KQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kingman Reef"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:KV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kosovo"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:LQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Palmyra Atoll"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:MQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Midway Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:OC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Other Country"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:PF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Paracel Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:PG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Spratly Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:SV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Svalbard"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IRS:WQ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Wake Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Iceland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"IT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Italy"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jersey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jamaica"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Jordan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"JP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Japan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kenya"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kyrgyzstan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cambodia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kiribati"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Comoros"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Kitts and Nevis"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Korea, Democratic People's Republic of (North)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Korea, Republic of (South)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kuwait"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Cayman Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"KZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Kazakhstan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Laos"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lebanon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Lucia Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Liechtenstein"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sri Lanka"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Liberia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lesotho"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Lithuania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Luxembourg"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Latvia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"LY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Libya"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Morocco"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Monaco"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Moldova"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ME"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Montenegro"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saint Martin"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Madagascar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Marshall Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Macedonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ML"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mali"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Burma"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mongolia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Macau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Northern Mariana Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mauritania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Montserrat"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malta"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mauritius"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Maldives"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malawi"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mexico"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Malaysia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"MZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Mozambique"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Namibia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"New Caledonia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Niger"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Norfolk Island"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nigeria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nicaragua"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Netherlands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Norway"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NP"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nepal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Nauru"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Niue"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"NZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"New Zealand"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"OM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Oman"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Panama"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Peru"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"French Polynesia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Papua-New Guinea"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Philippines"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Pakistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Poland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Pierre and Miquelon"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Pitcairn Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Puerto Rico"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Portugal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Palau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"PY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Paraguay"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"QA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Qatar"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Romania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Serbia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Russia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"RW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Rwanda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Saudi Arabia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SB"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Solomon Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Seychelles"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sudan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sweden"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Singapore"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Helena"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Slovenia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Slovakia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sierra Leone"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"San Marino"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Senegal"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Somalia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Suriname"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Sudan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ST"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sao Tome and Principe"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"El Salvador"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SX"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Sint Maarten"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Syria"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"SZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Swaziland"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turks and Caicos Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TD"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Chad"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"French Southern and Antarctic Lands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Togo"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TH"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Thailand"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TJ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tajikistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TK"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tokelau"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TL"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"East Timor"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turkmenistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tunisia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TO"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tonga"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TR"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Turkey"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TT"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Trinidad and Tobago"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TV"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tuvalu"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Taiwan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"TZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Tanzania"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Ukraine"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uganda"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UY"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uruguay"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"UZ"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Uzbekistan"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Holy See"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VC"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"St. Vincent and the Grenadines"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Venezuela"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VG"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"British Virgin Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VI"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Virgin Islands"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VN"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Vietnam"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"VU"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Vanuatu"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"WF"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Wallis and Futuna"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"WS"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Samoa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"YE"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Yemen (Aden)"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZA"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"South Africa"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZM"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Zambia"}]},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_application.citizenship_country","value":"ZW"},{"op":"eq","ref":"spouse_abroad.spouse_citizenship_country","value":"Zimbabwe"}]}]}]}]}]}]}},{"binds":"spouse_physical_presence.test_period_start","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the first day of the best 12 months for them. Their passport stamps and travel records show which is best. The period can begin in the year before the one you are filing for, as long as part of it falls inside that year.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.test_period_start","includes_united_states":false,"kind":"date","label":"Which day does your spouse's 12-month period start on?","label_when":[],"off_ramp":{"body":"Since you kept this start day, the dates you gave for your spouse, such as their stays, point to a different 12 months: the period with at least 330 full days abroad and the most days of this year starts on another day. A period with more days of this year raises the most they can exclude.","code":"ppt_window_no_longer_best","next_step":"Remove this day and the end day, and we will fill in the period their dates give for you to confirm. Leave yours as it is if you chose it on purpose.","severity":"info","title":"Your spouse's dates now point to a different 12-month period","when":{"op":"derived","ref":"spouse_abroad.ppt_window_stale"}},"options":[],"placeholder":"2025-01-01","prefills":[{"confirm":true,"exact":false,"note":"Filled in as the first day of the 12 months that end on the end day you gave.","value_from":"spouse_abroad.ppt_window_start_before_end","when":{"op":"answered","ref":"spouse_abroad.spouse_physical_presence.test_period_end"}},{"confirm":true,"exact":false,"note":"Filled in with the 12 months that hold at least 330 full days abroad for your spouse and the most days of this year, worked out from the dates you gave. Change it if a different period suits them better.","value_from":"spouse_abroad.ppt_window_start","when":{"op":"gt","ref":"context.tax_year","value":0}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"spouse_physical_presence.test_period_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The period has to be exactly 12 months in a row, so this is the day before the same date a year later. A period that starts on June 1, 2024 ends on May 31, 2025. They need 330 full days inside a foreign country somewhere in it, and their passport stamps are the record.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.test_period_end","includes_united_states":false,"kind":"date","label":"Which day does your spouse's 12-month period end on?","label_when":[],"options":[],"placeholder":"2025-05-31","prefills":[{"confirm":true,"exact":false,"note":"Filled in as the day before the same date a year after the start day you gave for your spouse.","value_from":"spouse_abroad.ppt_window_end_after_start","when":{"op":"answered","ref":"spouse_abroad.spouse_physical_presence.test_period_start"}},{"confirm":true,"exact":false,"note":"Filled in as the last day of the 12 months worked out from the dates you gave for your spouse.","value_from":"spouse_abroad.ppt_window_end","when":{"op":"gt","ref":"context.tax_year","value":0}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"clears":["spouse_abroad.abroad_whole_period_country","spouse_abroad.travel_by_trips","spouse_abroad.spouse_physical_presence.trips","spouse_abroad.spouse_physical_presence.travel_days","spouse_abroad.abroad_when_stretch_began","spouse_abroad.abroad_when_stretch_ended"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if it was the same country the whole way through, with no day in the United States and no day at sea or over international waters. Say no if they moved between foreign countries, and you can then set the period out as a handful of stays instead of one row for every day.","help_lines":[],"help_when":[],"id":"spouse_abroad.abroad_whole_period","includes_united_states":false,"kind":"yesno","label":"Was your spouse in one foreign country every day of those 12 months?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from their passport stamps or their residence permit.","help_lines":[],"help_when":[],"id":"spouse_abroad.abroad_whole_period_country","includes_united_states":false,"kind":"country","label":"Which country was your spouse in for those 12 months?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":false,"exact":false,"note":"Filled in from the country you named as your spouse's main place of work. Change it here if they spent that period somewhere else.","value_ref":"spouse_abroad.spouse_residency.tax_home.country","when":{"op":"truthy","ref":"spouse_abroad.spouse_residency.tax_home.country"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"truthy","ref":"spouse_abroad.abroad_whole_period"}]}},{"clears":["spouse_abroad.spouse_physical_presence.trips","spouse_abroad.spouse_physical_presence.travel_days","spouse_abroad.abroad_when_stretch_began","spouse_abroad.abroad_when_stretch_ended"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes and you give the country and the two dates for each stay, instead of one row for every day. A stay at sea, and a stop in the United States that was only a change of planes, each go in as a stay of their own.","help_lines":[],"help_when":[],"id":"spouse_abroad.travel_by_trips","includes_united_states":false,"kind":"yesno","label":"Can you give your spouse's period as a few stays, each in one country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"eq","ref":"spouse_abroad.abroad_whole_period","value":false}]}},{"add_label":"Add a stay","expands_into":"spouse_physical_presence.travel_days[]","help":"Add one row for each period of days in one country, from the day they arrived to the day they left. Add their time in the United States the same way. Any day you leave out is counted as a day outside a foreign country, so the stays should cover the whole period.","id":"spouse_abroad.spouse_physical_presence.trips","kind":"repeat","label":"Where was your spouse during that period, and when?","max_rows":50,"min_rows":1,"nodes":[{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from their passport stamp or their ticket. Pick the United States for time your spouse spent there. Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.trips.country","includes_united_states":true,"kind":"country","label":"Which country was your spouse in for that stay?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day they arrived, from their passport stamp or their boarding pass. The day they arrive is not a full day abroad unless they were already in another foreign country the day before, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.trips.arrived_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse's stay begin?","label_when":[],"options":[],"placeholder":"2025-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last day they were there, from their passport stamp or their boarding pass. The day they leave is not a full day abroad unless they were in another foreign country the day after, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.trips.left_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse's stay end?","label_when":[],"options":[],"placeholder":"2025-05-31","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their boarding passes show the landing and take-off times. Say no for an ordinary visit, however short.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.trips.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Was your spouse only changing planes in the United States, stops under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"spouse_abroad.spouse_physical_presence.trips.country","value":"US"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this. Say yes for a cruise leg between two countries, and give the country they sailed from as the country for this stay.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.trips.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Was your spouse at sea, or flying outside any country, on those days?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Stay","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.abroad_whole_period","value":false},{"op":"truthy","ref":"spouse_abroad.travel_by_trips"}]}]}},{"add_label":"Add a day","binds":"spouse_physical_presence.travel_days[]","help":"Add one row per day. A day counts as a full day abroad only when your spouse was inside a foreign country from midnight to midnight. A day at sea or over international waters is not a full day abroad, and neither is a day spent in the United States.","id":"spouse_abroad.spouse_physical_presence.travel_days","kind":"repeat","label":"Which country was your spouse in on each day of that period?","max_rows":366,"min_rows":1,"nodes":[{"binds":"spouse_physical_presence.travel_days[].day","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One calendar day, taken from their passport stamps, boarding passes or diary.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.travel_days.day","includes_united_states":false,"kind":"date","label":"Which day of your spouse's travel is this?","label_when":[],"options":[],"placeholder":"2025-06-14","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_physical_presence.travel_days[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from their passport stamp or ticket. Pick the United States for time your spouse spent there. Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.travel_days.country","includes_united_states":true,"kind":"country","label":"Which country was your spouse in on that day?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"spouse_physical_presence.travel_days[].in_us_transit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their boarding passes show the landing and take-off times.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.travel_days.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Was your spouse only changing planes in the United States, for under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_physical_presence.travel_days[].in_international_waters","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_physical_presence.travel_days.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Was your spouse at sea, or flying outside any country, that day?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Day","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.abroad_whole_period","value":false},{"op":"eq","ref":"spouse_abroad.travel_by_trips","value":false}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Abroad means in a foreign country. The first day of their 12-month period counts as a full day there only if they were already abroad at midnight as it began. Say no if they arrived that day. Their passport stamps or tickets show it.","help_lines":[],"help_when":[],"id":"spouse_abroad.abroad_when_stretch_began","includes_united_states":false,"kind":"yesno","label":"Was your spouse already abroad as the first day of their period began?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.abroad_whole_period","value":false},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.travel_by_trips"},{"op":"derived","ref":"spouse_abroad.ppt_first_day_decides"}]}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Abroad means in a foreign country. The last day of their 12-month period counts as a full day there only if they were still abroad at midnight as it ended. Say no if they left that day. Their passport stamps or tickets show it.","help_lines":[],"help_when":[],"id":"spouse_abroad.abroad_when_stretch_ended","includes_united_states":false,"kind":"yesno","label":"Was your spouse still abroad as the last day of their period ended?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.abroad_whole_period","value":false},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.travel_by_trips"},{"op":"derived","ref":"spouse_abroad.ppt_last_day_decides"}]}]}]}},{"binds":"spouse_bona_fide_residence.country_of_residence","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country they treated as home, from their residence permit. If that period covered more than one foreign country, give the one they were settled in longest.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","includes_united_states":false,"kind":"country","label":"Which country did your spouse settle in?","label_when":[],"off_ramp":{"body":"The settled-residence route needs a home in a foreign country. The United States, its territories and Antarctica do not count as one.","code":"settled_country_not_abroad","next_step":"Choose the foreign country, or use the day-count route instead.","severity":"block","title":"A settled residence abroad has to be in a foreign country","when":{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}},"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":false,"exact":false,"note":"Filled in from the country you named as your spouse's main place of work. Change it here if their settled home was in a different country.","value_ref":"spouse_abroad.spouse_residency.tax_home.country","when":{"op":"truthy","ref":"spouse_abroad.spouse_residency.tax_home.country"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"spouse_bona_fide_residence.residence_began_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their residence permit or their registration with the local authority gives the date.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","includes_united_states":false,"kind":"date","label":"From which day did your spouse live there as a settled resident?","label_when":[],"options":[],"placeholder":"2022-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"clears":["spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on"],"currency_pickable":false,"derived_from_presence":["spouse_bona_fide_residence.residence_abroad_ended_on"],"help":"Say no if they still live abroad as a settled resident, in that country or another one: a move from one country abroad to another does not end it. Their Form 2555 carries the word Continues in that case, and we write it for you.","help_lines":[],"help_when":[],"id":"spouse_abroad.bfr_residence_abroad_ended","includes_united_states":false,"kind":"yesno","label":"Has your spouse's settled residence abroad come to an end?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"spouse_bona_fide_residence.residence_abroad_ended_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day they left their life abroad for good, from their own papers. A move from one country abroad to another is not the end.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.residence_abroad_ended_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse's settled residence abroad end?","label_when":[],"options":[],"placeholder":"2025-12-31","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"spouse_abroad.bfr_residence_abroad_ended"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"truthy","ref":"spouse_abroad.bfr_residence_abroad_ended"}]}},{"binds":"spouse_bona_fide_residence.settled_through_following_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The settled-residence route needs a whole calendar year abroad, January 1 to December 31. Your spouse's settled residence began after January 1, {context.return_year}, so the whole year it can hold is {context.following_year}, and the route is open only once that year has ended with your spouse still settled abroad.","help_lines":["If that year has not ended yet, answer no. You can ask the IRS for more time to file with Form 2350, or use the day-count route if the days abroad meet it."],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.settled_through_following_year","includes_united_states":false,"kind":"yesno","label":"Was your spouse still settled abroad, without a break, on December 31, {context.following_year}?","label_when":[],"off_ramp":{"body":"A settled residence abroad counts only when it runs without a break through a whole calendar year, January 1 to December 31. Begun after January 1, {context.return_year}, it can count only once it has run through December 31, {context.following_year}.","code":"settled_residence_needs_a_whole_year","next_step":"Use the day-count route if the days abroad meet it, or file later once that year has ended. Form 2350 asks the IRS for more time to file.","severity":"block","title":"The settled-residence route needs a whole calendar year","when":{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","value":1},{"op":"not","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","values":["2018-01-01","2019-01-01","2020-01-01","2021-01-01","2022-01-01","2023-01-01","2024-01-01","2025-01-01","2026-01-01"]}]}]},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.settled_through_following_year","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"age_lt","ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","value":1},{"op":"not","rules":[{"op":"in","ref":"spouse_abroad.spouse_bona_fide_residence.residence_began_on","values":["2018-01-01","2019-01-01","2020-01-01","2021-01-01","2022-01-01","2023-01-01","2024-01-01","2025-01-01","2026-01-01"]}]}]},{"op":"eq","ref":"spouse_abroad.bfr_residence_abroad_ended","value":false}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You answered this before for one country of your spouse's. Only the answer about their time abroad as a whole is used now.","help_lines":[],"help_when":[],"id":"spouse_abroad.bfr_residence_ended","includes_united_states":false,"kind":"yesno","label":"Did your spouse's settled residence in that one country come to an end?","label_when":[],"off_ramp":{"body":"You told us before when your spouse's settled residence in one country ended. A move from one country abroad to another does not end a settled residence abroad, so that answer is kept but no longer used.","code":"settled_residence_end_per_country_kept","next_step":"Answer the question about your spouse's settled residence abroad as a whole.","severity":"info","title":"Your earlier answer about one country is kept","when":{"op":"truthy","ref":"spouse_abroad.bfr_residence_ended"}},"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"truthy","ref":"spouse_abroad.bfr_residence_ended"}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Kept as you gave it and not used: the answer about their settled residence abroad as a whole decides the dates on their form.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.residence_ended_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse's residence in that one country end?","label_when":[],"off_ramp":{"body":"You told us before when your spouse's settled residence in one country ended. A move from one country abroad to another does not end a settled residence abroad, so that answer is kept but no longer used.","code":"settled_residence_end_per_country_kept","next_step":"Answer the question about your spouse's settled residence abroad as a whole.","severity":"info","title":"Your earlier answer about one country is kept","when":{"op":"answered","ref":"spouse_abroad.spouse_bona_fide_residence.residence_ended_on"}},"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"answered","ref":"spouse_abroad.spouse_bona_fide_residence.residence_ended_on"}]}},{"binds":"spouse_bona_fide_residence.claimant_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their passport answers this. Only a citizen, or a resident who is a citizen of a country with a tax treaty, can use this route, so the return needs a yes or a no.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","includes_united_states":false,"kind":"yesno","label":"Is your spouse a United States citizen?","label_when":[],"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your answer on the household page, where you said your spouse is neither a United States citizen nor a United States resident. Change it here if that was not right.","value":false,"when":{"op":"eq","ref":"household.spouse.is_nonresident_alien","value":true}},"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.bona_fide_citizenship_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"spouse_bona_fide_residence.treaty_country_national","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country on your spouse's passport is not on the IRS list of treaty countries. Say yes if they are also a citizen or national of a country that is on it. Choose Not sure if you have not checked.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.treaty_country_national","includes_united_states":false,"kind":"yesno","label":"Is your spouse also a citizen of a United States tax treaty country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","value":false},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"spouse_abroad.spouse_citizenship_country","values":["Armenia","Australia","Austria","Azerbaijan","Bangladesh","Barbados","Belarus","Belgium","Bulgaria","Canada","Chile","China","Cyprus","Czech Republic","Denmark","Egypt","Estonia","Finland","France","Georgia","Germany","Greece","Iceland","India","Indonesia","Ireland","Israel","Italy","Jamaica","Japan","Kazakhstan","Korea, Republic of (South)","Kyrgyzstan","Latvia","Lithuania","Luxembourg","Malta","Mexico","Moldova","Morocco","Netherlands","New Zealand","Norway","Pakistan","Philippines","Poland","Portugal","Romania","Russia","Slovakia","Slovenia","South Africa","Spain","Sri Lanka","Sweden","Switzerland","Tajikistan","Thailand","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Ukraine","United Kingdom (England, Northern Ireland, Scotland, and Wales)","Uzbekistan","Venezuela"]},{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"in","ref":"household.spouse.itin_application.citizenship_country","values":["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GG","GH","GI","GL","GM","GN","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IRS:AT","IRS:AX","IRS:BQ","IRS:CR","IRS:DQ","IRS:DX","IRS:FQ","IRS:HQ","IRS:IP","IRS:JN","IRS:JQ","IRS:KQ","IRS:KV","IRS:LQ","IRS:MQ","IRS:OC","IRS:PF","IRS:PG","IRS:SV","IRS:WQ","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","ZA","ZM","ZW"]},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.itin_application.other_citizenship_country"}]}]},{"op":"in","ref":"household.spouse.itin_application.citizenship_country","values":["AM","AT","AU","AZ","BB","BD","BE","BG","BY","CA","CH","CL","CN","CY","CZ","DE","DK","EE","EG","ES","FI","FR","GB","GE","GR","ID","IE","IL","IN","IS","IT","JM","JP","KG","KR","KZ","LK","LT","LU","LV","MA","MD","MT","MX","NL","NO","NZ","PH","PK","PL","PT","RO","RU","SE","SI","SK","TH","TJ","TM","TN","TR","TT","UA","UZ","VE","ZA"]}]}]}]}]}]}},{"binds":"spouse_bona_fide_residence.submitted_nonresident_statement","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is a written statement they or their advisor filed with them. Say no if it never happened.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","includes_united_states":false,"kind":"yesno","label":"Has your spouse told that country's tax office they are not a resident there?","label_when":[],"off_ramp":{"body":"Your spouse told that country's tax office they are not a resident there. The Form 2555 instructions say a filer who has done that is not treated as a settled resident unless that office has since held that they are subject to its income tax, so check what that office has decided before you claim the exclusion for them this way.","code":"complex_feie_election","next_step":"Check that office's decision, then continue with your answers.","severity":"review","title":"That statement can stop a settled-residence claim","when":{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"answered","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax"},{"op":"not","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"spouse_bona_fide_residence.required_to_pay_host_income_tax","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their assessment notice or their advisor will say. Choose Not sure if it has never been settled, but Form 2555 line 13b needs a yes or a no before their claim can be filed on this route.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","includes_united_states":false,"kind":"yesno","label":"Is your spouse required to pay income tax to that country?","label_when":[],"off_ramp":{"body":"Your spouse told that country they are not a resident there, and they are not required to pay income tax there. Form 2555 says that combination means they do not qualify as a settled resident, so there is nothing more to collect on this route.","code":"complex_feie_election","next_step":"Go back and answer the day-counting route for your spouse instead, or use another preparer for the return. Your answers stay saved.","severity":"review","title":"Your spouse's settled-residence claim cannot succeed","when":{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}},{"binds":"spouse_bona_fide_residence.living_quarters_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 offers these four and no others. Their lease or their deeds say which one it was.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.living_quarters_type","includes_united_states":false,"kind":"choice","label":"What kind of home did your spouse live in there?","label_when":[],"options":[{"label":"A house they bought.","value":"purchased-house"},{"label":"A house or an apartment they rented.","value":"rented-house"},{"label":"A room they rented.","value":"rented-room"},{"label":"Somewhere their employer provided.","value":"employer-provided"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"spouse_bona_fide_residence.family_present","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count you and any children who lived in the same home, even for part of the year. Choose Not sure if you cannot say: the line is then left blank on their form.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.family_present","includes_united_states":false,"kind":"yesno","label":"Did your spouse's family live with them abroad during any part of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"clears":["spouse_abroad.bfr_travel_by_trips","spouse_abroad.spouse_bona_fide_residence.trips","spouse_abroad.spouse_bona_fide_residence.travel_days"],"currency_pickable":false,"derived_from_presence":["spouse_bona_fide_residence.travel_days[]"],"help":"Count every visit to the United States or its territories: Form 2555 lists each one. A vacation counts, however short.","help_lines":["Add a stay in any other country too: the form asks only for the visits to the United States, and the other stays are kept with your answers.","Their passport stamps and boarding passes are the record."],"help_when":[],"id":"spouse_abroad.bfr_travel_away","includes_united_states":false,"kind":"yesno","label":"Did your spouse leave that country at any point during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"clears":["spouse_abroad.spouse_bona_fide_residence.trips","spouse_abroad.spouse_bona_fide_residence.travel_days"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes and you give the country and the two dates for each stay, instead of one row for every day. A stay at sea, and a stop in the United States that was only a change of planes, each go in as a stay of their own.","help_lines":[],"help_when":[],"id":"spouse_abroad.bfr_travel_by_trips","includes_united_states":false,"kind":"yesno","label":"Can you give your spouse's times away as stays, each in one country?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"spouse_abroad.bfr_travel_away"}]}]}},{"add_label":"Add a stay","expands_into":"spouse_bona_fide_residence.travel_days[]","help":"Add one row for each stay away from the country they settled in, from the day they arrived to the day they left. Every visit to the United States needs a row of its own, because Form 2555 asks for the dates of each one.","id":"spouse_abroad.spouse_bona_fide_residence.trips","kind":"repeat","label":"Where did your spouse go, and when?","max_rows":50,"min_rows":1,"nodes":[{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country they traveled to, from their passport stamp or their ticket.","help_lines":["Pick the United States for time your spouse spent there.","Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country."],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.trips.country","includes_united_states":true,"kind":"country","label":"Which country was your spouse in for that stay?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The day they arrived, from their passport stamp or their boarding pass. The day they arrive is not a full day abroad unless they were already in another foreign country the day before, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.trips.arrived_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse's stay begin?","label_when":[],"options":[],"placeholder":"2025-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The last day they were there, from their passport stamp or their boarding pass. The day they leave is not a full day abroad unless they were in another foreign country the day after, so we leave it out of the 330 for you.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.trips.left_on","includes_united_states":false,"kind":"date","label":"On which day did your spouse's stay end?","label_when":[],"options":[],"placeholder":"2025-05-31","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their boarding passes show the landing and take-off times. Say no for an ordinary visit, however short.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.trips.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Was your spouse only changing planes in the United States, stops under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.trips.country","value":"US"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this. Say yes for a cruise leg between two countries, and give the country they sailed from as the country for this stay.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.trips.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Was your spouse at sea, or flying outside any country, on those days?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Stay","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.bfr_travel_away"},{"op":"truthy","ref":"spouse_abroad.bfr_travel_by_trips"}]}]}]}},{"add_label":"Add a day","binds":"spouse_bona_fide_residence.travel_days[]","help":"Add one row per day. A day counts as a full day abroad only when your spouse was inside a foreign country from midnight to midnight. A day at sea or over international waters is not a full day abroad, and neither is a day spent in the United States.","id":"spouse_abroad.spouse_bona_fide_residence.travel_days","kind":"repeat","label":"Which country was your spouse in on each day they were away?","max_rows":366,"min_rows":1,"nodes":[{"binds":"spouse_bona_fide_residence.travel_days[].day","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"One calendar day, taken from their passport stamps, boarding passes or diary.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.travel_days.day","includes_united_states":false,"kind":"date","label":"Which day of your spouse's travel is this?","label_when":[],"options":[],"placeholder":"2025-06-14","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_bona_fide_residence.travel_days[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country, from their passport stamp or ticket. Pick the United States for time your spouse spent there. Pick the territory itself for a stay in Puerto Rico, Guam, the Northern Mariana Islands, American Samoa or the United States Virgin Islands, and pick Antarctica for time in the Antarctic region: none of them counts as a foreign country.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.travel_days.country","includes_united_states":true,"kind":"country","label":"Which country was your spouse in on that day?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"spouse_bona_fide_residence.travel_days[].in_us_transit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their boarding passes show the landing and take-off times.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_us_transit","includes_united_states":false,"kind":"yesno","label":"Was your spouse only changing planes in the United States, for under 24 hours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"spouse_bona_fide_residence.travel_days[].in_international_waters","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A ship's log or a flight itinerary is the record for this.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.travel_days.in_international_waters","includes_united_states":false,"kind":"yesno","label":"Was your spouse at sea, or flying outside any country, that day?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Day","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.bfr_travel_away"},{"op":"eq","ref":"spouse_abroad.bfr_travel_by_trips","value":false}]}]}]}},{"binds":"spouse_bona_fide_residence.maintained_us_home","clears":["spouse_abroad.spouse_bona_fide_residence.us_home_address","spouse_abroad.spouse_bona_fide_residence.us_home_rented","spouse_abroad.us_home_has_occupants","spouse_abroad.spouse_bona_fide_residence.us_home_occupants"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15d on their own form. Count a house or an apartment they kept, whether or not anyone lived in it while they were away.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home","includes_united_states":false,"kind":"yesno","label":"Did your spouse keep a home in the United States while they lived abroad?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"address_variant":"full","binds":"spouse_bona_fide_residence.us_home_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15e. It has to be the address in the United States, from their deed, their lease or a utility bill.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.us_home_address","includes_united_states":false,"kind":"address","label":"What is the address of the home your spouse kept there?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"}]}]}},{"binds":"spouse_bona_fide_residence.us_home_rented","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15e asks whether it was rented. The lease with the tenant is the record. Rent received is income, which goes in with the other income.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.us_home_rented","includes_united_states":false,"kind":"yesno","label":"Was that home rented out to anyone while your spouse was abroad?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"}]}]}},{"clears":["spouse_abroad.spouse_bona_fide_residence.us_home_occupants"],"currency_pickable":false,"derived_from_presence":["spouse_bona_fide_residence.us_home_occupants[]"],"help":"Form 2555 line 15e asks for the name of each person living there and how they are related to your spouse. Say no if it stood empty.","help_lines":[],"help_when":[],"id":"spouse_abroad.us_home_has_occupants","includes_united_states":false,"kind":"yesno","label":"Did anyone live in that home while your spouse was abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"}]}]}},{"add_label":"Add a person","binds":"spouse_bona_fide_residence.us_home_occupants[]","help":"Add a row for each person, with how they are related to your spouse.","id":"spouse_abroad.spouse_bona_fide_residence.us_home_occupants","kind":"repeat","label":"Who lived in your spouse's home there?","max_rows":50,"min_rows":1,"nodes":[{"binds":"spouse_bona_fide_residence.us_home_occupants[].first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As they write it themselves.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.us_home_occupants.first_name","includes_united_states":false,"kind":"text","label":"What is the first name of the person living in your spouse's home?","label_when":[],"options":[],"placeholder":"Sam","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"spouse_bona_fide_residence.us_home_occupants[].last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As they write it themselves.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.us_home_occupants.last_name","includes_united_states":false,"kind":"text","label":"What is the last name of the person living in your spouse's home?","label_when":[],"options":[],"placeholder":"Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"spouse_bona_fide_residence.us_home_occupants[].relationship","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 offers these and no others. Choose the last one for a tenant or anyone else who is not family.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.us_home_occupants.relationship","includes_united_states":false,"kind":"choice","label":"How are they related to your spouse?","label_when":[],"options":[{"label":"Their spouse.","value":"spouse"},{"label":"Son.","value":"son"},{"label":"Daughter.","value":"daughter"},{"label":"Child.","value":"child"},{"label":"Foster child.","value":"foster_child"},{"label":"Grandchild.","value":"grandchild"},{"label":"Parent.","value":"parent"},{"label":"Grandparent.","value":"grandparent"},{"label":"Brother.","value":"brother"},{"label":"Sister.","value":"sister"},{"label":"Aunt.","value":"aunt"},{"label":"Uncle.","value":"uncle"},{"label":"Nephew.","value":"nephew"},{"label":"Niece.","value":"niece"},{"label":"Another relative.","value":"other"},{"label":"Not related to them, such as a tenant.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Person","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.maintained_us_home"},{"op":"truthy","ref":"spouse_abroad.us_home_has_occupants"}]}]}]}},{"binds":"spouse_bona_fide_residence.contractual_terms","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15a on their own form. Their employment contract says. For example: unlimited contract, renewable two-year contract, fixed term ending in 2027, or self-employed with no fixed term.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.contractual_terms","includes_united_states":false,"kind":"text","label":"Briefly, how long does your spouse's work abroad last, by its terms?","label_when":[],"options":[],"placeholder":"Unlimited contract","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_80":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_80"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"spouse_bona_fide_residence.visa_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15b. Their passport or their residence permit shows it. Choose no visa if they needed none, for example as a citizen of that country.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.visa_type","includes_united_states":false,"kind":"choice","label":"Which kind of visa did your spouse enter that country on?","label_when":[],"options":[{"label":"A tourist visa.","value":"tourist"},{"label":"An immigration visa.","value":"immigration"},{"label":"A student visa.","value":"student"},{"label":"A work visa.","value":"work"},{"label":"No visa.","value":"none"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"spouse_bona_fide_residence.visa_limits_stay","clears":["spouse_abroad.spouse_bona_fide_residence.visa_limitations"],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 line 15c. Say yes if it ran out on a fixed date or limited the work they could do. A visa they can renew still counts as a limit until it is renewed.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.visa_limits_stay","includes_united_states":false,"kind":"yesno","label":"Did your spouse's visa limit how long they could stay or work there?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]}]}},{"binds":"spouse_bona_fide_residence.visa_limitations","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 2555 asks for an explanation when the visa limited the stay, and we attach it to their form. For example: renewable work visa, valid two years at a time.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_bona_fide_residence.visa_limitations","includes_united_states":false,"kind":"text","label":"In a few words, what were the limits on your spouse's visa?","label_when":[],"options":[],"placeholder":"Renewable work visa, two years at a time","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.part_ii_incomplete_refusals","required_when":{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.visa_limits_stay"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"narrative_text":{"message":"Use ordinary letters, numbers and punctuation here. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write it in 9,000 characters or fewer, which is all the form has room for."}},"validators":["narrative_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.submitted_nonresident_statement","value":true},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.required_to_pay_host_income_tax","value":false}]}]},{"op":"truthy","ref":"spouse_abroad.spouse_bona_fide_residence.visa_limits_stay"}]}]}},{"binds":"spouse_residency.tax_home.abroad_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if they moved to it straight from a job or business based in another country abroad, with no period working from the United States in between. Say no if their main place of work was in the United States before it.","help_lines":["If your spouse did not work before this one, as a student or while not working, they had no earlier main place of work, so answer no."],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.abroad_before","includes_united_states":false,"kind":"yesno","label":"Was your spouse's main place of work in another country abroad before this one?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.tax_home_start_refusal","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"derived","ref":"spouse_abroad.tax_home_cuts_period"}},{"add_label":"Add a main place of work abroad","binds":"spouse_residency.tax_home.earlier[]","help":"Add each of their main places of work abroad back to the start of the unbroken period, in any order. Their Form 2555 lists every one they had during the year with the day it began, and the earliest starts the part of the year that counts.","id":"spouse_abroad.spouse_residency.tax_home.earlier","kind":"repeat","label":"Where was your spouse's main place of work abroad before this one?","max_rows":49,"min_rows":1,"nodes":[{"binds":"spouse_residency.tax_home.earlier[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country where the work was done day to day, from that contract.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.earlier.country","includes_united_states":false,"kind":"country","label":"Which country held your spouse's main place of work then?","label_when":[],"off_ramp":{"body":"The exclusion of pay earned abroad needs a main place of work in a foreign country. The United States, its territories and Antarctica do not count as one.","code":"tax_home_not_abroad","next_step":"Choose the foreign country where that work was based, or remove the row.","severity":"block","title":"A main place of work abroad has to be in a foreign country","when":{"op":"in","ref":"spouse_abroad.spouse_residency.tax_home.earlier.country","values":["AQ","AS","GU","IRS:BQ","IRS:DQ","IRS:FQ","IRS:HQ","IRS:JQ","IRS:KQ","IRS:LQ","IRS:MQ","IRS:WQ","MP","PR","US","VI"]}},"options":[],"options_ref":"country_codes","placeholder":"SA","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"spouse_residency.tax_home.earlier[].city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on that contract, or the office address.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.earlier.city","includes_united_states":false,"kind":"text","label":"Which city or town held your spouse's main place of work then?","label_when":[],"options":[],"placeholder":"Riyadh","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_home_city":{"message":"Write the name of the place in ordinary letters, numbers and punctuation, the accented letters used in Spanish, and single spaces between words, which is what Form 2555 line 9 takes.","message_too_long":"Write a shorter name for the place: Form 2555 line 9 has room for 35 characters for the city or town and the name of the country together."}},"validators":["tax_home_city"]},{"binds":"spouse_residency.tax_home.earlier[].established_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The start date on that contract, or the day that business opened there.","help_lines":[],"help_when":[],"id":"spouse_abroad.spouse_residency.tax_home.earlier.established_on","includes_united_states":false,"kind":"date","label":"From which day was that your spouse's main place of work?","label_when":[],"options":[],"placeholder":"2022-01-01","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Earlier main place of work abroad","visible_when":{"op":"and","rules":[{"op":"derived","ref":"spouse_abroad.tax_home_cuts_period"},{"op":"truthy","ref":"spouse_abroad.spouse_residency.tax_home.abroad_before"}]}},{"binds":"screened_inputs.spouse_housing_deduction_carryover","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 46 of their last Form 2555 above its line 48 is the part left unused. Answer no if that form had no Part IX.","help_lines":[],"help_when":[],"id":"spouse_abroad.screened_inputs.spouse_housing_deduction_carryover","includes_united_states":false,"kind":"yesno","label":"Did your spouse's last Form 2555 leave part of their housing deduction unused?","label_when":[],"off_ramp":{"body":"If this year's income leaves room for it on your spouse's form, the part carried in is worked out from their last Form 2555, which we do not do here, and this return cannot be filed from here. With no room, nothing carries in.","code":"housing_deduction_carryover","next_step":"Continue with your answers. Your return says before anything is sent whether it applies.","severity":"review","title":"We may not be able to carry that deduction into this year","when":{"op":"truthy","ref":"spouse_abroad.screened_inputs.spouse_housing_deduction_carryover"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"spouse_abroad.spouse_feie_prior_claims.previously_filed"},{"op":"truthy","ref":"income_sources.has_self_employment"}]}},{"binds":"spouse_housing_facts.housing_location_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on their lease.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.housing_location_country","includes_united_states":false,"kind":"country","label":"Which country is your spouse's home in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":true,"exact":false,"note":"Filled in from your spouse's first address in the country of the main place of work, on the page about your spouse abroad. Change it if the home was in another country.","value_ref":"spouse_abroad.spouse_residency.tax_home.country","when":{"op":"derived","ref":"spouse_abroad.tax_home_city"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]}},{"binds":"spouse_housing_facts.housing_location_city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on their lease or their housing bills. The IRS sets the housing limit by place, so pick it from the list when it is there, written as the list writes it. If it is not there, pick \"Another place in\" and the country.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.housing_location_city","includes_united_states":false,"kind":"text","label":"Which city or town did your spouse pay to live in?","label_when":[],"options":[],"placeholder":"Berlin","prefill":{"confirm":true,"exact":false,"note":"Filled in from your spouse's first address in the country of the main place of work, on the page about your spouse abroad. Change it if the home was in another place.","value_from":"spouse_abroad.tax_home_city","when":{"op":"derived","ref":"spouse_abroad.tax_home_city"}},"prefills":[],"required":true,"suggests_currencies":false,"suggests_places_from":"foreign_tax.spouse_housing_facts.housing_location_country","unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]}},{"binds":"spouse_housing_facts.qualified_housing_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Add up the rent, utilities and insurance for the year from their own bills.","help_lines":["Count rent, utilities other than the telephone, insurance on the home and what is in it, fees paid to get the lease, rented furniture, parking at home and repairs.","Leave out the cost of buying or improving a home, mortgage payments, interest and taxes you can deduct, the telephone, pay TV, domestic help and buying furniture."],"help_when":[[{"op":"derived","ref":"spouse_abroad.qualifying_period"},"Count only the costs for the days between {derived.spouse_abroad.qualifying_period}: that is the part of the year your exclusion covers."],[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},"If your spouse files their own return and also claims housing, split the costs so no amount is counted on both returns. If you lived apart within daily travel of each other's home or work, only one of you can claim."]],"id":"foreign_tax.spouse_housing_facts.qualified_housing_expenses","includes_united_states":false,"kind":"money","label":"What did your spouse's housing cost for the year?","label_when":[],"options":[],"placeholder":"28000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]}},{"binds":"spouse_housing_facts.us_government_housing_allowance","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Count a tax-free housing or quarters allowance paid to you or your spouse as a US government employee or service member for this home. It is on the government's pay or allowance statement. Enter 0 if none was paid.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.us_government_housing_allowance","includes_united_states":false,"kind":"money","label":"How much did a US government housing allowance pay toward your spouse's home?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2555.government_allowance_refusals","required_when":{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.employer_is_us_government"}]}]}},{"clears":["foreign_tax.spouse_housing_facts.second_household.country","foreign_tax.spouse_housing_facts.second_household.city","foreign_tax.spouse_housing_facts.second_household.days","foreign_tax.spouse_housing_facts.second_household.expenses"],"currency_pickable":false,"derived_from_presence":["spouse_housing_facts.second_household"],"help":"Say yes only if your family lived in a separate home because conditions near the main place of work were dangerous, unhealthful or otherwise adverse, such as war, civil unrest or disease.","help_lines":["Form 2555 line 8 asks about it, and its costs count with your housing costs. You can count only one such second home at a time."],"help_when":[],"id":"foreign_tax.spouse_kept_second_household","includes_united_states":false,"kind":"yesno","label":"Did your spouse keep a second family home abroad due to adverse workplace conditions?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]}},{"binds":"spouse_housing_facts.second_household.country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on their lease for that home.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.second_household.country","includes_united_states":false,"kind":"country","label":"Which country was the second home your spouse kept in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"truthy","ref":"foreign_tax.spouse_kept_second_household"}]}},{"binds":"spouse_housing_facts.second_household.city","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The place named on the lease. If it is in the list, pick it there. Form 2555 has room for 35 characters for the city and the country together.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.second_household.city","includes_united_states":false,"kind":"text","label":"Which city or town was the second home your spouse kept in?","label_when":[],"options":[],"placeholder":"Paris","prefills":[],"required":true,"suggests_currencies":false,"suggests_places_from":"foreign_tax.spouse_housing_facts.second_household.country","unanswered_allowed":false,"validator_messages":{"descriptive_text_35":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_35"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"truthy","ref":"foreign_tax.spouse_kept_second_household"}]}},{"binds":"spouse_housing_facts.second_household.days","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the days in the year the lease ran. Form 2555 line 8b asks for the number.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.second_household.days","includes_united_states":false,"kind":"integer","label":"For how many days of the year did your spouse keep that second home?","label_when":[],"options":[],"placeholder":"365","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"days_in_year":{"message_bounds":"Enter a whole number of days between 0 and 366."}},"validators":["days_in_year"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"truthy","ref":"foreign_tax.spouse_kept_second_household"}]}},{"binds":"spouse_housing_facts.second_household.expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From the bills: the rent, utilities and insurance for it. Count only the days the exclusion covers. Leave out the cost of buying a home.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.second_household.expenses","includes_united_states":false,"kind":"money","label":"What did that second home cost your spouse for the year?","label_when":[],"options":[],"placeholder":"18000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"truthy","ref":"foreign_tax.spouse_kept_second_household"}]}},{"binds":"spouse_housing_facts.couple_households","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Apart means each of you kept a separate home abroad for the year.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.couple_households","includes_united_states":false,"kind":"choice","label":"Did you and your spouse live in one home abroad, or apart?","label_when":[],"options":[{"label":"In one shared home.","value":"same"},{"label":"In separate homes.","value":"separate"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]}},{"binds":"spouse_housing_facts.costs_split_without_duplication","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each cost of the shared home can be in your claim or in your spouse's, never in both. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.costs_split_without_duplication","includes_united_states":false,"kind":"yesno","label":"Did you split the shared home's costs so each cost is claimed once?","label_when":[],"off_ramp":{"body":"Costs claimed by both of you count twice, so we cannot file both claims as they are.","code":"married_couple_housing_claims","next_step":"Remove one claim, or split the figures so each cost is in one claim only.","severity":"review","title":"Only one of you can claim these costs","when":{"op":"eq","ref":"foreign_tax.spouse_housing_facts.costs_split_without_duplication","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"eq","ref":"foreign_tax.spouse_housing_facts.couple_households","value":"same"}]}},{"binds":"spouse_housing_facts.beyond_commuting_distance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if neither of you could reasonably travel each day from your own home to the other's place of work, and your places of work were that far apart too. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"foreign_tax.spouse_housing_facts.beyond_commuting_distance","includes_united_states":false,"kind":"yesno","label":"Were your two homes and places of work too far apart for daily travel?","label_when":[],"off_ramp":{"body":"When your homes or places of work were close enough for daily travel, only one of you can claim housing costs, so we cannot file both claims.","code":"married_couple_housing_claims","next_step":"Remove one of the two housing claims, or use another preparer for this return.","severity":"review","title":"Only one of you can claim housing","when":{"op":"eq","ref":"foreign_tax.spouse_housing_facts.beyond_commuting_distance","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]},{"op":"eq","ref":"foreign_tax.spouse_housing_facts.couple_households","value":"separate"}]}}],"review":false,"title":"Your spouse abroad","visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]}},{"blurb":"Everyone gets a standard deduction of {context.standard_deduction} without listing anything. These questions find out whether anything else lowers your tax.","id":"deductions_credits","nodes":[{"binds":"taxpayer.itin_application.lives_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Where you live permanently or normally. Say no only if you have moved to the United States and no longer have a home abroad.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.lives_abroad","includes_united_states":false,"kind":"yesno","label":"Do you have a home outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]}},{"address_variant":"foreign","binds":"taxpayer.itin_application.foreign_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your lease, a utility bill or your registration with the local authority. It has to be a street address.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.foreign_address","includes_united_states":false,"kind":"address","label":"What is your home address outside the United States?","label_when":[],"offers_address_from":"about_you.taxpayer.mailing_address","options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.lives_abroad","value":true}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.taxpayer.itin_application.lives_abroad"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"taxpayer.itin_application.last_foreign_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country of your last home outside the United States, from your own records.","help_lines":[],"help_when":[],"id":"household.taxpayer.itin_application.last_foreign_country","includes_united_states":false,"kind":"country","label":"In which country did you last live before moving here?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.lives_abroad","value":false}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]},{"op":"and","rules":[{"op":"derived","ref":"about_you.taxpayer.number_is_itin"},{"op":"or","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"about_you.taxpayer.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"about_you.taxpayer.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.taxpayer.itin_application.lives_abroad","value":false}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"}]},{"op":"any_row","ref":"where_you_lived.residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"spouse.itin_application.lives_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Where they live permanently or normally. Say no only if they have moved to the United States and no longer have a home abroad.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.lives_abroad","includes_united_states":false,"kind":"yesno","label":"Does your spouse have a home outside the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]}},{"address_variant":"foreign","binds":"spouse.itin_application.foreign_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their lease, a utility bill or their registration with the local authority. It has to be a street address.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.foreign_address","includes_united_states":false,"kind":"address","label":"What is your spouse's home address outside the United States?","label_when":[],"offers_address_from":"about_you.taxpayer.mailing_address","options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.lives_abroad","value":true}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"truthy","ref":"household.spouse.itin_application.lives_abroad"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]}},{"binds":"spouse.itin_application.last_foreign_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The country of their last home outside the United States, from their own records.","help_lines":[],"help_when":[],"id":"household.spouse.itin_application.last_foreign_country","includes_united_states":false,"kind":"country","label":"In which country did your spouse last live before moving here?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"FR","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.itin.ItinApplication._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.lives_abroad","value":false}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"household.spouse.number_is_itin"}]},{"op":"or","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"no"},{"op":"and","rules":[{"op":"eq","ref":"household.spouse.itin_on_recent_return","value":"yes"},{"op":"eq","ref":"household.spouse.itin_issued_before_2013","value":"yes"}]}]}]}]},{"op":"eq","ref":"household.spouse.itin_application.lives_abroad","value":false}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"where_you_lived.spouse_earned_abroad"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.work_performed_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]},{"op":"any_row","ref":"income_sources.pensions_and_annuities","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.pensions_and_annuities.source","value":"foreign"},{"op":"eq","ref":"income_sources.pensions_and_annuities.received_while_residing_in_us","value":false},{"op":"eq","ref":"income_sources.pensions_and_annuities.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.uses_physical_presence","value":false},{"op":"eq","ref":"spouse_abroad.uses_bona_fide_residence","value":false}]}]}]}]},{"op":"any_row","ref":"spouse_abroad.spouse_residency.stints","rules":[{"op":"and","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.address"},{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.spouse_residency.stints.end_date"}]}]}]}]}]}]}},{"clears":["deductions_credits.itemized_deductions.medical_and_dental_expenses"],"currency_pickable":false,"derived_from_presence":["itemized_deductions"],"help":"{context.standard_deduction} is the flat amount you get for how you are filing this year, without listing anything at all. Add up your own receipts roughly. If you are not sure, answer yes and give us the figures you have: we use whichever total is larger. Count Medicare premiums taken off your benefits, and health coverage premiums your self-employed deduction did not take. Count charity gifts and investment interest carried over from last year too.","help_lines":[],"help_when":[],"id":"deductions_credits.has_itemized","includes_united_states":false,"kind":"yesno","label":"Did your medical costs, taxes, mortgage interest and charity gifts total over {context.standard_deduction}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"not","rules":[{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"clears":["deductions_credits.additional_deductions.tips_occupation_listed"],"currency_pickable":false,"derived_from_presence":["additional_deductions"],"help":"Tips, overtime and car loan interest each have their own deduction. Your Form W-2, payslips or lender's statement show them.","help_lines":[],"help_when":[],"id":"deductions_credits.has_additional_deductions","includes_united_states":false,"kind":"yesno","label":"Did you get tips or overtime pay, or pay car loan interest?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["deductions_credits.self_employed_health_insurance.premiums"],"currency_pickable":false,"derived_from_presence":["self_employed_health_insurance"],"help":"The policy has to be set up through the business you run, or through an S corporation you own more than 2% of that paid the premiums or paid you back and added them to your pay.","help_lines":[],"help_when":[],"id":"deductions_credits.has_self_employed_health_insurance","includes_united_states":false,"kind":"yesno","label":"Did you pay for your own health insurance through your self-employment?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.s_corporation_more_than_2_percent"}]}]}},{"clears":["deductions_credits.child_dependent_care.care_providers","deductions_credits.child_dependent_care.qualifying_persons"],"currency_pickable":false,"derived_from_presence":["child_dependent_care"],"help":"Daycare, childcare provider and after-school fees all count. School from kindergarten up, an overnight camp, summer school and tutoring do not. Care for an adult who cannot look after themselves and lived with you for more than half the year counts too, even if their income keeps you from claiming them. Check it too if all you paid this year was for care given last year: list the person and the provider with this year's costs at 0.","help_lines":[],"help_when":[],"id":"deductions_credits.has_child_dependent_care","includes_united_states":false,"kind":"yesno","label":"Did you pay for a child's or disabled adult's care so you could work?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"count_gt","ref":"household.dependents","value":0},{"op":"truthy","ref":"household.has_spouse"},{"op":"truthy","ref":"household.has_qualifying_person_not_dependent"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"truthy","ref":"income_sources.has_self_employment"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if an employer paid for your care costs, gave you a care allowance or provided the care itself. Box 10 of a Form W-2 is headed Dependent care benefits, and an employer abroad may do any of these without one. Answer no if no employer did.","help_lines":[],"help_when":[],"id":"deductions_credits.dependent_care_benefits","includes_united_states":false,"kind":"yesno","label":"Did an employer, here or abroad, pay for your care costs?","label_when":[],"off_ramp":{"body":"We do not work out care that an employer paid for or provided, whether it shows in box 10 of a Form W-2 or not, so a return that carries any has to be looked at before it is filed.","code":"dependent_care_benefits","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out care paid for through your employer","when":{"op":"truthy","ref":"deductions_credits.dependent_care_benefits"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"exclusions.dependent_care_benefits","suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"truthy","ref":"deductions_credits.dependent_care_benefits"}]}},{"clears":["deductions_credits.education_credits.students"],"currency_pickable":false,"derived_from_presence":["education_credits"],"help":"The college sends a statement of what you paid.","help_lines":[],"help_when":[],"id":"deductions_credits.has_education_credits","includes_united_states":false,"kind":"yesno","label":"Did you pay tuition or course fees for yourself, your spouse or a dependent?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A choice like that is a statement attached to a return, so your own copy of an earlier return would show it.","help_lines":["Alternative minimum tax is worked out on Form 6251.","Answer no if you have never made one.","Leave out the simplified limitation choice for that tax's foreign tax credit: we ask about it where it changes your return."],"help_when":[],"id":"deductions_credits.special_amt_or_niit_election","includes_united_states":false,"kind":"yesno","label":"Did you file an election about alternative minimum tax (a second tax calculation) or net investment income tax?","label_when":[],"off_ramp":{"body":"A choice you have already made with the IRS changes how this year is worked out, and we do not carry those choices here.","code":"special_amt_or_niit_election","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns that carry that choice","when":{"op":"truthy","ref":"deductions_credits.special_amt_or_niit_election"}},"options":[],"prefills":[],"required":true,"screening_key":"exclusions.special_amt_or_niit_election","suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it if you cannot tell yet whether you made a written choice about alternative minimum tax or investment income tax, and we ask about it on its own, with a Not sure.","help_lines":[],"help_when":[[{"op":"truthy","ref":"income_sources.has_wages"},"Check it too if you cannot tell whether an employer paid for your care costs or provided the care."]],"id":"deductions_credits.unsure_of_a_situation","includes_united_states":false,"kind":"yesno","label":"Are you unsure whether one of these applies to you?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"medical_expenses_paid","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your receipts and insurance statements show it. The extra tax on your early retirement withdrawal does not apply to the part of these costs above 7.5% of your adjusted gross income (your income after adjustments), and we work that part out for you.","help_lines":["Count your own care, your spouse's and your dependents'.","Leave out insurance premiums taken from your pay before tax, and anything an insurer or your employer paid back.","Leave out costs you counted for the child and dependent care credit: the same cost cannot be both.","A prescribed drug you bought and used in another country counts if it is legal there and in the United States. A drug you had shipped here from another country counts only if it was imported legally.","A drug that needs no prescription does not count, except insulin."],"help_when":[[{"op":"gt","ref":"context.ltc_premium_limits","value":0},"You can count premiums for long-term care coverage only up to an amount that depends on the age of the person covered at the end of the year: {context.ltc_premium_limits}."],[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},"Leave out the health coverage premiums you gave on the self-employed health coverage page: the ones that are not deducted there are added for you."],[{"op":"truthy","ref":"income_sources.has_social_security"},"Leave out Medicare premiums taken off your social security benefits: they are added for you from the benefits page. Count Medicare premiums you paid yourself."]],"id":"deductions_credits.medical_expenses_paid","includes_united_states":false,"kind":"money","label":"What did you pay this year for medical and dental care nobody paid back?","label_when":[],"options":[],"placeholder":"9000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5329.compute_form_5329","required_when":{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}]}]}},{"clears":["deductions_credits.additional_deductions.tips_occupation_listed","deductions_credits.additional_deductions.employee_tips","deductions_credits.additional_deductions.business_tips"],"currency_pickable":false,"derived_from_presence":["additional_deductions.employee_tips[]","additional_deductions.business_tips[]"],"help":"Box 7 of your Form W-2 shows the tips an employer reported for you, and your own tip records show anything else. You need a Social Security number for this deduction. An individual taxpayer identification number, which the IRS issues to people who cannot get a Social Security number, does not qualify.","help_lines":[],"help_when":[],"id":"deductions_credits.has_tips","includes_united_states":false,"kind":"yesno","label":"Did an employer or a customer pay you tips during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_additional_deductions"},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"truthy","ref":"income_sources.has_self_employment"}]}]}},{"clears":["deductions_credits.additional_deductions.overtime_w2_rows","deductions_credits.additional_deductions.overtime_1099_rows"],"currency_pickable":false,"derived_from_presence":["additional_deductions.overtime_w2_rows[]","additional_deductions.overtime_1099_rows[]"],"help":"Your payslips show the overtime premium, and box 1 of your Form W-2 already includes it. A payer who reported it on a Form 1099 instead counts as well. You need a Social Security number for this deduction. An individual taxpayer identification number, which the IRS issues to people who cannot get a Social Security number, does not qualify.","help_lines":[],"help_when":[],"id":"deductions_credits.has_overtime","includes_united_states":false,"kind":"yesno","label":"Did an employer or a payer pay you overtime during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_additional_deductions"},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"truthy","ref":"income_sources.has_self_employment"}]}]}},{"clears":["deductions_credits.additional_deductions.vehicle_loans"],"currency_pickable":false,"derived_from_presence":["additional_deductions.vehicle_loans[]"],"help":"The yearly interest statement your lender sends you shows what you paid.","help_lines":[],"help_when":[],"id":"deductions_credits.has_car_loan_interest","includes_united_states":false,"kind":"yesno","label":"Did you pay interest on a car loan during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.has_additional_deductions"}},{"clears":["deductions_credits.additional_deductions.vehicle_loans"],"currency_pickable":false,"derived_from_presence":["additional_deductions.vehicle_loans[]"],"help":"Your dealer's vehicle information label says where the car had its final assembly, the door sticker gives its gross vehicle weight rating, and your loan agreement says who took it out, when it started and what secures it. Answer no if even one of them was not met, and we will skip the rest: a used car, a lease, a car you use mostly for work, or one put together outside the United States carries no deduction however the loan was written.","help_lines":["Your car was new when you bought it.","It was put together in the United States.","It is a car, minivan, van, SUV, pickup truck or motorcycle with a gross vehicle weight rating under 14,000 pounds.","You bought it rather than leased it.","You took the loan out yourself, after 2024, and it is secured on the car itself. A loan you took over when the person who took it out died counts too, while it is still secured on the car.","You use the car mainly for yourself and your family rather than for work, which means more than half the time, counting use by you, your spouse, your children, your parents, your brothers and sisters and anyone who lives in your home."],"help_when":[],"id":"deductions_credits.car_loan_qualifies","includes_united_states":false,"kind":"yesno","label":"Did your car and your loan meet all of these conditions?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.has_car_loan_interest"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if an employer paid for your care costs, gave you a care allowance or provided the care itself. Box 10 of a Form W-2 is headed Dependent care benefits, and an employer abroad may do any of these without one. Answer no if no employer did. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.dependent_care_benefits_if_unsure","includes_united_states":false,"kind":"yesno","label":"Did an employer, here or abroad, pay for your care costs?","label_when":[],"off_ramp":{"body":"We do not work out care that an employer paid for or provided, whether it shows in box 10 of a Form W-2 or not, so a return that carries any has to be looked at before it is filed.","code":"dependent_care_benefits","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out care paid for through your employer","when":{"op":"truthy","ref":"deductions_credits.dependent_care_benefits_if_unsure"}},"options":[],"prefills":[],"required":true,"screening_key":"exclusions.dependent_care_benefits","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"truthy","ref":"deductions_credits.dependent_care_benefits"}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.unsure_of_a_situation"},{"op":"eq","ref":"deductions_credits.dependent_care_benefits","value":false}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.unsure_of_a_situation"},{"op":"answered","ref":"deductions_credits.dependent_care_benefits_if_unsure"}]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A choice like that is a statement attached to a return, so your own copy of an earlier return would show it. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":["Alternative minimum tax is worked out on Form 6251.","Answer no if you have never made one.","Leave out the simplified limitation choice for that tax's foreign tax credit: we ask about it where it changes your return."],"help_when":[],"id":"deductions_credits.special_amt_or_niit_election_if_unsure","includes_united_states":false,"kind":"yesno","label":"Did you file an election about alternative minimum tax (a second tax calculation) or net investment income tax?","label_when":[],"off_ramp":{"body":"A choice you have already made with the IRS changes how this year is worked out, and we do not carry those choices here.","code":"special_amt_or_niit_election","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns that carry that choice","when":{"op":"truthy","ref":"deductions_credits.special_amt_or_niit_election_if_unsure"}},"options":[],"prefills":[],"required":true,"screening_key":"exclusions.special_amt_or_niit_election","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.unsure_of_a_situation"},{"op":"eq","ref":"deductions_credits.special_amt_or_niit_election","value":false}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no unless someone has told you that a limit applies to your listed deductions. Most filers have never been told anything of the kind. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.limited_itemized_deduction","includes_united_states":false,"kind":"yesno","label":"Has an advisor said your deductions listed one by one are cut back?","label_when":[],"off_ramp":{"body":"We add up the deductions you list one by one as you give them, so a limit that reduces the total is not something we apply here.","code":"limited_itemized_deduction","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a cut-back on listed deductions","when":{"op":"truthy","ref":"deductions_credits.limited_itemized_deduction"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"exclusions.limited_itemized_deduction","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.medical_and_dental_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Add up your receipts and insurance statements for the year.","help_lines":["Count your own care, your spouse's and your dependents'.","Leave out insurance premiums taken from your pay before tax, and anything an insurer or your employer paid back.","Leave out costs you counted for the child and dependent care credit: the same cost cannot be both.","A prescribed drug you bought and used in another country counts if it is legal there and in the United States. A drug you had shipped here from another country counts only if it was imported legally.","A drug that needs no prescription does not count, except insulin."],"help_when":[[{"op":"gt","ref":"context.ltc_premium_limits","value":0},"You can count premiums for long-term care coverage only up to an amount that depends on the age of the person covered at the end of the year: {context.ltc_premium_limits}."],[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},"Leave out the health coverage premiums you gave on the self-employed health coverage page: the ones that are not deducted there are added for you."],[{"op":"truthy","ref":"income_sources.has_social_security"},"Leave out Medicare premiums taken off your social security benefits: they are added for you from the benefits page. Count Medicare premiums you paid yourself."],[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},"This figure also sets how much of your early retirement withdrawal escapes the extra tax: the part above 7.5% of your adjusted gross income (your income after adjustments)."]],"id":"deductions_credits.itemized_deductions.medical_and_dental_expenses","includes_united_states":false,"kind":"money","label":"What did you pay for medical and dental care that nobody paid back?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5329.compute_form_5329","required_when":{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"05"}]},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.state_local_income_or_sales_taxes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A state or local government in the United States, or a U.S. territory. Box 17 of your Form W-2 plus anything you paid direct, from your own records. Income tax paid to another country does not go here.","help_lines":["Count estimated payments for the year, and tax you paid this year for an earlier year, but not penalties or interest.","Count mandatory payments to a state disability, unemployment or family leave fund, such as California, New Jersey or New York disability insurance or New Jersey family leave insurance."],"help_when":[],"id":"deductions_credits.itemized_deductions.state_local_income_or_sales_taxes","includes_united_states":false,"kind":"money","label":"What income or sales tax did you pay to a state or local government?","label_when":[],"options":[],"placeholder":"1028","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.elected_general_sales_taxes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You can claim one or the other, not both. Most filers claim income tax.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.elected_general_sales_taxes","includes_united_states":false,"kind":"yesno","label":"Is the figure you just gave sales tax rather than income tax?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.real_estate_taxes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your property tax bill, or the tax line on your mortgage statement. Property tax on a home abroad cannot be deducted, so leave it out.","help_lines":["For a home you also rent out, enter only the share for the days you used it yourself: the rented share comes off the rent instead.","For a home you used yourself and rented out for fewer than 15 days, enter all of it.","If you sold a home this year, take off the tax charged to the buyer: your settlement statement and box 6 of Form 1099-S show it.","Count only tax paid this year for this year or earlier, and take off any refund of tax you paid this year."],"help_when":[],"id":"deductions_credits.itemized_deductions.real_estate_taxes","includes_united_states":false,"kind":"money","label":"How much property tax did you pay on a home in the United States?","label_when":[],"options":[],"placeholder":"8972","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.personal_property_taxes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The value-based part of your vehicle registration bill. Tax like this paid abroad cannot be deducted, so leave it out.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.personal_property_taxes","includes_united_states":false,"kind":"money","label":"What tax did you pay in the United States on your cars or boats?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.other_taxes","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From your assessment notice. Foreign income tax you are not claiming as a credit goes here.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_taxes","includes_united_states":false,"kind":"money","label":"What other deductible taxes did you pay?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.other_taxes_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your assessment notice or the trustee's statement says which. Choose the last answer if it was neither of the first two, and we will ask you to name it.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_taxes_kind","includes_united_states":false,"kind":"choice","label":"Which kind of tax did you pay there?","label_when":[],"off_ramp":{"body":"This line takes only income tax paid to another country and generation-skipping transfer tax. Property tax paid abroad cannot be deducted at all, and we do not work out whether another tax can be.","code":"line_six_tax_not_listed","next_step":"Take that tax out of this amount, or use another preparer for the return.","severity":"block","title":"We can only deduct those two kinds of tax here","when":{"op":"eq","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"other"}},"options":[{"help":"Count only income tax you owe. Leave out social security and similar contributions, and any part you can claim back.","label":"Income tax paid to another country, which I am not claiming as a credit.","value":"foreign_income_tax"},{"help":"A trustee's statement shows this one. It is left out of the income your alternative minimum tax is worked out on, which is why we ask.","label":"Generation-skipping transfer tax on money paid out to me from a trust.","value":"generation_skipping_transfer_tax"},{"label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0}]}},{"binds":"itemized_deductions.other_taxes_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words the IRS will see beside the figure, taken from your assessment notice.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_taxes_type","includes_united_states":false,"kind":"text","label":"What kind of tax did you pay?","label_when":[],"options":[],"placeholder":"Municipal trade tax","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.deductions.ItemizedDeductionFacts._typed_lines_carry_types","required_when":{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0},{"op":"ne","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"foreign_income_tax"},{"op":"ne","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"generation_skipping_transfer_tax"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0},{"op":"ne","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"foreign_income_tax"},{"op":"ne","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"generation_skipping_transfer_tax"}]}]}},{"binds":"itemized_deductions.state_local_taxes_paid_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The amounts you gave for income or sales tax, property tax and vehicle tax take only tax paid to a state or local government in the United States, or to a U.S. territory such as Puerto Rico.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.state_local_taxes_paid_abroad","includes_united_states":false,"kind":"choice","label":"Was any of your state, local or property tax paid outside the United States?","label_when":[],"off_ramp":{"body":"Property tax paid abroad cannot be deducted at all, and income tax paid abroad goes with your other foreign taxes. We cannot file the return while these amounts may include either.","code":"state_local_taxes_paid_abroad","next_step":"Take the tax paid abroad out of those amounts, then answer no. If you are not sure, check your tax bills first.","severity":"block","title":"Tax paid abroad does not go in these amounts","when":{"op":"in","ref":"deductions_credits.itemized_deductions.state_local_taxes_paid_abroad","values":["yes","not_sure"]}},"options":[{"label":"No, all of it was paid in the United States.","value":"no"},{"label":"Yes, some of it was paid abroad.","value":"yes"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.state_local_income_or_sales_taxes","value":0},{"op":"gt","ref":"deductions_credits.itemized_deductions.real_estate_taxes","value":0},{"op":"gt","ref":"deductions_credits.itemized_deductions.personal_property_taxes","value":0}]}]}},{"binds":"itemized_deductions.state_tax_on_excluded_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your state return shows what income it taxed. The state tax on pay you leave out of your US income cannot be deducted, and we do not work out that share.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.state_tax_on_excluded_pay","includes_united_states":false,"kind":"choice","label":"Did a US state tax any of your pay for work abroad?","label_when":[],"off_ramp":{"body":"The state income tax on pay you leave out of your US income cannot be deducted, and that share depends on your state's own rules, which we do not work out. This only matters if your itemized total is the one we use. If the flat amount is larger for you, it does not stop your return.","code":"state_tax_on_excluded_pay","next_step":"Continue with your return. If your itemized total turns out to be larger, we will tell you then that we cannot file the return yet.","severity":"review","title":"If you itemize, we do not work out state tax on excluded pay","when":{"op":"in","ref":"deductions_credits.itemized_deductions.state_tax_on_excluded_pay","values":["yes","not_sure"]}},"options":[{"label":"No, it taxed only my other income.","value":"no"},{"label":"Yes, some of my pay for work abroad.","value":"yes"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.state_local_income_or_sales_taxes","value":0},{"op":"ne","ref":"deductions_credits.itemized_deductions.elected_general_sales_taxes","value":true},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}},{"binds":"itemized_deductions.foreign_line_six_tax_scope","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your foreign assessment notice shows it. Tax on pay you leave out of your income cannot be deducted, so we work out that part.","help_lines":["Other income means anything besides pay for work abroad, such as interest, dividends, a pension or pay for work in the United States."],"help_when":[],"id":"deductions_credits.itemized_deductions.foreign_line_six_tax_scope","includes_united_states":false,"kind":"choice","label":"What income of yours was that foreign income tax charged on?","label_when":[],"off_ramp":{"body":"Tax on the pay you leave out of your income cannot be deducted, and how much that is depends on what else the tax was charged on.","code":"line_six_tax_scope_not_sure","next_step":"Check your foreign assessment notice, then answer this question.","severity":"block","title":"We need to know what that tax was charged on","when":{"op":"eq","ref":"deductions_credits.itemized_deductions.foreign_line_six_tax_scope","value":"not_sure"}},"options":[{"label":"Only my pay for work abroad, or my business profit there.","value":"earned_only"},{"label":"Other income too, and my notice shows the tax on my pay separately.","value":"separate"},{"label":"Other income too, charged as one amount.","value":"together"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0},{"op":"eq","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"foreign_income_tax"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]}]}},{"binds":"itemized_deductions.foreign_line_six_tax_on_earned","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The part your foreign assessment notice shows for your pay or business profit abroad.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.foreign_line_six_tax_on_earned","includes_united_states":false,"kind":"money","label":"How much of that tax was on your pay for work abroad?","label_when":[],"options":[],"placeholder":"20000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0},{"op":"eq","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"foreign_income_tax"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"eq","ref":"deductions_credits.itemized_deductions.foreign_line_six_tax_scope","value":"separate"}]}]}},{"binds":"itemized_deductions.foreign_line_six_other_income","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"From your foreign assessment notice: the income besides your pay for work abroad, before any tax.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.foreign_line_six_other_income","includes_united_states":false,"kind":"money","label":"How much of your other income was that tax charged on?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.other_taxes","value":0},{"op":"eq","ref":"deductions_credits.itemized_deductions.other_taxes_kind","value":"foreign_income_tax"},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]}]},{"op":"eq","ref":"deductions_credits.itemized_deductions.foreign_line_six_tax_scope","value":"together"}]}]}},{"binds":"itemized_deductions.home_mortgage_interest_and_points_1098","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"The yearly mortgage interest statement your lender sends you each January shows both. Leave out points your lender did not report on it: those go on a line of their own that we do not prepare here.","help_lines":["For a home you also rent out, enter only the share for the days you used it yourself: the rented share comes off the rent instead.","For a home you used yourself and rented out for fewer than 15 days, enter all of it.","Count loans on your main home and one other home only. Interest on a property you rent out goes with that rental."],"help_when":[],"id":"deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","includes_united_states":false,"kind":"money","label":"How much mortgage interest and points did your lender report to you?","label_when":[],"options":[],"placeholder":"11000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.home_mortgage_interest_without_form_1098","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"A lender outside the United States does not send Form 1098. Take the interest from the yearly statement your lender sends you.","help_lines":["For a home you also rent out, enter only the share for the days you used it yourself: the rented share comes off the rent instead.","For a home you used yourself and rented out for fewer than 15 days, enter all of it."],"help_when":[],"id":"deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","includes_united_states":false,"kind":"money","label":"How much mortgage interest did you pay that no Form 1098 shows?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.investment_interest","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your broker's margin interest statement for the year. Two questions follow to check whether Form 4952, the form that limits this deduction, has to go with it.","help_lines":["Leave out interest on money used for a rental or another passive activity, and interest on money used to buy investments that pay tax-free income."],"help_when":[[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]},"Count it even if you take the flat deduction: it is set against your investment income together with the interest you gave for your royalty or K-1, which you leave out here. Enter 0 if you paid none."]],"id":"deductions_credits.itemized_deductions.investment_interest","includes_united_states":false,"kind":"money","label":"How much interest did you pay on money you borrowed to invest?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4952.compute_form_4952","required_when":{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]}]}},{"binds":"itemized_deductions.mortgage_interest_without_form_1098_paid_to","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name on your loan statement tells you.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.mortgage_interest_without_form_1098_paid_to","includes_united_states":false,"kind":"choice","label":"Who did you pay that interest to?","label_when":[],"off_ramp":{"body":"Interest paid to the person who sold you the home, or shown on another borrower's Form 1098, has to name that person on the return, which we do not do here. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"mortgage_interest_recipient_not_named","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this with that interest","when":{"op":"in","ref":"deductions_credits.itemized_deductions.mortgage_interest_without_form_1098_paid_to","values":["seller","co_borrower"]}},"options":[{"label":"A bank or other lender, in the United States or abroad.","value":"lender"},{"label":"The person who sold me the home.","value":"seller"},{"label":"Someone who shares the loan and gets the Form 1098 for it.","value":"co_borrower"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","value":0}]}},{"binds":"itemized_deductions.mortgage_proceeds_all_used_for_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer no if part of a loan paid for something else, such as a car or a vacation. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.mortgage_proceeds_all_used_for_home","includes_united_states":false,"kind":"yesno","label":"Was all your home loan money spent buying, building or improving the home?","label_when":[],"off_ramp":{"body":"When part of a home loan went on something else, only some of the interest can be deducted, and that share is worked out with a publication we do not use here. If your listed deductions come to more than the flat deduction, or you gave mortgage interest for the part of your home you use for business, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"home_mortgage_interest_limited","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this with your mortgage interest","when":{"op":"eq","ref":"deductions_credits.itemized_deductions.mortgage_proceeds_all_used_for_home","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","value":0},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","value":0}]}]},{"op":"any_row","ref":"income_sources.businesses","rules":[{"op":"any_row","ref":"income_sources.businesses.home_office.expenses","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.businesses.home_office.expenses.category","value":"mortgage_interest"},{"op":"gt","ref":"income_sources.businesses.home_office.expenses.amount","value":0}]}]}]}]}},{"binds":"itemized_deductions.home_loans_highest_balance","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add up every loan on your main home and a second home, home equity loans included, at their highest. Your loan statements show the balances. Give it in United States dollars.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.home_loans_highest_balance","includes_united_states":false,"kind":"money","label":"What is the most your home loans came to together during the year?","label_when":[],"options":[],"placeholder":"300000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","value":0},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","value":0}]}]}},{"binds":"itemized_deductions.home_loans_over_home_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Compare the loan balances with what the home would have sold for. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.home_loans_over_home_value","includes_united_states":false,"kind":"yesno","label":"Did your home loans together come to more than the home was worth?","label_when":[],"off_ramp":{"body":"When the loans come to more than the home is worth, only some of the interest can be deducted, and that share is worked out with a publication we do not use here. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"home_mortgage_interest_limited","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this with your mortgage interest","when":{"op":"eq","ref":"deductions_credits.itemized_deductions.home_loans_over_home_value","value":true}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","value":0},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","value":0}]}]}},{"binds":"itemized_deductions.home_loans_all_taken_out_by_december_15_2017","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The loan papers show when each loan began. Answer no if you refinanced or took out any of them after that date. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.home_loans_all_taken_out_by_december_15_2017","includes_united_states":false,"kind":"yesno","label":"Did you take out all those loans on or before December 15, 2017?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_loans_highest_balance","value_ref":"context.home_mortgage_debt_limit"}]}},{"binds":"itemized_deductions.mortgage_shared_with_others","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if someone else on the loan, such as a partner you are not married to or a parent, paid part of its interest. Only your own share of the interest can be deducted. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.mortgage_shared_with_others","includes_united_states":false,"kind":"yesno","label":"Did you share that loan with someone not on this return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","value":0}]}},{"binds":"itemized_deductions.mortgage_interest_own_share","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your own share, from your bank records. The others on the loan deduct their share on their own returns.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.mortgage_interest_own_share","includes_united_states":false,"kind":"money","label":"How much of the interest on your Form 1098 did you pay yourself?","label_when":[],"options":[],"placeholder":"5500","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"truthy","ref":"deductions_credits.itemized_deductions.mortgage_shared_with_others"}]}},{"binds":"itemized_deductions.investment_interest_disallowed_prior_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's return shows it as interest carried forward to this year. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year","includes_united_states":false,"kind":"yesno","label":"Did you have investment interest last year that you could not deduct?","label_when":[],"off_ramp":{"body":"With other investment costs or interest carried over from last year, the deduction needs a form we do not prepare (Form 4952). If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"investment_interest_needs_form_4952","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"Your investment interest may need Form 4952","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"},{"op":"not","rules":[{"op":"eq","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.investment_interest","value":0},{"op":"truthy","ref":"income_sources.has_capital_transactions"},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.investment_income","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.investment_income.kind","values":["interest","ordinary_dividend","qualified_dividend","capital_gain_distribution"]},{"op":"gt","ref":"income_sources.investment_income.amount","value":0}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]}]}},{"binds":"itemized_deductions.investment_interest_carried_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 7 of last year's Form 4952 shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.investment_interest_carried_in","includes_united_states":false,"kind":"money","label":"How much investment interest did your last Form 4952 carry forward?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4952.compute_form_4952","required_when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]},{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"}]}]}},{"binds":"itemized_deductions.investment_income_election","clears":[],"currency_pickable":false,"derived_from_presence":[],"drawn_when_named":true,"help":"Line 4g of Form 4952 holds it. Only qualified dividends and long-term gains can be counted. Counting them lets you deduct more investment interest, but what you count is then taxed at the higher ordinary rates. Enter 0 to count none. You can change it later only with the IRS's consent.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.investment_income_election","includes_united_states":false,"kind":"money","label":"How much of your dividends and long-term gains do you count as investment income?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.investment_interest","value":0},{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"}]}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]}]}},{"binds":"itemized_deductions.other_deductible_investment_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most filers have none. Answer yes only if your return deducts another cost of earning investment income. Leave out the costs of your royalties: we take those from your royalty. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_deductible_investment_expenses","includes_united_states":false,"kind":"yesno","label":"Apart from investment interest, did you have other investment costs you can deduct?","label_when":[],"off_ramp":{"body":"With other investment costs or interest carried over from last year, the deduction needs a form we do not prepare (Form 4952). If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"investment_interest_needs_form_4952","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"Your investment interest may need Form 4952","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.itemized_deductions.other_deductible_investment_expenses"},{"op":"not","rules":[{"op":"eq","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.investment_interest","value":0},{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"any_row","ref":"income_sources.schedule_k1s.other_items","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"13"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.box","value":"12"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"H"},{"op":"eq","ref":"income_sources.schedule_k1s.other_items.code","value":"h"}]}]}]},{"op":"truthy","ref":"income_sources.schedule_k1s.other_items.special_case"}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]}]}},{"binds":"itemized_deductions.other_investment_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show them. Count only costs your return deducts, such as depreciation on property that earns investment income. Leave out the costs of your royalties.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_investment_expenses","includes_united_states":false,"kind":"money","label":"How much did you pay in those other investment costs?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f4952.compute_form_4952","required_when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.other_deductible_investment_expenses"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"truthy","ref":"deductions_credits.itemized_deductions.other_deductible_investment_expenses"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]},{"op":"truthy","ref":"deductions_credits.itemized_deductions.other_deductible_investment_expenses"}]}]}},{"binds":"itemized_deductions.investment_interest_for_royalty_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you borrowed to buy or keep the rights your royalties come from, such as a book, a patent or an oil or gas interest. That part of the interest goes with the royalties instead of here. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.investment_interest_for_royalty_property","includes_united_states":false,"kind":"yesno","label":"Was any of your investment interest for the property that pays you royalties?","label_when":[],"off_ramp":{"body":"The part of your investment interest that is for your royalty property is taken off the royalties, not deducted here. Until it is entered there, we cannot file your return.","code":"investment_interest_for_royalties","next_step":"Add it as a cost of that royalty, choosing other interest on money borrowed for the property. Then take it out of the investment interest above and answer no here.","severity":"block","title":"Enter that interest with your royalty","when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_for_royalty_property"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.investment_interest","value":0},{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}]}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"any_row","ref":"income_sources.royalties","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.royalties.from_own_trade_or_business","value":false},{"op":"any_row","ref":"income_sources.royalties.expenses","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.royalties.expenses.schedule_e_line","values":["mortgage_interest_form_1098","other_interest"]},{"op":"gt","ref":"income_sources.royalties.expenses.value","value":0}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"},{"op":"any_row","ref":"income_sources.schedule_k1s","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"partnership"},{"op":"eq","ref":"income_sources.schedule_k1s.entity_kind","value":"s_corporation"}]},{"op":"truthy","ref":"income_sources.schedule_k1s.trading_activity"},{"op":"eq","ref":"income_sources.schedule_k1s.materially_participated","value":false},{"op":"or","rules":[{"op":"lt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0},{"op":"gt","ref":"income_sources.schedule_k1s.ordinary_business_income","value":0}]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_royalties"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.investment_interest","value":0},{"op":"truthy","ref":"deductions_credits.itemized_deductions.investment_interest_disallowed_prior_year"},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}]}]}]}]}},{"binds":"itemized_deductions.gifts_by_cash_or_check","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add up the receipts and letters the charities sent you. Leave out gifts your IRA trustee paid straight to a charity: those are left out of your income instead, and cannot be deducted too. If it comes to more than 30% of your income, the limit on it is worked out with a publication we do not use, and we tell you before anything is filed.","help_lines":["Give it in United States dollars. Convert a gift in another currency at the rate on the day you gave it.","Take off the value of anything you got back for a gift, such as a dinner, and any state or local tax credit you got for it."],"help_when":[],"id":"deductions_credits.itemized_deductions.gifts_by_cash_or_check","includes_united_states":false,"kind":"money","label":"How much did you give to charity in money?","label_when":[],"options":[],"placeholder":"250","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.gifts_other_than_cash","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From the charity's receipt. It is the value of goods you handed over without listing them one by one.","help_lines":["When the total is large enough to need Form 8283, the IRS wants each gift described, so list them one by one instead, and a card here tells you if yours is.","Leave out every gift you add to your list of gifts: those are counted from the list, so a gift entered in both places would be counted twice.","Give it in United States dollars, converted at the rate on the day you gave the things away."],"help_when":[[{"op":"count_gt","ref":"deductions_credits.itemized_deductions.noncash_donations","value":0},"You have listed gifts one by one, so enter zero here unless you gave something else that is not on that list."],[{"op":"and","rules":[{"op":"count_gt","ref":"deductions_credits.itemized_deductions.noncash_donations","value":0},{"op":"gt","ref":"context.form_8283_threshold","value":0}]},"If this and your listed gifts come to more than {context.form_8283_threshold} together, list this one too."]],"id":"deductions_credits.itemized_deductions.gifts_other_than_cash","includes_united_states":false,"kind":"money","label":"Apart from the gifts you list one by one, what were other charity gifts worth?","label_when":[],"off_ramp":{"body":"When the things you gave to charity come to more than {context.form_8283_threshold}, Form 8283 has to describe each gift, so a total on its own cannot be filed.","code":"noncash_gifts_need_detail","next_step":"Add each gift to your list of gifts instead, and enter zero here.","severity":"block","title":"Gifts worth more than {context.form_8283_threshold} have to be listed one by one","when":{"op":"gt","ref":"deductions_credits.itemized_deductions.gifts_other_than_cash","value_ref":"context.form_8283_threshold"}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.other_itemized_deductions","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Gambling losses up to your winnings are the common case, from your own records.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_itemized_deductions","includes_united_states":false,"kind":"money","label":"What other deductible costs did you have?","label_when":[],"off_ramp":{"body":"From tax year 2026 the schedule that lists your deductible costs breaks this one line into several named lines, and we do not hold the figures those lines ask for, so the amount cannot be placed on the 2026 schedule or on any later one. A return that carries it cannot be filed from here.","code":"schedule_a_named_other_deduction","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We cannot place this cost on the schedule","when":{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.itemized_deductions.other_itemized_deductions","value":0}]}},"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.other_itemized_deductions_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the one that matches what you paid, from your own records.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.other_itemized_deductions_type","includes_united_states":false,"kind":"choice","label":"What kind of cost was it to you?","label_when":[],"off_ramp":{"body":"Gambling losses need what you won stated as well, a disaster or casualty loss needs a separate loss form, and the other kinds here need a form or a publication we do not use. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"schedule_a_named_other_deduction","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this kind of cost","when":{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2026},{"op":"in","ref":"deductions_credits.itemized_deductions.other_itemized_deductions_type","values":["CASUALTY AND THEFT LOSS","CLAIM REPAYMENTS","EXCESS DEDUCTION ON TERMINATION","GAMBLING LOSSES","NET QUALIFIED DISASTER LOSS","SCHEDULE K-1","STANDARD DEDUCTION CLAIMED WITH QUALIFIED DISASTER LOSS"]}]}},"options":[{"label":"A deduction for bond premium, such as one carried forward or on a bond bought before October 23, 1986.","value":"AMORTIZABLE BOND PREMIUMS"},{"label":"A loss from theft or damage to property you held to earn income.","value":"CASUALTY AND THEFT LOSS"},{"label":"Federal estate tax on income you inherited.","value":"FEDERAL ESTATE TAX"},{"label":"Gambling losses, up to what you won.","value":"GAMBLING LOSSES"},{"label":"Work costs you have because of a disability.","value":"IMPAIRMENT-RELATED WORK EXPENSES"},{"label":"Money over $3,000 you paid back that you had been taxed on in an earlier year.","value":"CLAIM REPAYMENTS"},{"label":"The part of what you put into a pension that you never got back.","value":"UNRECOVERED PENSION INVESTMENTS"},{"label":"A deduction passed to you on a Schedule K-1.","value":"SCHEDULE K-1"},{"label":"An ordinary loss on a bond or note you held.","value":"ORDINARY LOSS DEBT INSTRUMENT"},{"label":"A loss from a disaster the government declared.","value":"NET QUALIFIED DISASTER LOSS"},{"label":"A declared disaster loss you are claiming alongside the flat deduction.","value":"STANDARD DEDUCTION CLAIMED WITH QUALIFIED DISASTER LOSS"},{"label":"A deduction left over when an estate or trust closed.","value":"EXCESS DEDUCTION ON TERMINATION"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"deductions_credits.itemized_deductions.other_itemized_deductions","value":0}]}},{"binds":"itemized_deductions.cash_gifts_to_charity_abroad","clears":["deductions_credits.itemized_deductions.cash_gifts_abroad_in_canada_israel_mexico","deductions_credits.itemized_deductions.cash_gifts_abroad_amount"],"currency_pickable":false,"derived_from_presence":[],"help":"A charity in the United States that sends money abroad counts as in the United States, and so does a charity set up in Puerto Rico or another US territory. A gift to a charity set up in another country cannot be deducted, so we leave it out of your listed deductions. The exception is certain charities in Canada, Israel and Mexico, which we ask about next. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.cash_gifts_to_charity_abroad","includes_united_states":false,"kind":"yesno","label":"Did you give any of it to a charity set up abroad?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"deductions_credits.itemized_deductions.gifts_by_cash_or_check","value":0}]}},{"binds":"itemized_deductions.cash_gifts_abroad_in_canada_israel_mexico","clears":["deductions_credits.itemized_deductions.cash_gifts_abroad_amount"],"currency_pickable":false,"derived_from_presence":[],"help":"Gifts to certain charities in those three countries can be deducted, but only against income you have from that country, which we do not work out. A gift to a charity set up in any other country cannot be deducted. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.cash_gifts_abroad_in_canada_israel_mexico","includes_united_states":false,"kind":"yesno","label":"Did you give any of it to a charity in Canada, Israel or Mexico?","label_when":[],"off_ramp":{"body":"Gifts to a charity in Canada, Israel or Mexico can be deducted only against income you have from that country, which we do not work out here. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"charity_abroad","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this with those gifts","when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.cash_gifts_abroad_in_canada_israel_mexico"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"truthy","ref":"deductions_credits.itemized_deductions.cash_gifts_to_charity_abroad"}]}},{"binds":"itemized_deductions.cash_gifts_abroad_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add up every gift to a charity set up outside the United States. A charity set up in Puerto Rico or another US territory counts as in the United States, so leave those gifts out of this amount. We leave this amount out of your listed deductions, because a gift to a charity in another country cannot be deducted. Choose Not sure if you cannot add it up: we cannot prepare your return until the amount is given.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.cash_gifts_abroad_amount","includes_united_states":false,"kind":"money","label":"How much of your money gifts went to a charity set up abroad?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.itemized_deductions.cash_gifts_to_charity_abroad"},{"op":"eq","ref":"deductions_credits.itemized_deductions.cash_gifts_abroad_in_canada_israel_mexico","value":false}]}]}},{"binds":"itemized_deductions.charity_carryover_from_earlier_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your return from last year, or a year before, shows gifts above the limit carried to later years. Most filers have none.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.charity_carryover_from_earlier_year","includes_united_states":false,"kind":"yesno","label":"Does an earlier return carry forward charity gifts you could not deduct?","label_when":[],"off_ramp":{"body":"Gifts carried from an earlier year are limited by a publication we do not use here. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"charity_carryover","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We do not work out charity gifts carried forward","when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.charity_carryover_from_earlier_year"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.elect_to_itemize_although_less","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The schedule has a box for this choice. Filers usually check it because their state return follows the federal list and works out better that way. Say no unless your state return needs it: we take whichever total is larger for you.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.elect_to_itemize_although_less","includes_united_states":false,"kind":"yesno","label":"Are you choosing to list deductions even though they are under {context.standard_deduction}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"add_label":"Add a gift","binds":"itemized_deductions.noncash_donations[]","help":"Add one row per gift. The charity's receipt has most of what you need.","id":"deductions_credits.itemized_deductions.noncash_donations","kind":"repeat","label":"What did you give to charity other than money?","min_rows":0,"nodes":[{"binds":"itemized_deductions.noncash_donations[].donee_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name on the receipt they gave you.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.donee_name","includes_united_states":false,"kind":"text","label":"Which charity did you give it to?","label_when":[],"options":[],"placeholder":"Goodwill","prefills":[],"refusal":"charity name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the charity name: the IRS does not accept a period or a comma.","message_too_long":"Write the charity name in 75 characters or fewer."}},"validators":["business_name"]},{"address_variant":"full","binds":"itemized_deductions.noncash_donations[].donee_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address printed on their receipt.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.donee_address","includes_united_states":false,"kind":"address","label":"What is your charity's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"itemized_deductions.noncash_donations[].property_description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A short description from your own note of what you handed over.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.property_description","includes_united_states":false,"kind":"text","label":"What did you give them, and what condition was it in?","label_when":[],"options":[],"placeholder":"Clothes and toys, good used condition","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_1000":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_1000"]},{"binds":"itemized_deductions.noncash_donations[].contribution_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on the charity's receipt. A gift belongs on the return for the year you gave it.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.contribution_date","includes_united_states":false,"kind":"date","label":"When did you hand it over?","label_when":[],"options":[],"placeholder":"2025-11-13","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_after_tax_year":{"message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_tax_year","not_after_tax_year"]},{"binds":"itemized_deductions.noncash_donations[].acquired_various","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a bag of clothes collected over the years.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.acquired_various","includes_united_states":false,"kind":"yesno","label":"Did you gather those things over time rather than buying them on one day?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].date_acquired_year_month","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Write it as the year, a hyphen and the month, from your purchase receipt.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.date_acquired_year_month","includes_united_states":false,"kind":"text","label":"Which month and year did you get it?","label_when":[],"options":[],"placeholder":"2019-04","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"year_month":{"message":"Write it as four digits for the year, a hyphen, then two for the month, for example 2019-04."}},"validators":["year_month"],"visible_when":{"op":"eq","ref":"deductions_credits.itemized_deductions.noncash_donations.acquired_various","value":false}},{"binds":"itemized_deductions.noncash_donations[].how_acquired","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A word or two, such as purchase, gift or inheritance.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.how_acquired","includes_united_states":false,"kind":"text","label":"How did you come by it?","label_when":[],"options":[],"placeholder":"Purchase","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_20":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_20"]},{"binds":"itemized_deductions.noncash_donations[].cost_or_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your purchase receipt, or your best record of what you paid.","help_lines":["Give it in United States dollars, converted at the rate on the day you got it."],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.cost_or_basis","includes_united_states":false,"kind":"money","label":"What did it cost you when you got it?","label_when":[],"options":[],"placeholder":"3470","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].fair_market_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From a thrift store price list or a valuation. It is what a buyer would have paid for it that day.","help_lines":["Give it in United States dollars, converted at the rate on the day you gave it."],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.fair_market_value","includes_united_states":false,"kind":"money","label":"What was it worth on the day you gave it away?","label_when":[],"off_ramp":{"body":"A gift worth more than {context.form_8283_section_b_threshold} has to be reported in the second part of Form 8283, signed by a qualified valuer and by the charity, which we do not prepare. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"form_8283_section_b","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"A gift worth more than {context.form_8283_section_b_threshold} needs a valuation","when":{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.noncash_donations.fair_market_value","value_ref":"context.form_8283_section_b_threshold"},{"op":"not","rules":[{"op":"in","ref":"deductions_credits.itemized_deductions.noncash_donations.property_category","values":["publicly_traded_securities","intellectual_property","inventory"]}]}]}},"options":[],"placeholder":"700","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].valuation_method","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A few words, such as thrift store value, a valuation or comparable sales.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.valuation_method","includes_united_states":false,"kind":"text","label":"How did you work out what it was worth?","label_when":[],"options":[],"placeholder":"Thrift store value","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_25":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_25"]},{"binds":"itemized_deductions.noncash_donations[].is_vehicle","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Vehicles have their own line on the form.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.is_vehicle","includes_united_states":false,"kind":"yesno","label":"Did you give a car, a boat or an airplane?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].vin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The long number on your registration document or inside the windshield.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.vin","includes_united_states":false,"kind":"text","label":"What is your vehicle's identification number?","label_when":[],"options":[],"placeholder":"1HGCM82633A004352","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"vin":{"message":"Check the identification number and type it again using capital letters and digits only."}},"validators":["vin"],"visible_when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.noncash_donations.is_vehicle"}},{"binds":"itemized_deductions.noncash_donations[].vehicle_sold_by_charity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The charity's Form 1098-C says. Answer no if it shows the charity used it, improved it, or gave or sold it to someone in need.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.vehicle_sold_by_charity","includes_united_states":false,"kind":"yesno","label":"Did your charity sell it without using or improving it first?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.itemized_deductions.noncash_donations.is_vehicle"},{"op":"gt","ref":"deductions_credits.itemized_deductions.noncash_donations.fair_market_value","value":500}]}},{"binds":"itemized_deductions.noncash_donations[].vehicle_gross_proceeds","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The gross proceeds on the charity's Form 1098-C. What you can deduct for the vehicle is worked out from this figure and the vehicle's value.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.vehicle_gross_proceeds","includes_united_states":false,"kind":"money","label":"What did your charity sell it for?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.noncash_donations.vehicle_sold_by_charity"}},{"binds":"itemized_deductions.noncash_donations[].not_good_used_condition","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Worn out clothes and broken furniture count as worse than good used condition.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.form_8283_threshold","value":0},"You can deduct clothes and household goods like that only when one item is worth more than {context.form_8283_threshold} and has a written appraisal."]],"id":"deductions_credits.itemized_deductions.noncash_donations.not_good_used_condition","includes_united_states":false,"kind":"yesno","label":"Was any single item you gave in worse than good used condition?","label_when":[],"off_ramp":{"body":"An item in worse than good used condition worth more than {context.form_8283_threshold} has to be reported in the second part of Form 8283, with a qualified valuation attached, which we do not prepare. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"form_8283_section_b","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"A worn item worth more than {context.form_8283_threshold} needs a valuation","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.itemized_deductions.noncash_donations.not_good_used_condition"},{"op":"gt","ref":"deductions_credits.itemized_deductions.noncash_donations.fair_market_value","value_ref":"context.form_8283_threshold"}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].property_category","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Gifts of one kind are added together, even to different charities, and the total for each kind decides which part of Form 8283 they go in. Choose Not sure if none fits.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.property_category","includes_united_states":false,"kind":"choice","label":"Which of these best describes what you gave?","label_when":[],"options":[{"label":"Art worth $20,000 or more.","value":"art_20000_or_more"},{"label":"Art worth less than $20,000.","value":"art_under_20000"},{"label":"A promise not to develop land.","value":"qualified_conservation"},{"label":"Land or buildings.","value":"other_real_estate"},{"label":"Equipment.","value":"equipment"},{"label":"Shares, bonds or fund units traded publicly, with prices published every day.","value":"publicly_traded_securities"},{"label":"Shares or bonds that are not traded publicly.","value":"securities"},{"label":"Collectibles.","value":"collectibles"},{"label":"A patent, a trademark or a copyright.","value":"intellectual_property"},{"label":"Stock your business holds for sale to customers.","value":"inventory"},{"label":"A car, a boat or an airplane.","value":"vehicle"},{"label":"Clothes or household goods.","value":"clothing_household"},{"label":"Cryptocurrency or another digital asset.","value":"digital_assets"},{"label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].restriction_on_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A condition might be that they keep it rather than sell it.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.restriction_on_use","includes_united_states":false,"kind":"yesno","label":"Did you put any condition on what the charity may do with it?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"itemized_deductions.noncash_donations[].restriction_description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The wording from your gift letter to the charity.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.noncash_donations.restriction_description","includes_united_states":false,"kind":"text","label":"What condition did you put on it?","label_when":[],"options":[],"placeholder":"The painting must stay on public display.","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.noncash_donations.restriction_on_use"}}],"row_label":"Gift","visible_when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]}},{"binds":"itemized_deductions.property_gifts_increased_in_value_or_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Used clothes and furniture are almost always worth less than they cost. Shares that rose in price are the usual yes. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.itemized_deductions.property_gifts_increased_in_value_or_use","includes_united_states":false,"kind":"yesno","label":"Had anything you gave risen in value, or did you lend a charity property?","label_when":[],"off_ramp":{"body":"For a gift that went up in value, or the use of property, the amount you can deduct is worked out with a publication we do not use here. If your listed deductions come to more than the flat deduction, we cannot file this return; if not, the flat deduction is used and nothing is lost.","code":"charity_limit_applies","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this with these gifts","when":{"op":"truthy","ref":"deductions_credits.itemized_deductions.property_gifts_increased_in_value_or_use"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.gifts_other_than_cash","value":0},{"op":"count_gt","ref":"deductions_credits.itemized_deductions.noncash_donations","value":0}]}]}},{"binds":"additional_deductions.tips_occupation_listed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS publishes the list of tipped occupations on its website. Without your job on it there is no tips deduction.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.tips_occupation_listed","includes_united_states":false,"kind":"yesno","label":"Is your job one of the ones the IRS lists as customarily tipped?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.has_tips"}},{"add_label":"Add a tipping employer","binds":"additional_deductions.employee_tips[]","help":"Add one row per employer, from your Form W-2 or your tip reports.","id":"deductions_credits.additional_deductions.employee_tips","kind":"repeat","label":"Which employers paid you tips?","min_rows":0,"nodes":[{"binds":"additional_deductions.employee_tips[].employer_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the employer you entered on the income page, or type the name in box c of that employer's Form W-2 if it is not in the list.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.employee_tips.employer_name","includes_united_states":false,"kind":"pick_row","label":"Which of your employers paid you those tips?","label_when":[],"options":[],"picks_field":"income_sources.wages.employer_name","picks_from":"income_sources.wages","placeholder":"Harbour Restaurant","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.employee_tips[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.employee_tips.owner","includes_united_states":false,"kind":"choice","label":"Is this tip income yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"additional_deductions.employee_tips[].employer_ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box b of that employer's Form W-2, or column (b) of line 1 of your Form 4137.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.employee_tips.employer_ein","includes_united_states":false,"kind":"text","label":"What nine-digit identification number does your Form W-2 from that employer show?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","required_when":{"op":"eq","ref":"context.tax_year","value":2026},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the number on the form and type it as two digits, a hyphen, then seven."}},"validators":["ein"],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.employee_tips[].w2_or_4070_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of that employer's Form W-2, or your own monthly tip reports.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2026},"For this tax year, use the amount in box 12 of your Form W-2 from that employer, code TP."]],"id":"deductions_credits.additional_deductions.employee_tips.w2_or_4070_amount","includes_united_states":false,"kind":"money","label":"How much did that employer report in tips for you?","label_when":[],"options":[],"placeholder":"4200","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.employee_tips[].form_4137_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 1, row A, column (c) of your Form 4137. That is the form you use to report tips your employer did not. Enter zero if you did not file one.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.employee_tips.form_4137_amount","includes_united_states":false,"kind":"money","label":"How much in tips did you report yourself for that employer?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Tipping employer","visible_when":{"op":"truthy","ref":"deductions_credits.has_tips"}},{"add_label":"Add a tipping business","binds":"additional_deductions.business_tips[]","help":"Add one row per business, matching the trades you listed earlier.","id":"deductions_credits.additional_deductions.business_tips","kind":"repeat","label":"Which of your own businesses took tips?","min_rows":1,"min_rows_unless":{"op":"count_gt","ref":"deductions_credits.additional_deductions.employee_tips","value":0},"nodes":[{"binds":"additional_deductions.business_tips[].business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the business you entered on the income page, or type its name if it is not in the list.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.business_tips.business_name","includes_united_states":false,"kind":"pick_row","label":"Which of your businesses was it?","label_when":[],"options":[],"picks_field":"income_sources.businesses.name","picks_from":"income_sources.businesses","placeholder":"Energy Build","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.business_tips[].qualified_tips","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of your Form 1099-NEC, box 3 of your Form 1099-MISC or box 1a of your Form 1099-K, as far as those amounts were tips. Your records say how much.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2026},"For this tax year your forms show the tips on their own: box 1(b) of a Form 1099-NEC, box 13(a) of a Form 1099-MISC or box 1(c) of a Form 1099-K."]],"id":"deductions_credits.additional_deductions.business_tips.qualified_tips","includes_united_states":false,"kind":"money","label":"How much of your takings were tips?","label_when":[],"options":[],"placeholder":"1500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"add_label":"Add a Form 1099","binds":"additional_deductions.business_tips[].payers[]","help":"Add one row for each Form 1099-NEC, 1099-MISC or 1099-K that included tips for this business. The rows add up to the tips you entered for it. The schedule has room for three forms for each business.","id":"deductions_credits.additional_deductions.business_tips.payers","kind":"repeat","label":"Which of your Forms 1099 were those tips on?","min_rows":1,"nodes":[{"binds":"additional_deductions.business_tips[].payers[].payer_tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Printed on the Form 1099 beside the payer's name. On a Form 1099-K it is the number of the company that filed the form.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.business_tips.payers.payer_tin","includes_united_states":false,"kind":"text","label":"What is the payer's nine-digit identification number on your form?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the number on the form and type it as two digits, a hyphen, then seven."}},"validators":["ein"]},{"binds":"additional_deductions.business_tips[].payers[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1(b) of a Form 1099-NEC, box 13(a) of a Form 1099-MISC or box 1(c) of a Form 1099-K.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.business_tips.payers.amount","includes_united_states":false,"kind":"money","label":"How much in tips does your form show?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Form 1099","visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"gt","ref":"deductions_credits.additional_deductions.business_tips.qualified_tips","value":0}]}}],"row_label":"Tipping business","visible_when":{"op":"truthy","ref":"deductions_credits.has_tips"}},{"add_label":"Add an overtime employer","binds":"additional_deductions.overtime_w2_rows[]","help":"Add one row per employer that paid you overtime on a Form W-2.","id":"deductions_credits.additional_deductions.overtime_w2_rows","kind":"repeat","label":"Which employers paid you overtime?","min_rows":0,"nodes":[{"binds":"additional_deductions.overtime_w2_rows[].payer_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the employer you entered on the income page, or type the name in box c of that employer's Form W-2 if it is not in the list.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_w2_rows.payer_name","includes_united_states":false,"kind":"pick_row","label":"Which of your employers paid you that overtime?","label_when":[],"options":[],"picks_field":"income_sources.wages.employer_name","picks_from":"income_sources.wages","placeholder":"Acme Corp","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.overtime_w2_rows[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_w2_rows.owner","includes_united_states":false,"kind":"choice","label":"Is this overtime yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"additional_deductions.overtime_w2_rows[].employer_ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box b of that employer's Form W-2.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_w2_rows.employer_ein","includes_united_states":false,"kind":"text","label":"What nine-digit identification number does your Form W-2 from that employer show?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","required_when":{"op":"eq","ref":"context.tax_year","value":2026},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the number on the form and type it as two digits, a hyphen, then seven."}},"validators":["ein"],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.overtime_w2_rows[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of your Form W-2 already includes it, and your payslips show the overtime premium. Your employer states the qualifying part. Only overtime the federal Fair Labor Standards Act requires counts: the extra half for hours over 40 a week, for an employee that law covers. Premium pay a contract or state law adds does not.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2026},"For this tax year, use the amount in box 12 of your Form W-2 from that employer, code TT."]],"id":"deductions_credits.additional_deductions.overtime_w2_rows.amount","includes_united_states":false,"kind":"money","label":"How much of your overtime was the extra half above your normal rate?","label_when":[],"options":[],"placeholder":"3200","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Overtime employer","visible_when":{"op":"truthy","ref":"deductions_credits.has_overtime"}},{"add_label":"Add an overtime payer","binds":"additional_deductions.overtime_1099_rows[]","help":"Add one row per payer who reported it on a Form 1099 instead.","id":"deductions_credits.additional_deductions.overtime_1099_rows","kind":"repeat","label":"Who else paid you overtime without a Form W-2?","min_rows":1,"min_rows_unless":{"op":"count_gt","ref":"deductions_credits.additional_deductions.overtime_w2_rows","value":0},"nodes":[{"binds":"additional_deductions.overtime_1099_rows[].payer_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The payer's name at the top of the Form 1099 they sent you.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_1099_rows.payer_name","includes_united_states":false,"kind":"text","label":"Which payer paid you that overtime?","label_when":[],"options":[],"placeholder":"Harbour Restaurant","prefills":[],"refusal":"employer name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name, so write Acme Inc rather than Acme, Inc.","message_too_long":"Write the company name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"additional_deductions.overtime_1099_rows[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_1099_rows.owner","includes_united_states":false,"kind":"choice","label":"Is this overtime yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"additional_deductions.overtime_1099_rows[].business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the business you entered on the income page whose takings include this Form 1099. It has to be the business of the person the overtime was paid to.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_1099_rows.business_name","includes_united_states":false,"kind":"pick_row","label":"Which of your businesses is that overtime reported in?","label_when":[],"options":[],"picks_field":"income_sources.businesses.name","picks_from":"income_sources.businesses","placeholder":"Harbour Catering","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","required_when":{"op":"eq","ref":"context.tax_year","value":2026},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.overtime_1099_rows[].payer_tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Printed on the Form 1099 beside the payer's name.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.overtime_1099_rows.payer_tin","includes_united_states":false,"kind":"text","label":"What is the payer's nine-digit identification number on your Form 1099?","label_when":[],"options":[],"placeholder":"12-3456789","prefills":[],"required":false,"required_validator":"expatreturn_us.mef.sch_1a_tips_overtime.parts_ii_iii_problems","required_when":{"op":"eq","ref":"context.tax_year","value":2026},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the number on the form and type it as two digits, a hyphen, then seven."}},"validators":["ein"],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.overtime_1099_rows[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the Form 1099-NEC, or box 3 of the Form 1099-MISC, as your payer states it. Only overtime the federal Fair Labor Standards Act requires counts: the extra half for hours over 40 a week, for an employee that law covers.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2026},"For this tax year your form shows it on its own: box 1d of a Form 1099-NEC, or box 14 of a Form 1099-MISC."]],"id":"deductions_credits.additional_deductions.overtime_1099_rows.amount","includes_united_states":false,"kind":"money","label":"How much of it was the extra half above your normal rate?","label_when":[],"options":[],"placeholder":"900","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Overtime payer","visible_when":{"op":"truthy","ref":"deductions_credits.has_overtime"}},{"add_label":"Add a car loan","binds":"additional_deductions.vehicle_loans[]","help":"Add one row per loan. The schedule holds two, and we list any more on a statement attached to it.","id":"deductions_credits.additional_deductions.vehicle_loans","kind":"repeat","label":"Which car loans did you pay interest on?","max_rows":50,"min_rows":1,"nodes":[{"binds":"additional_deductions.vehicle_loans[].vin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The long number on your registration document or inside the windshield. The IRS will not allow the deduction without it.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.vin","includes_united_states":false,"kind":"text","label":"What is your car's identification number?","label_when":[],"options":[],"placeholder":"1HGCM82633A004352","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"vin":{"message":"Check the identification number and type it again using capital letters and digits only."}},"validators":["vin"]},{"binds":"additional_deductions.vehicle_loans[].interest_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The yearly interest statement your lender sends you.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.interest_paid","includes_united_states":false,"kind":"money","label":"How much interest did you pay on that loan during the year?","label_when":[],"options":[],"placeholder":"1800","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.vehicle_loans[].deducted_elsewhere","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check your own business accounts so the same interest is not claimed twice.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.deducted_elsewhere","includes_united_states":false,"kind":"money","label":"How much of that interest have you already claimed as a business cost?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.vehicle_loans[].original_use_started_with_filer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A used car does not qualify for this deduction.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.original_use_started_with_filer","includes_united_states":false,"kind":"yesno","label":"Did this car's original use start with you, or with your joint-filing spouse?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}},{"binds":"additional_deductions.vehicle_loans[].final_assembly_in_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The vehicle information label from the dealer names the plant. That is where the car had its final assembly. The plant is also coded in the identification number.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.final_assembly_in_us","includes_united_states":false,"kind":"yesno","label":"Was your car put together in the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2026}},{"add_label":"Add a business, rental or royalty","binds":"additional_deductions.vehicle_loans[].deducted_on[]","help":"Add one row for each business, rental or royalty whose costs include part of this car's loan interest. The rows add up to the interest you already claimed as a business cost.","id":"deductions_credits.additional_deductions.vehicle_loans.deducted_on","kind":"repeat","label":"Which of your businesses, rentals or royalties claimed that interest?","min_rows":1,"nodes":[{"binds":"additional_deductions.vehicle_loans[].deducted_on[].schedule","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the one whose costs include this car's interest. A rental property and a royalty are both reported on Schedule E.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.schedule","includes_united_states":false,"kind":"choice","label":"Is it a business of your own, or a rental property or royalty?","label_when":[],"options":[{"label":"A business of my own.","value":"schedule_c"},{"label":"A rental property or a royalty.","value":"schedule_e"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"additional_deductions.vehicle_loans[].deducted_on[].business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the business you entered on the income page.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.business_name","includes_united_states":false,"kind":"pick_row","label":"Which of your businesses was it?","label_when":[],"options":[],"picks_field":"income_sources.businesses.name","picks_from":"income_sources.businesses","placeholder":"Ledger Books","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.schedule","value":"schedule_c"}},{"binds":"additional_deductions.vehicle_loans[].deducted_on[].rental_property","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the property you entered on the income page. If it was a royalty, leave this empty and pick the royalty instead.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.rental_property","includes_united_states":false,"kind":"pick_row","label":"Which of your rental properties was it?","label_when":[],"options":[],"picks_field":"income_sources.rentals.property_description","picks_from":"income_sources.rentals","placeholder":"Austin duplex","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.schedule","value":"schedule_e"},{"op":"count_gt","ref":"income_sources.rentals","value":0}]}},{"binds":"additional_deductions.vehicle_loans[].deducted_on[].royalty_payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the royalty, by its payer, that you entered on the income page. If it was a rental property, leave this empty and pick the property instead.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.royalty_payer","includes_united_states":false,"kind":"pick_row","label":"Which of your royalties was it?","label_when":[],"options":[],"picks_field":"income_sources.royalties.payer","picks_from":"income_sources.royalties","placeholder":"Northern Press","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.schedule","value":"schedule_e"},{"op":"count_gt","ref":"income_sources.royalties","value":0}]}},{"binds":"additional_deductions.vehicle_loans[].deducted_on[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. It is part of the vehicle loan interest you gave for that business, property or royalty on the income page.","help_lines":[],"help_when":[],"id":"deductions_credits.additional_deductions.vehicle_loans.deducted_on.amount","includes_united_states":false,"kind":"money","label":"How much of your car's interest did that business, property or royalty claim?","label_when":[],"options":[],"placeholder":"400","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Business, rental or royalty","visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"gt","ref":"deductions_credits.additional_deductions.vehicle_loans.deducted_elsewhere","value":0}]}}],"row_label":"Car loan","visible_when":{"op":"truthy","ref":"deductions_credits.car_loan_qualifies"}},{"add_label":"Add a plan","binds":"self_employed_plans[]","help":"Add the plan you set up for your own business. Your plan's yearly statement shows what went in.","id":"deductions_credits.self_employed_plans","kind":"repeat","label":"Which retirement plan did you pay into as a self-employed person?","min_rows":1,"nodes":[{"binds":"self_employed_plans[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.owner","includes_united_states":false,"kind":"choice","label":"Is this plan yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"self_employed_plans[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan document or your provider's statement names it.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.kind","includes_united_states":false,"kind":"choice","label":"What kind of plan did you pay into?","label_when":[],"off_ramp":{"body":"We work out the deduction for a SEP IRA, a SIMPLE IRA, a one-person 401(k), a profit-sharing plan and a money purchase plan. Other plans are worked out under rules the IRS worksheet does not cover.","code":"self_employed_retirement_plan","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the deduction for that plan","when":{"op":"eq","ref":"deductions_credits.self_employed_plans.kind","value":"other"}},"options":[{"label":"A SEP IRA.","value":"sep"},{"label":"A SIMPLE IRA.","value":"simple_ira"},{"label":"A one-person 401(k), sometimes called a solo 401(k).","value":"one_participant_401k"},{"label":"A profit-sharing plan, sometimes called a Keogh plan.","value":"profit_sharing"},{"label":"A money purchase pension plan.","value":"money_purchase"},{"label":"Another kind, such as a defined benefit plan or a SARSEP.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"self_employed_plans[].business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the business you entered on the income page, or type its name if it is not in the list.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.business_name","includes_united_states":false,"kind":"pick_row","label":"Which of your businesses is the plan set up for?","label_when":[],"options":[],"picks_field":"income_sources.businesses.name","picks_from":"income_sources.businesses","placeholder":"Energy Build","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"count_gt","ref":"income_sources.businesses","value":1}},{"binds":"self_employed_plans[].contribution_rate_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The percentage of pay your plan document says goes in, for example 25. Your own deduction uses a lower rate, which we work out from this one.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.contribution_rate_percent","includes_united_states":false,"kind":"text","label":"What contribution rate does your plan state?","label_when":[],"options":[],"placeholder":"25","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"plan_contribution_rate_percent":{"message":"Enter the percentage your plan states, from 0 to 25, for example 25 or 8.5."}},"validators":["plan_contribution_rate_percent"],"visible_when":{"op":"in","ref":"deductions_credits.self_employed_plans.kind","values":["sep","one_participant_401k","profit_sharing","money_purchase"]}},{"binds":"self_employed_plans[].simple_employer_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A SIMPLE IRA employer either matches what you put in, up to 3% of your earnings, or puts in 2% of your earnings.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.simple_employer_kind","includes_united_states":false,"kind":"choice","label":"How did your business pay into the plan as the employer?","label_when":[],"options":[{"label":"It matched what I put in.","value":"matching"},{"label":"It put in 2% of my earnings.","value":"nonelective"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.self_employed_plans.kind","value":"simple_ira"}},{"binds":"self_employed_plans[].simple_employer_size","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count employees who earned {context.simple_employee_pay_threshold} or more from the business last year. Either of the first two also needs the business to have had no other retirement plan in the 3 years before the SIMPLE IRA began. Your plan document or provider says which applies.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.simple_employer_size","includes_united_states":false,"kind":"choice","label":"Which of these describes your business for the SIMPLE IRA?","label_when":[],"options":[{"label":"It had 25 or fewer such employees.","value":"small"},{"label":"It had more, and chose the higher limits for the year.","value":"elected"},{"label":"Neither of these.","value":"neither"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.self_employed_plans.kind","value":"simple_ira"},{"op":"gt","ref":"context.tax_year","value":2023}]}},{"binds":"self_employed_plans[].simple_additional_nonelective","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Besides the match or the 2%, a SIMPLE IRA employer may put in the same percentage of pay, up to 10%, for every eligible employee. Your plan's statement shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.simple_additional_nonelective","includes_united_states":false,"kind":"yesno","label":"Did your business also put in the extra contribution of up to 10%?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.self_employed_plans.kind","value":"simple_ira"},{"op":"gt","ref":"context.tax_year","value":2023}]}},{"binds":"self_employed_plans[].employer_contribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statement shows it. Leave out what you put in from your own earnings as a deferral. Count what was paid in for this year, up to the date the return is due.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.employer_contribution","includes_united_states":false,"kind":"money","label":"How much did your business put in for you as the employer?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"in","ref":"deductions_credits.self_employed_plans.kind","values":["sep","one_participant_401k","simple_ira","profit_sharing","money_purchase"]}},{"binds":"self_employed_plans[].elective_deferrals","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count any catch-up amount for age 50 or over, and any Roth amount. Your plan's statement shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.elective_deferrals","includes_united_states":false,"kind":"money","label":"How much did you put in from your own earnings as a deferral?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"in","ref":"deductions_credits.self_employed_plans.kind","values":["one_participant_401k","simple_ira"]}},{"binds":"self_employed_plans[].roth_deferrals","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's yearly statement shows the Roth part. A Roth amount is not deducted. Enter 0 if none of it was Roth.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.roth_deferrals","includes_united_states":false,"kind":"money","label":"How much of your deferral did you put into a Roth account?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"in","ref":"deductions_credits.self_employed_plans.kind","values":["one_participant_401k","simple_ira"]}},{"binds":"self_employed_plans[].excess_contributions_carried_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Contributions you could not deduct in an earlier year carry over to this year. Last year's return or your own records show the amount left. Enter 0 if there is none.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_plans.excess_contributions_carried_in","includes_united_states":false,"kind":"money","label":"How much from earlier years could you not deduct then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"in","ref":"deductions_credits.self_employed_plans.kind","values":["sep","one_participant_401k","profit_sharing","money_purchase"]}}],"row_label":"Plan","visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.self_employed_retirement_plan"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A Health Insurance Marketplace policy comes with a Form 1095-A each January. Say yes too if you claim its premiums for more than one business. Answer no for an ordinary policy bought for one business. Choose Not sure if you cannot check it: we cannot prepare your return until it is answered yes or no.","help_lines":[],"help_when":[],"id":"deductions_credits.complex_self_employed_health_insurance","includes_united_states":false,"kind":"yesno","label":"Is your self-employed health coverage from the Marketplace, or split across businesses?","label_when":[],"off_ramp":{"body":"We work out the self-employed health deduction for one ordinary policy and one business, and yours is neither.","code":"complex_self_employed_health_insurance","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the deduction for that health coverage","when":{"op":"truthy","ref":"deductions_credits.complex_self_employed_health_insurance"}},"options":[],"prefills":[],"required":true,"screening_default_when_hidden":false,"screening_key":"exclusions.complex_self_employed_health_insurance","suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"}},{"binds":"self_employed_health_insurance.established_under_s_corporation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if the company you own more than 2% of paid the policy, or paid you back for it, and the premiums are in box 1 of its Form W-2 to you. Only then is the policy set up through the company. Say no if it is set up through a business you run yourself.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.established_under_s_corporation","includes_united_states":false,"kind":"yesno","label":"Did your S corporation pay your premiums and add them to your pay?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.s_corporation_more_than_2_percent"}]}]}},{"binds":"self_employed_health_insurance.owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.owner","includes_united_states":false,"kind":"choice","label":"Is this policy yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"self_employed_health_insurance.premiums","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your insurer's yearly statement. Leave out any month you could have joined a plan your employer paid part of, or your spouse's employer, or the employer of your dependent or of your child under 27.","help_lines":[],"help_when":[[{"op":"truthy","ref":"deductions_credits.self_employed_health_insurance.established_under_s_corporation"},"Count the premiums your S corporation paid or paid you back for."]],"id":"deductions_credits.self_employed_health_insurance.premiums","includes_united_states":false,"kind":"money","label":"How much did you pay in health, dental and eye coverage premiums?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"}},{"binds":"self_employed_health_insurance.long_term_care_premiums","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your insurer's yearly statement for the long-term care policy. Leave out any month you could have joined a long-term care plan your employer paid part of, or your spouse's employer, or the employer of your dependent or of your child under 27.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","includes_united_states":false,"kind":"money","label":"How much did you pay for long-term care coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"}},{"binds":"self_employed_health_insurance.long_term_care_several_people","clears":["deductions_credits.self_employed_health_insurance.long_term_care_people","deductions_credits.self_employed_health_insurance.long_term_care_insured_age"],"currency_pickable":false,"derived_from_presence":[],"help":"For example you and your spouse. Your insurer's yearly statement names each person covered.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.long_term_care_several_people","includes_united_states":false,"kind":"yesno","label":"Does your long-term care policy cover more than one person?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f7206.compute_form_7206","required_when":{"op":"gt","ref":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"gt","ref":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","value":0}]}},{"add_label":"Add a person","binds":"self_employed_health_insurance.long_term_care_people[]","help":"Add one row per person. The amounts should add up to your long-term care premiums.","id":"deductions_credits.self_employed_health_insurance.long_term_care_people","kind":"repeat","label":"Who does your long-term care policy cover?","min_rows":2,"nodes":[{"binds":"self_employed_health_insurance.long_term_care_people[].premiums","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your insurer's yearly statement shows the amount for each person.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.long_term_care_people.premiums","includes_united_states":false,"kind":"money","label":"How much did you pay for this person's long-term care coverage?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"self_employed_health_insurance.long_term_care_people[].age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their passport or birth certificate. The amount you can claim depends on their age.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.long_term_care_people.age","includes_united_states":false,"kind":"integer","label":"How old was your insured person at the end of the year?","label_when":[],"options":[],"placeholder":"52","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"]}],"row_label":"Person","visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"truthy","ref":"deductions_credits.self_employed_health_insurance.long_term_care_several_people"}]}},{"binds":"self_employed_health_insurance.long_term_care_insured_age","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their passport or birth certificate. The amount you can claim depends on their age.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.long_term_care_insured_age","includes_united_states":false,"kind":"integer","label":"How old was the person you covered at the end of the year?","label_when":[],"options":[],"placeholder":"52","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f7206.compute_form_7206","required_when":{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","value":0},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.self_employed_health_insurance.long_term_care_several_people"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"age_in_years":{"message_bounds":"Enter the age in whole years, from 0 to 130."}},"validators":["age_in_years"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.self_employed_health_insurance.long_term_care_premiums","value":0},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.self_employed_health_insurance.long_term_care_several_people"}]}]}]}},{"binds":"self_employed_health_insurance.establishing_business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the business you entered on the income page, or type its name if it is not in the list.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.establishing_business_name","includes_united_states":false,"kind":"pick_row","label":"Which of your businesses is the policy set up through?","label_when":[],"options":[],"picks_field":"income_sources.businesses.name","picks_from":"income_sources.businesses","placeholder":"Energy Build","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.self_employed_health_insurance.established_under_s_corporation"}]}]}]}},{"binds":"self_employed_health_insurance.medicare_premiums_from_benefits","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your yearly benefit statement shows the premiums taken off. Enter 0 if none of them is in the amount you gave. Premiums you claim here cannot also count with your medical costs, so the rest is counted there for you.","help_lines":[],"help_when":[],"id":"deductions_credits.self_employed_health_insurance.medicare_premiums_from_benefits","includes_united_states":false,"kind":"money","label":"How much of the Medicare premiums from your benefits is in your health coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f7206.medicare_overlap_finding","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"income_sources.social_security.medicare_premiums_deducted","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_self_employed_health_insurance"},{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.has_itemized"},{"op":"eq","ref":"household.spouse_itemizes_on_separate_return","value":true}]},{"op":"gt","ref":"income_sources.social_security.medicare_premiums_deducted","value":0}]}]}},{"binds":"child_dependent_care.taxpayer_student_or_disabled_months","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count whole months from your enrollment letter or your doctor's note.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.taxpayer_student_or_disabled_months","includes_united_states":false,"kind":"integer","label":"How many months were you a full-time student, or unable to look after yourself?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}},{"binds":"child_dependent_care.spouse_student_or_disabled_months","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count whole months from their enrollment letter or their doctor's note.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.spouse_student_or_disabled_months","includes_united_states":false,"kind":"integer","label":"How many months was your spouse a full-time student, or unable to self-care?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"truthy","ref":"household.has_spouse"}]}},{"binds":"child_dependent_care.taxpayer_student_months","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A full-time student counts only if enrolled in at least 5 months of the year. Your enrollment letter shows the months. Months you could not look after yourself count whenever they were.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.taxpayer_student_months","includes_united_states":false,"kind":"integer","label":"Of those months, how many were you a full-time student?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"gt","ref":"deductions_credits.child_dependent_care.taxpayer_student_or_disabled_months","value":0}]}},{"binds":"child_dependent_care.spouse_student_months","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A full-time student counts only if enrolled in at least 5 months of the year. Their enrollment letter shows the months. Months your spouse could not look after themselves count whenever they were.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.spouse_student_months","includes_united_states":false,"kind":"integer","label":"Of those months, how many was your spouse a full-time student?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"gt","ref":"deductions_credits.child_dependent_care.spouse_student_or_disabled_months","value":0}]}]}},{"binds":"child_dependent_care.mfs_meets_unmarried_exception","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only if all three lines below are true. Your lease, your bills and your own records are the evidence.","help_lines":["You lived apart from your spouse for the last six months of the year.","Your home was the main home of the person you paid care for, for more than half of the year.","You paid more than half the cost of keeping up that home for the year."],"help_when":[],"id":"deductions_credits.child_dependent_care.mfs_meets_unmarried_exception","includes_united_states":false,"kind":"yesno","label":"Did you live apart from your spouse the last six months and keep up the child's home?","label_when":[],"off_ramp":{"body":"A married person filing separately can take the credit for the cost of care only after living apart from their spouse for the last six months of the year, in a home they kept up that was the main home of the person cared for. On a no, this return claims no credit for the cost of care.","code":"care_credit_needs_living_apart","next_step":"Continue if that is right. If all three lines are true, change your answer to yes.","severity":"info","title":"Filing separately, this credit needs all three","when":{"op":"eq","ref":"deductions_credits.child_dependent_care.mfs_meets_unmarried_exception","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}},{"binds":"child_dependent_care.worked_for_whole_care_period","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you were away from work for two weeks or less, such as a vacation or a short illness. Say yes too if you worked part of the week but paid for care by the week or month anyway. On a joint return, a month your spouse was a full-time student or could not look after themselves counts as working. Say no only if you worked or looked for work for part of the time and could have paid for care just for the days you worked, or if you were away from work for much longer: the cost then has to be worked out day by day, which we do not do.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.worked_for_whole_care_period","includes_united_states":false,"kind":"yesno","label":"Did you work or look for work the whole time you paid for care?","label_when":[],"off_ramp":{"body":"The credit counts care only for the time you worked or looked for work. Time off of two weeks or less, and care you pay for by the week or month whatever days you worked, still count. When you worked for only part of the time the care was paid for, and could have paid for just those days, the costs have to be worked out for each day, and we do not do that.","code":"care_period_part_time","next_step":"Change your answer if you worked or looked for work the whole time. Otherwise use another preparer for a return like this. Your answers stay saved.","severity":"block","title":"Care for only part of the time you worked needs a day-by-day count","when":{"op":"eq","ref":"deductions_credits.child_dependent_care.worked_for_whole_care_period","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}},{"add_label":"Add a care provider","binds":"child_dependent_care.care_providers[]","help":"Add one row per care provider or daycare you paid. The form holds three. If you paid more than three, add the three you paid the most: the IRS wants a separate statement listing the rest, which we do not prepare.","id":"deductions_credits.child_dependent_care.care_providers","kind":"repeat","label":"Who looked after the person you paid for?","max_rows":3,"min_rows":1,"nodes":[{"clears":[],"currency_pickable":false,"derived_from_presence":["child_dependent_care.care_providers[].business_name"],"help":"Their invoice says which: a daycare or a company invoices in its own name, and a person invoices in theirs. The form holds one name for each provider, so we ask for the one that belongs on it.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.is_a_business","includes_united_states":false,"kind":"yesno","label":"Did you pay a daycare or company, rather than a person, for the care?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.care_providers[].business_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name on their invoice, as they write it themselves.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.business_name","includes_united_states":false,"kind":"text","label":"What is your daycare or company called?","label_when":[],"options":[],"placeholder":"Kid Corner","prefills":[],"refusal":"provider name","required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"deductions_credits.child_dependent_care.care_providers.is_a_business"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"],"visible_when":{"op":"truthy","ref":"deductions_credits.child_dependent_care.care_providers.is_a_business"}},{"binds":"child_dependent_care.care_providers[].person_first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name on their invoice, or the form they filled in for you.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.person_first_name","includes_united_states":false,"kind":"text","label":"What is your care provider's first name?","label_when":[],"options":[],"placeholder":"Dana","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"],"visible_when":{"op":"eq","ref":"deductions_credits.child_dependent_care.care_providers.is_a_business","value":false}},{"binds":"child_dependent_care.care_providers[].person_last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name on their invoice, or the form they filled in for you.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.person_last_name","includes_united_states":false,"kind":"text","label":"What is your care provider's last name?","label_when":[],"options":[],"placeholder":"Meyer","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"],"visible_when":{"op":"eq","ref":"deductions_credits.child_dependent_care.care_providers.is_a_business","value":false}},{"address_variant":"full","binds":"child_dependent_care.care_providers[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on their invoice. It can be outside the United States.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.address","includes_united_states":false,"kind":"address","label":"What is your care provider's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"child_dependent_care.care_providers[].see_w2","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes only when the care came through the employer whose Form W-2 shows an amount in box 10.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.see_w2","includes_united_states":false,"kind":"yesno","label":"Did your own employer provide that care?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.dependent_care_benefits","value":true}},{"binds":"child_dependent_care.care_providers[].tin_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their invoice or the form they filled in for you will say. If they have no number, choose the reason that applies: the form needs one or the other.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.tin_kind","includes_united_states":false,"kind":"choice","label":"What kind of tax number can you give for your care provider?","label_when":[],"options":[{"label":"Their Social Security number.","value":"ssn"},{"label":"The daycare or company's employer identification number.","value":"ein"},{"label":"None, because they are a tax-exempt organization.","value":"tax_exempt"},{"label":"None, because they are outside the United States and have no United States number.","value":"lafcp"},{"label":"None, because they have moved and I cannot find them.","value":"due_diligence_moved"},{"label":"None, because they refused to give it to me.","value":"due_diligence_refused"}],"prefills":[],"required":true,"required_validator":"expatreturn_us.filing_refusals.identifier_refusals","required_when":{"op":"gt","ref":"context.tax_year","value":0},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"child_dependent_care.care_providers[].tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their invoice or the form they filled in for you.","help_lines":[],"help_when":[[{"op":"eq","ref":"deductions_credits.child_dependent_care.care_providers.tin_kind","value":"ein"},"Type their employer number as two digits then seven, from the form they gave you."],[{"op":"eq","ref":"deductions_credits.child_dependent_care.care_providers.tin_kind","value":"ssn"},"Type the nine digits from their own Social Security card, which they will have written on the form they gave you."]],"id":"deductions_credits.child_dependent_care.care_providers.tin","identifier_kind_ref":"deductions_credits.child_dependent_care.care_providers.tin_kind","includes_united_states":false,"kind":"ssn","label":"What is your care provider's number?","label_when":[],"options":[],"placeholder":"00-0000041","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"nine_digit_tin_or_ein":{"message":"Check the number and type its nine digits again: a Social Security number, or an employer number written as two digits, a hyphen, then seven."}},"validators":["nine_digit_tin_or_ein"],"visible_when":{"op":"in","ref":"deductions_credits.child_dependent_care.care_providers.tin_kind","values":["ssn","ein"]}},{"binds":"child_dependent_care.care_providers[].is_ineligible_relative","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The other parent means the other parent of the child you paid care for. Say yes for your own child under 19 too. Money paid to any of them does not count for the credit. Say no for a nanny, a neighbor or any other relative who is none of these.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.is_ineligible_relative","includes_united_states":false,"kind":"yesno","label":"Is that person your spouse, the other parent, or someone you claim?","label_when":[],"off_ramp":{"body":"No credit is allowed for money paid to your spouse, the other parent of the child, someone you can claim as a dependent, or your own child under 19.","code":"care_provider_ineligible_relative","next_step":"Take them off the people you paid for care, or change your answer if it is not right.","severity":"block","title":"Money paid to this person does not count for the credit","when":{"op":"eq","ref":"deductions_credits.child_dependent_care.care_providers.is_ineligible_relative","value":true}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.child_dependent_care.care_providers.is_a_business","value":false}},{"binds":"child_dependent_care.care_providers[].is_household_employee","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A nanny you employed at home counts. A daycare does not. If you say yes, we ask later whether your pay to them meets the tests for household employment taxes.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.is_household_employee","includes_united_states":false,"kind":"yesno","label":"Did your care provider work in your own home under your direction?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.care_providers[].amount_paid","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Add up their invoices, or your bank payments to them. Count care for the year only: school from kindergarten up, an overnight camp, summer school and tutoring do not count.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.care_providers.amount_paid","includes_united_states":false,"kind":"money","label":"How much did you actually pay them during the year?","label_when":[],"options":[],"placeholder":"1300","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]}],"off_ramp":{"body":"Form 2441 Part I holds three care providers and says to check a box and see the instructions if you have more. The IRS wants a separate statement listing any others, which we do not prepare.","code":"too_many_rows_for_the_form","next_step":"Add three here, the three you paid the most. Only the rows you add go on the form.","severity":"info","title":"The form holds three of these","when":{"op":"truthy","ref":"deductions_credits.more_care_providers_than_the_form_holds"}},"row_label":"Care provider","visible_when":{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every daycare and every person you paid, from your own invoices. The form holds three, and the IRS wants a separate statement listing the rest, which we do not prepare.","help_lines":[],"help_when":[],"id":"deductions_credits.more_care_providers_than_the_form_holds","includes_united_states":false,"kind":"yesno","label":"Did you pay more than three care providers during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"count_gt","ref":"deductions_credits.child_dependent_care.care_providers","value":2}]}},{"add_label":"Add a person","binds":"child_dependent_care.qualifying_persons[]","help":"Add one row per person the care was for. Two or more people raise the limit on what counts, even if you paid for only one of them, so also add, with 0 paid, your spouse or anyone you claim who could not look after themselves and lived with you for more than half the year, and a child under 13 you do not claim who still qualifies, such as under the rule for parents who live apart. Any child you claim who is under 13 and lived with you for more than half the year is counted for you. The form holds three. If more than three qualified, add the three with the highest costs: the IRS wants a separate statement listing the rest, which we do not prepare.","id":"deductions_credits.child_dependent_care.qualifying_persons","kind":"repeat","label":"Who needed care while you worked, even if you paid nothing for them?","max_rows":3,"min_rows":1,"nodes":[{"binds":"child_dependent_care.qualifying_persons[].first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick them from the people you listed in your household, or type the name on their Social Security card. For a child you do not claim, type the name you gave beside your filing status.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.first_name","includes_united_states":false,"kind":"pick_row","label":"What is the first name of the person you are adding?","label_when":[],"options":[],"picks_field":"household.dependents.first_name","picks_from":"household.dependents","placeholder":"Skylar","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.qualifying_persons[].last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick them from your household list, or type the name on their Social Security card.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.last_name","includes_united_states":false,"kind":"pick_row","label":"What is the last name of the person you are adding?","label_when":[],"options":[],"picks_field":"household.dependents.last_name","picks_from":"household.dependents","placeholder":"Barker","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.qualifying_persons[].ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick them from your household list, or type the nine digits from their card. Leave it blank only for a baby who was born and died in the year, or a person whose ITIN is applied for with this return.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.ssn","includes_united_states":false,"kind":"pick_row","label":"What is the Social Security number of the person you are adding?","label_when":[],"options":[],"picks_field":"household.dependents.ssn_or_itin_or_atin","picks_from":"household.dependents","placeholder":"400-12-3456","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id_or_atin":{"message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456."}},"validators":["nine_digit_tin","issued_taxpayer_id_or_atin"]},{"binds":"child_dependent_care.qualifying_persons[].died","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The birth and death certificates are the record for this.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.died","includes_united_states":false,"kind":"yesno","label":"Was the person you are adding born and did they die this year, before getting a number?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.qualifying_persons[].over_age12_and_disabled","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their doctor's note is the record for this.","help_lines":["Care counts for a child under 13. If the child turned 13 during the year, count only the care before their birthday.","Care for someone 13 or older counts only when they cannot look after themselves."],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled","includes_united_states":false,"kind":"yesno","label":"Was the person you are adding over 12 and unable to look after themselves?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.qualifying_persons[].lived_with_you_over_half_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count time away for school, a hospital stay or a vacation as time at home.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.lived_with_you_over_half_year","includes_united_states":false,"kind":"yesno","label":"Did that person live with you for more than half the year?","label_when":[],"off_ramp":{"body":"Care for a person over 12 who cannot look after themselves counts only if they lived with you for more than half the year.","code":"disabled_person_not_lived_with_you","next_step":"Check your answer if it is not right, or take them off the people cared for.","severity":"block","title":"This person has to have lived with you","when":{"op":"eq","ref":"deductions_credits.child_dependent_care.qualifying_persons.lived_with_you_over_half_year","value":false}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"eq","ref":"household.dependents.ssn_or_itin_or_atin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"eq","ref":"household.dependents.ssn_or_itin_or_atin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}]}},{"binds":"child_dependent_care.qualifying_persons[].claimable_but_for_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you could claim them as a dependent except for their gross income, a joint return they filed, or someone else being able to claim you (or your spouse, on a joint return).","help_lines":["The other tests still apply: you paid over half their support, and they are a United States citizen, national or resident, or a resident of Canada or Mexico. Publication 501 has them.","Say no if none of these is true. Care for them then does not count.","Choose Not sure if you cannot tell. The return then cannot be filed from here."],"help_when":[[{"op":"gt","ref":"context.qualifying_relative_gross_income_limit","value":0},"The gross income that stops you claiming them is {context.qualifying_relative_gross_income_limit} or more."]],"id":"deductions_credits.child_dependent_care.qualifying_persons.claimable_but_for_income","includes_united_states":false,"kind":"yesno","label":"Could you claim that person, but for their income or a joint return?","label_when":[],"off_ramp":{"body":"Care for an adult who cannot look after themselves counts only for your spouse, someone you claim, or someone you could claim except for their income, a joint return they filed, or someone being able to claim you.","code":"disabled_person_not_claimable","next_step":"Check your answer if it is not right, or take them off the people cared for.","severity":"block","title":"Care for this person does not count","when":{"op":"eq","ref":"deductions_credits.child_dependent_care.qualifying_persons.claimable_but_for_income","value":false}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"eq","ref":"household.dependents.ssn_or_itin_or_atin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"household.spouse.ssn_or_itin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"},{"op":"not","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"eq","ref":"household.dependents.ssn_or_itin_or_atin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"household.spouse.ssn_or_itin","value_ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]}]}},{"binds":"child_dependent_care.qualifying_persons[].itin_applied_for","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a dependent whose Form W-7 you are sending with this return. Their number is then left blank on the form.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.itin_applied_for","includes_united_states":false,"kind":"yesno","label":"Is the ITIN (an IRS number for people who cannot get a Social Security number) of the person you are adding applied for with this return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.spouse_applies_for_itin"},{"op":"any_row","ref":"household.dependents","rules":[{"op":"truthy","ref":"household.dependents.applies_for_itin"}]}]},{"op":"not","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.qualifying_persons.ssn"}]},{"op":"ne","ref":"deductions_credits.child_dependent_care.qualifying_persons.died","value":true}]}},{"binds":"child_dependent_care.qualifying_persons[].spends_8_hours_a_day_in_your_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Care outside your home counts for a person over 12 only if they do.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.spends_8_hours_a_day_in_your_home","includes_united_states":false,"kind":"yesno","label":"Does that person regularly spend at least 8 hours a day in your home?","label_when":[],"off_ramp":{"body":"Care outside your home counts for a person over 12 who cannot look after themselves only if they regularly spend at least 8 hours a day in your home.","code":"over_12_person_not_in_home","next_step":"Check your answer if it is not right, or take them off the people you paid for.","severity":"block","title":"Care for this person has to be in your home most of the day","when":{"op":"eq","ref":"deductions_credits.child_dependent_care.qualifying_persons.spends_8_hours_a_day_in_your_home","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.child_dependent_care.qualifying_persons.over_age12_and_disabled"}},{"binds":"child_dependent_care.qualifying_persons[].qualified_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Add up the invoices that name them. Count care given and paid for this year: care from last year that you paid this year is asked about on its own. Enter 0 if you paid nothing for this person. School from kindergarten up, an overnight camp, summer school and tutoring do not count, and the same dollars cannot also be claimed as a medical expense.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.qualified_expenses","includes_united_states":false,"kind":"money","label":"How much did you pay for that person's care during the year?","label_when":[],"options":[],"placeholder":"1300","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"child_dependent_care.qualifying_persons[].identity_protection_pin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It arrives in an IRS letter each year. Leave it blank if they have none.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.qualifying_persons.identity_protection_pin","includes_united_states":false,"kind":"text","label":"What six-digit protection number did the IRS give the person you are adding?","label_when":[],"options":[],"placeholder":"123456","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"six_digit_pin":{"message":"Check the six digits in your IRS letter and type them again."}},"validators":["six_digit_pin"]}],"off_ramp":{"body":"Form 2441 line 2 holds three qualifying people, and the instructions say to list the three with the highest expenses. The IRS wants a separate statement listing any others, which we do not prepare.","code":"too_many_rows_for_the_form","next_step":"Add three here, the three whose care cost the most. Only the rows you add go on the form.","severity":"info","title":"The form holds three of these","when":{"op":"truthy","ref":"deductions_credits.more_people_cared_for_than_the_form_holds"}},"row_label":"Person cared for","visible_when":{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every child and every adult the care was for, from the invoices that name them. The form holds three, and the IRS wants a separate statement listing the rest, which we do not prepare.","help_lines":[],"help_when":[],"id":"deductions_credits.more_people_cared_for_than_the_form_holds","includes_united_states":false,"kind":"yesno","label":"Did you pay for the care of more than three people during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"count_gt","ref":"deductions_credits.child_dependent_care.qualifying_persons","value":2}]}},{"binds":"child_dependent_care.prior_year_care_paid_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your care invoices and bank payments show when you paid. Care given last year and paid for this year can add to this year's credit, worked out from last year's care costs, pay and credit. Answer no if every payment this year was for this year's care.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year","includes_united_states":false,"kind":"yesno","label":"Did you pay this year for care given last year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.mfs_meets_unmarried_exception","value":false}]}]}]}},{"binds":"child_dependent_care.prior_year_credit_on_most_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your last Form 2441 shows it. Say yes if line 6 equals the limit for one person, or for two or more people, less any care benefits from an employer. Say yes too if line 6 is the same as line 4 or line 5 (the earned income lines). Either way, last year's care adds nothing this year.","help_lines":["Say no, or choose Not sure, and we work it out from a few figures on last year's return."],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","includes_united_states":false,"kind":"yesno","label":"Was your care credit last year figured on the most care costs allowed?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"}]}},{"add_label":"Add a payment","binds":"child_dependent_care.prior_year_care_payments[]","help":"Add one row for each person cared for and each provider you paid. The worksheet attached to your return lists them.","id":"deductions_credits.child_dependent_care.prior_year_care_payments","kind":"repeat","label":"What did you pay this year for care given last year?","min_rows":1,"nodes":[{"binds":"child_dependent_care.prior_year_care_payments[].person_first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their Social Security card.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.person_first_name","includes_united_states":false,"kind":"text","label":"What is the first name of the person you paid that care for?","label_when":[],"options":[],"placeholder":"Skylar","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"child_dependent_care.prior_year_care_payments[].person_last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it appears on their Social Security card.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.person_last_name","includes_united_states":false,"kind":"text","label":"What is the last name of the person you paid that care for?","label_when":[],"options":[],"placeholder":"Barker","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"person_name_part":{"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for."}},"validators":["person_name_part"]},{"binds":"child_dependent_care.prior_year_care_payments[].person_ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The nine digits from their card.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.person_ssn","includes_united_states":false,"kind":"ssn","label":"What is the Social Security number of the person you paid that care for?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id_or_atin":{"message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456."}},"validators":["nine_digit_tin","issued_taxpayer_id_or_atin"]},{"binds":"child_dependent_care.prior_year_care_payments[].person_over_age12_and_disabled","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their doctor's note is the record for this.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.person_over_age12_and_disabled","includes_united_states":false,"kind":"yesno","label":"Was the person you paid for over 12 and unable to look after themselves?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.prior_year_care_payments[].provider_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name of the person or daycare on the invoice.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.provider_name","includes_united_states":false,"kind":"text","label":"Who did you pay for that care?","label_when":[],"options":[],"placeholder":"Little Steps Daycare","prefills":[],"refusal":"provider name","required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe here: the IRS does not accept a period or a comma in a company name.","message_too_long":"Write the name in 75 characters or fewer."}},"validators":["business_name"]},{"address_variant":"full","binds":"child_dependent_care.prior_year_care_payments[].provider_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on their invoice. It can be outside the United States.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.provider_address","includes_united_states":false,"kind":"address","label":"What is your care provider's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"child_dependent_care.prior_year_care_payments[].provider_tin","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their Social Security number or employer number, from their invoice or the form they filled in for you. Leave it blank if they have none.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.provider_tin","includes_united_states":false,"kind":"ssn","label":"What is your care provider's tax number?","label_when":[],"options":[],"placeholder":"00-0000041","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"nine_digit_tin_or_ein":{"message":"Check the number and type its nine digits again: a Social Security number, or an employer number written as two digits, a hyphen, then seven."}},"validators":["nine_digit_tin_or_ein"]},{"binds":"child_dependent_care.prior_year_care_payments[].provider_household_employee","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A nanny you employed at home counts. A daycare does not.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.provider_household_employee","includes_united_states":false,"kind":"yesno","label":"Did that provider work in your own home under your direction?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"child_dependent_care.prior_year_care_payments[].amount_paid","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your bank payments this year for last year's invoices.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_care_payments.amount_paid","includes_united_states":false,"kind":"money","label":"How much did you pay this year for that care given last year?","label_when":[],"options":[],"placeholder":"600","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]}],"row_label":"Payment for last year's care","visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}]}},{"binds":"child_dependent_care.prior_year_line_3","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter 0 if you did not file Form 2441 last year.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_line_3","includes_united_states":false,"kind":"money","label":"What is on line 3 of your Form 2441 for last year?","label_when":[],"options":[],"placeholder":"2000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]}]}},{"binds":"child_dependent_care.prior_year_two_or_more_persons","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count everyone care could be paid for last year, even if you paid for only one of them.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_two_or_more_persons","includes_united_states":false,"kind":"yesno","label":"Did you have two or more qualifying persons last year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}]}},{"binds":"child_dependent_care.prior_year_benefits_excluded","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Lines 24 and 25 of last year's Form 2441 added together. Enter 0 if you had none.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_benefits_excluded","includes_united_states":false,"kind":"money","label":"How much employer care benefit did you leave out of income last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]}]}},{"binds":"child_dependent_care.prior_year_expenses_paid_last_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoices and bank payments show it. Leave out what you paid this year. Enter 0 if you paid all of it this year.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_expenses_paid_last_year","includes_united_states":false,"kind":"money","label":"How much of last year's care did you pay for last year?","label_when":[],"options":[],"placeholder":"2000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]}},{"binds":"child_dependent_care.prior_year_benefits_line_25","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 25 of last year's Form 2441. Enter 0 if you had none.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_benefits_line_25","includes_united_states":false,"kind":"money","label":"How much employer care benefit did you leave out of income last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]}]}},{"binds":"child_dependent_care.prior_year_smaller_earned_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 4 of last year's Form 2441 shows it. It is your pay and self-employment earnings, less any you left out as foreign earned income. If you filed jointly last year, enter the smaller of your earned income and your spouse's.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_smaller_earned_income","includes_united_states":false,"kind":"money","label":"What was your earned income last year?","label_when":[],"options":[],"placeholder":"40000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}]}},{"binds":"child_dependent_care.prior_year_line_6","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 6 of last year's Form 2441 is the amount the credit was figured on. Enter 0 if you claimed no credit last year.","help_lines":[],"help_when":[],"id":"deductions_credits.child_dependent_care.prior_year_line_6","includes_united_states":false,"kind":"money","label":"What is on line 6 of your Form 2441 for last year?","label_when":[],"options":[],"placeholder":"2000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}]}},{"binds":"child_dependent_care.prior_year_agi","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is on last year's Form 1040.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2019},"On your 2018 form it is line 7."],[{"op":"eq","ref":"context.tax_year","value":2020},"On your 2019 form it is line 8b."],[{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020}]}]},"On your form it is line 11."]],"id":"deductions_credits.child_dependent_care.prior_year_agi","includes_united_states":false,"kind":"money","label":"What was your adjusted gross income (income after adjustments) last year?","label_when":[],"options":[],"placeholder":"40000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f2441.care_test_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.prior_year_care_paid_this_year"},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs","value":false},{"op":"and","rules":[{"op":"answered","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"},{"op":"eq","ref":"deductions_credits.child_dependent_care.prior_year_credit_on_most_costs"}]}]}]}]}},{"binds":"education_credits.refundable_aotc_barred_under_age24","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 8863 instructions for line 7 set this test out. Your own record of what you earned and what your keep cost is the evidence. It decides only whether the credit can be paid out to you or can only reduce your tax.","help_lines":["You were under 18.","You were 18, and what you earned yourself came to less than half of what your support cost.","You were a full-time student under 24, and what you earned yourself came to less than half of what your support cost."],"help_when":[],"id":"deductions_credits.education_credits.refundable_aotc_barred_under_age24","includes_united_states":false,"kind":"yesno","label":"Was a parent alive at year end, and does any of these describe you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"and","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":24},{"op":"ne","ref":"about_you.filing_status","value":"mfj"}]}]}},{"add_label":"Add a student","binds":"education_credits.students[]","help":"Add one row per student. Have the statement from each college ready.","id":"deductions_credits.education_credits.students","kind":"repeat","label":"Who was studying in your household?","min_rows":1,"nodes":[{"binds":"education_credits.students[].first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick them from the people you listed in your household, or type the name on their Social Security card. The student can be you, your spouse or someone you support.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.first_name","includes_united_states":false,"kind":"pick_row","label":"What is your student's first name?","label_when":[],"options":[],"picks_field":"household.dependents.first_name","picks_from":"household.dependents","placeholder":"Bobby","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"education_credits.students[].last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick them from your household list, or type the name on their Social Security card.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.last_name","includes_united_states":false,"kind":"pick_row","label":"What is your student's last name?","label_when":[],"options":[],"picks_field":"household.dependents.last_name","picks_from":"household.dependents","placeholder":"Barker","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"education_credits.students[].ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick them from your household list, or type the nine digits from their card. It has to be you, your spouse or a dependent on this return. Leave it blank only if their ITIN is applied for with this return.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.ssn","includes_united_states":false,"kind":"pick_row","label":"What is your student's Social Security number?","label_when":[],"options":[],"picks_field":"household.dependents.ssn_or_itin_or_atin","picks_from":"household.dependents","placeholder":"400-12-3456","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.credits.EducationStudent._check","required_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.education_credits.students.itin_applied_for","value":false},{"op":"not","rules":[{"op":"answered","ref":"deductions_credits.education_credits.students.itin_applied_for"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id_or_atin":{"message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456."}},"validators":["nine_digit_tin","issued_taxpayer_id_or_atin"]},{"binds":"education_credits.students[].itin_applied_for","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for your spouse or a dependent whose Form W-7 you are sending with this return. Their number is then left blank on the form.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.itin_applied_for","includes_united_states":false,"kind":"yesno","label":"Is your student's ITIN (an IRS number for people who cannot get a Social Security number) applied for with this return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.spouse_applies_for_itin"},{"op":"any_row","ref":"household.dependents","rules":[{"op":"truthy","ref":"household.dependents.applies_for_itin"}]}]},{"op":"not","rules":[{"op":"answered","ref":"deductions_credits.education_credits.students.ssn"}]}]}},{"binds":"education_credits.students[].has_valid_ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For a student you claim as a dependent, this decides whether either education credit can be claimed for them.","help_lines":["When the student is you or your spouse, your answers about your own Social Security numbers, which come later, are the ones that count.","A card marked not valid for employment does not count, and neither does an individual taxpayer identification number or an adoption number.","The due date counts any extension of time to file.","Choose Not sure if you cannot tell: where a deduction or credit on your return needs the answer, the return cannot be filed from here until you answer yes or no."],"help_when":[],"id":"deductions_credits.education_credits.students.has_valid_ssn","includes_united_states":false,"kind":"yesno","label":"Does your student hold a work-valid Social Security number issued by your due date?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.f8863.student_identification_findings","required_when":{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]}},{"binds":"education_credits.students[].prior_year_aotc_claimed_four_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count the earlier returns that carried it for them. Four earlier years rule that credit out, and the other education credit is the one left.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.prior_year_aotc_claimed_four_years","includes_united_states":false,"kind":"yesno","label":"Has your student already had the first-four-years credit claimed in four earlier years?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"education_credits.students[].enrolled_half_time_degree_program","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An academic period counts if it began, or is treated as having begun, in the year, and a program counts if it leads to a degree, certificate or other recognized qualification. The statement the college sends checks a box for at least half time, and the college can confirm the course. Choose Not sure if you cannot tell: without an answer the credit for the first four years cannot be claimed and we use the other one.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.enrolled_half_time_degree_program","includes_united_states":false,"kind":"yesno","label":"Was your student at least half time in a degree or recognized program, in a period beginning in the year?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.domain.credits.EducationStudent._check","required_when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"education_credits.students[].completed_first_four_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The college can confirm their year of study. Yes rules out the credit for the first four years. Choose Not sure if you cannot tell.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.completed_first_four_years","includes_united_states":false,"kind":"yesno","label":"Had your student finished four years of higher education before the year began?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.domain.credits.EducationStudent._check","required_when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"education_credits.students[].felony_drug_conviction","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A conviction rules out the credit for the first four years but not the other one. Choose Not sure if you do not know.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.felony_drug_conviction","includes_united_states":false,"kind":"yesno","label":"Was your student convicted by year end of felony drug possession or supply?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.domain.credits.EducationStudent._check","required_when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"education_credits.students[].credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your four answers about this student decide this wherever the form does. Four earlier claims, a course below half time, the first four years already finished or a drug conviction each rule the first credit out. Where both are still open you may take either one, and the first can be claimed for one student in only four tax years.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.credit","includes_united_states":false,"kind":"choice","label":"Which education credit should we claim for your student?","label_when":[],"options":[{"label":"The credit for the first four years of a degree.","value":"aotc"},{"label":"The credit for any course that improves your job skills.","value":"llc"}],"prefills":[{"confirm":false,"exact":false,"note":"Filled in because your answers about that student rule out the credit for the first four years of a degree. Change it only if one of those answers was wrong.","value":"llc","when":{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.education_credits.students.prior_year_aotc_claimed_four_years"},{"op":"eq","ref":"deductions_credits.education_credits.students.enrolled_half_time_degree_program","value":false},{"op":"truthy","ref":"deductions_credits.education_credits.students.completed_first_four_years"},{"op":"truthy","ref":"deductions_credits.education_credits.students.felony_drug_conviction"}]}},{"confirm":false,"exact":false,"note":"Filled in because your answers about that student meet every test on the form for the credit for the first four years of a degree. You may take the other credit instead if you prefer.","value":"aotc","when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.education_credits.students.prior_year_aotc_claimed_four_years","value":false},{"op":"eq","ref":"deductions_credits.education_credits.students.enrolled_half_time_degree_program","value":true},{"op":"eq","ref":"deductions_credits.education_credits.students.completed_first_four_years","value":false},{"op":"eq","ref":"deductions_credits.education_credits.students.felony_drug_conviction","value":false}]}}],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"education_credits.students[].adjusted_qualified_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Count what was paid in the year for terms that began in the year or in the first three months of next year, not what the college billed. The college's January statement can differ from that.","help_lines":["Take off what a grant or scholarship covered. The next question takes off other tax-free help.","Leave out costs you also deduct on a business schedule, because the same costs cannot earn a credit too."],"help_when":[],"id":"deductions_credits.education_credits.students.adjusted_qualified_expenses","includes_united_states":false,"kind":"money","label":"How much did you pay for your student's tuition and required course materials?","label_when":[],"options":[],"placeholder":"980","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"education_credits.students[].prior_credit_disallowed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"You would have received a letter saying so. This question is kept only for the answer you gave before; the question about the credit for the first four years of a degree now asks it once.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.prior_credit_disallowed","includes_united_states":false,"kind":"yesno","label":"Has the IRS ever refused or cut your education credit for this student?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.education_credits.students.prior_credit_disallowed"}},{"binds":"education_credits.students[].other_tax_free_help","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count help from an employer's school plan, veterans' education benefits, a refund the college paid back, and money a 529 plan or Coverdell account paid toward these costs.","help_lines":["Refunds count if they came in the year, or after it but before you file.","A grant or scholarship is already taken off above, so leave it out here.","Enter 0 if there was none."],"help_when":[],"id":"deductions_credits.education_credits.students.other_tax_free_help","includes_united_states":false,"kind":"money","label":"How much of those costs did other tax-free help pay for your student?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"add_label":"Add a college","binds":"education_credits.students[].institutions[]","help":"Add one row per college, up to the two the form holds. The statement each one sends has the details.","id":"deductions_credits.education_credits.students.institutions","kind":"repeat","label":"Where did your student study?","max_rows":2,"min_rows":0,"nodes":[{"binds":"education_credits.students[].institutions[].name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of the statement they sent you.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.name","includes_united_states":false,"kind":"text","label":"What is your college called?","label_when":[],"options":[],"placeholder":"University of Texas","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"address_variant":"full","binds":"education_credits.students[].institutions[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on the statement they sent you.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.address","includes_united_states":false,"kind":"address","label":"What is your college's address?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"education_credits.students[].institutions[].ein","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Printed on the statement they sent you. The credit for the first four years cannot be claimed without it.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.ein","includes_united_states":false,"kind":"text","label":"What is your college's nine-digit number?","label_when":[],"options":[],"placeholder":"00-0000050","prefills":[],"required":false,"required_validator":"expatreturn_us.filing_refusals.identifier_refusals","required_when":{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"ein":{"message":"Check the college's number on the statement and type it as two digits, a hyphen, then seven."}},"validators":["ein"]},{"binds":"education_credits.students[].institutions[].received_1098t_current_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is the form the college sends each January showing what you paid.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.received_1098t_current_year","includes_united_states":false,"kind":"yesno","label":"Did your student receive a Form 1098-T from that college for this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"education_credits.students[].institutions[].received_1098t_prior_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of the Form 1098-T. The college checks it when the amount it reported covered a term starting early in this year. The college can confirm it.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.received_1098t_prior_year","includes_united_states":false,"kind":"yesno","label":"Did that college send your student last year's Form 1098-T with box 7 checked?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"education_credits.students[].institutions[].participates_us_aid_program","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Ask the college, or search the federal school code list. A college that does not take part supports no credit. Choose Not sure if you cannot tell: the return cannot be filed from here until you answer.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.participates_us_aid_program","includes_united_states":false,"kind":"yesno","label":"Does your college take part in a United States federal student aid program?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[]},{"binds":"education_credits.students[].institutions[].form_1098t_exception","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Both education credits need the form unless one of these is true. The college can tell you which applies.","help_lines":[],"help_when":[],"id":"deductions_credits.education_credits.students.institutions.form_1098t_exception","includes_united_states":false,"kind":"choice","label":"Why did your student get no Form 1098-T from that college?","label_when":[],"off_ramp":{"body":"Unless the college was not required to send one, or you asked for one after January 31, neither education credit can be claimed for this student.","code":"form_1098t_not_received","next_step":"Ask the college for the form, then come back and update your answers.","severity":"block","title":"Both credits need a Form 1098-T","when":{"op":"eq","ref":"deductions_credits.education_credits.students.institutions.form_1098t_exception","value":"neither"}},"options":[{"help":"For example the student was a nonresident alien, the costs were all paid by scholarships or under a formal billing arrangement, or the courses carried no academic credit.","label":"The college did not have to send one.","value":"not_required_to_furnish"},{"label":"The college should have sent one, and I asked for it after January 31.","value":"requested_after_january_31"},{"label":"Neither of these.","value":"neither"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.education_credits.students.institutions.received_1098t_current_year","value":false}}],"off_ramp":{"body":"Form 8863 line 22 holds two colleges for each student. The IRS wants a separate statement listing any others, which we do not prepare.","code":"too_many_rows_for_the_form","next_step":"Add two here, the two that sent the largest statements. Only the rows you add go on the form.","severity":"info","title":"The form holds two of these","when":{"op":"truthy","ref":"deductions_credits.more_colleges_than_the_form_holds"}},"row_label":"College"},{"binds":"education_credits.students[].ineligible_school_costs","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"That is the college you said takes part in no United States federal student aid program. Only costs paid to a college that takes part in one can earn an education credit, so we take this part off.","help_lines":["Count what was paid to that college for these costs, less any grant, scholarship or other tax-free help that paid them."],"help_when":[],"id":"deductions_credits.education_credits.students.ineligible_school_costs","includes_united_states":false,"kind":"money","label":"How much of your student's costs went to the college outside the aid program?","label_when":[],"options":[],"placeholder":"1200","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"any_row","ref":"deductions_credits.education_credits.students.institutions","rules":[{"op":"eq","ref":"deductions_credits.education_credits.students.institutions.participates_us_aid_program","value":false}]},{"op":"any_row","ref":"deductions_credits.education_credits.students.institutions","rules":[{"op":"ne","ref":"deductions_credits.education_credits.students.institutions.participates_us_aid_program","value":false}]}]}}],"row_label":"Student","visible_when":{"op":"truthy","ref":"deductions_credits.has_education_credits"}},{"clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every college that sent a statement for them. The form holds two for each student, and the IRS wants a separate statement listing the rest, which we do not prepare.","help_lines":[],"help_when":[],"id":"deductions_credits.more_colleges_than_the_form_holds","includes_united_states":false,"kind":"yesno","label":"Did any of your students attend more than two colleges during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"count_gt","ref":"deductions_credits.education_credits.students.institutions","value":1}]}]}},{"binds":"prior_aotc_disallowed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A letter from the IRS would have told you. Answer no if the only reason was a math or copying error.","help_lines":["After a refusal the claim needs Form 8862 with the return, and we prepare it. The next questions decide whether it is needed.","Choose Not sure if you cannot check."],"help_when":[],"id":"deductions_credits.prior_aotc_disallowed","includes_united_states":false,"kind":"yesno","label":"Was your credit for a degree's first four years ever refused or cut?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]}]}},{"binds":"prior_aotc_history.since","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your letters from the IRS say so. Choose the first answer that fits.","help_lines":["A bar for 2 or 10 years comes only from a final IRS decision about an earlier claim, and the letter says so.","Choose Not sure if you cannot check. This return cannot be filed from here until it is answered."],"help_when":[],"id":"deductions_credits.prior_aotc_history.since","includes_united_states":false,"kind":"choice","label":"What has the IRS decided about your credit since it was denied?","label_when":[],"off_ramp":{"body":"A 2-year bar covers the two tax years after the year of the return the decision was about, and a 10-year bar the ten years after it. For example, a 2024 return found reckless bars 2025 and 2026. In those years the credit is left off your return, and we say so on your results.","code":"credit_barred_after_finding","next_step":"Check which year's return the decision was about. To contest the decision, the IRS instructions say to claim the credit anyway with Form 8862 on a return sent by mail. We do not prepare a return that claims the credit while the bar lasts.","severity":"info","title":"A bar means the credit is not claimed while it lasts","when":{"op":"in","ref":"deductions_credits.prior_aotc_history.since","values":["ban_two_years","ban_ten_years","both_bans"]}},"options":[{"label":"It was allowed again after I sent Form 8862 or other papers, and it has not been denied since other than for a math or copying error.","value":"allowed_again"},{"label":"A final decision bars it for 2 years, for reckless or intentional disregard of the rules.","value":"ban_two_years"},{"label":"A final decision bars it for 10 years, for fraud.","value":"ban_ten_years"},{"label":"Both: a 2-year bar and a 10-year bar.","value":"both_bans"},{"label":"None of these.","value":"none"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"and","rules":[{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.prior_aotc_disallowed"},{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.education_credits.students.prior_credit_disallowed"},{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]}]}]}]}]}},{"binds":"prior_aotc_history.denied_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Give the year of the return that was denied or reduced, not the year of the IRS letter. Give the latest one if there was more than one.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_aotc_history.denied_year","includes_united_states":false,"kind":"integer","label":"On which year's return did the IRS last deny or reduce your credit?","label_when":[],"options":[],"placeholder":"2023","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in the IRS letter, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"and","rules":[{"op":"and","rules":[{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.prior_aotc_disallowed"},{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.education_credits.students.prior_credit_disallowed"},{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]}]}]}]},{"op":"in","ref":"deductions_credits.prior_aotc_history.since","values":["none","ban_two_years","ban_ten_years","both_bans"]}]}]}},{"binds":"prior_aotc_history.reckless_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Give the year of the return the decision was about, not the year the decision was made: a 2024 return found reckless in 2025 bars 2025 and 2026. Give the latest one if there was more than one.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_aotc_history.reckless_year","includes_united_states":false,"kind":"integer","label":"For which year's return did the IRS decide your 2-year bar?","label_when":[],"options":[],"placeholder":"2024","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in the IRS letter, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"and","rules":[{"op":"and","rules":[{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.prior_aotc_disallowed"},{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.education_credits.students.prior_credit_disallowed"},{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]}]}]}]},{"op":"in","ref":"deductions_credits.prior_aotc_history.since","values":["ban_two_years","both_bans"]}]}]}},{"binds":"prior_aotc_history.fraud_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Give the year of the return the decision was about, not the year the decision was made: a 2024 return found reckless in 2025 bars 2025 and 2026. Give the latest one if there was more than one.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_aotc_history.fraud_year","includes_united_states":false,"kind":"integer","label":"For which year's return did the IRS decide your 10-year bar?","label_when":[],"options":[],"placeholder":"2020","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"tax_year_range":{"message_bounds":"Enter the four-digit tax year named in the IRS letter, for example 2023."}},"validators":["tax_year_range"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.has_education_credits"},{"op":"and","rules":[{"op":"and","rules":[{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.prior_aotc_disallowed"},{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.education_credits.students.prior_credit_disallowed"},{"op":"ne","ref":"deductions_credits.education_credits.students.credit","value":"llc"}]}]}]}]},{"op":"in","ref":"deductions_credits.prior_aotc_history.since","values":["ban_ten_years","both_bans"]}]}]}},{"binds":"extended_military_duty_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Duty ordered for more than 90 days, or for no set time, counts. For the earned income credit, a home while on that duty counts as a home in the United States. Answer no if neither of you served.","help_lines":[],"help_when":[],"id":"deductions_credits.extended_military_duty_abroad","includes_united_states":false,"kind":"yesno","label":"Were you or your spouse on extended military duty outside the United States?","label_when":[],"off_ramp":{"body":"It makes your home count as a home in the United States. We do not work that credit out, so if your income is low enough, this return cannot be filed from here.","code":"eic_military_duty","next_step":"Choose not to claim the credit if we cannot file it, or use another preparer. Your answers stay saved.","severity":"review","title":"Duty like that can bring the earned income credit","when":{"op":"truthy","ref":"deductions_credits.extended_military_duty_abroad"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"count_gt","ref":"where_you_lived.residency.stints","value":0},{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]}]}},{"binds":"screened_inputs.traditional_ira_contribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA provider's Form 5498 or your own statements show it. Include only what stayed in a traditional IRA: a contribution you moved into a Roth IRA by the due date counts as paid into the Roth IRA. Include a Roth IRA contribution for this year that you moved into a traditional IRA by the due date. We ask how much next.","help_lines":["Pay you leave out with the foreign earned income exclusion or the foreign housing exclusion does not count as pay for the IRA limits."],"help_when":[],"id":"deductions_credits.screened_inputs.traditional_ira_contribution","includes_united_states":false,"kind":"yesno","label":"Did you put money into a traditional IRA for the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.roth_conversion","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA provider's statements and Form 1099-R show a conversion. A rollover from an employer plan straight into a Roth IRA does not count here: it shows on the plan's Form 1099-R. We ask how much next and work out the taxed part on Form 8606.","help_lines":["Enter the Form 1099-R for the conversion with your other retirement payments, with its IRA box checked."],"help_when":[],"id":"deductions_credits.screened_inputs.roth_conversion","includes_united_states":false,"kind":"yesno","label":"Did you convert a traditional, SEP or SIMPLE IRA to a Roth IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.traditional_ira_basis","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Look at every one of these IRAs you own, not only the one that paid you. Line 14 of your last Form 8606 shows money you did not deduct. If you are not sure whether you filed that form, check your past returns and your IRA statements before you answer. We ask the amount next and work out the untaxed part on Form 8606.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.traditional_ira_basis","includes_united_states":false,"kind":"yesno","label":"Does any traditional, SEP or SIMPLE IRA you own hold money you never deducted?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H","Q","R"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H","Q","R"]}]}]}]}]}},{"binds":"screened_inputs.health_savings_account","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count money your employer paid in for you. Your account's yearly statements show it, and code W in box 12 of a Form W-2 is your employer's share. Say yes too if money above the limit from last year carried into this year.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.health_savings_account","includes_united_states":false,"kind":"yesno","label":"Did money go into or come out of a health savings account for you?","label_when":[],"off_ramp":{"body":"For this year, money paid into or taken out of one needs Form 8889, which we do not prepare.","code":"health_savings_account","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare a health savings account for 2019 to 2025 returns","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"or","rules":[{"op":"lt","ref":"context.tax_year","value":2019},{"op":"gt","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.self_employed_retirement_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A SEP, a SIMPLE IRA or a one-person 401(k) plan you set up for your business. Your plan's statements show what you paid in. We ask about the plan next.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.self_employed_retirement_plan","includes_united_states":false,"kind":"yesno","label":"Did you pay into a retirement plan for yourself as a self-employed person?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"income_sources.has_self_employment"}},{"binds":"screened_inputs.excess_contribution_or_missed_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan or account provider tells you about either one.","help_lines":["Overfunding means paying in more than the yearly limit to a health, Archer medical or Coverdell education savings account or an ABLE account.","An IRA does not count here: IRAs have boxes of their own.","A required withdrawal is the minimum you must take out each year from a traditional, SEP or SIMPLE IRA or from an employer plan. The first one is due by April 1 of the year after you turn 73. A Roth IRA of your own has none."],"help_when":[],"id":"deductions_credits.screened_inputs.excess_contribution_or_missed_distribution","includes_united_states":false,"kind":"yesno","label":"Did you overfund a tax-favored account, or miss a required withdrawal?","label_when":[],"off_ramp":{"body":"The extra tax on money paid in above the limit, or on a withdrawal that was not taken, is worked out on parts of Form 5329 we do not prepare.","code":"excess_contribution_or_missed_distribution","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the tax on an overfunded account","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.excess_contribution_or_missed_distribution"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.marketplace_coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Marketplace sends a Form 1095-A for the year. Coverage from an employer or from a country abroad does not count.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.marketplace_coverage","includes_united_states":false,"kind":"yesno","label":"Did you or your family have health insurance from the Health Insurance Marketplace?","label_when":[],"off_ramp":{"body":"Marketplace coverage brings a premium tax credit that needs a form we do not prepare (Form 8962).","code":"marketplace_coverage","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with Marketplace health insurance","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.marketplace_coverage"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.education_account_payout","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your account's Form 1099-Q shows it. A payout that all went on school or disability costs is usually not taxed, and we ask about that next.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.education_account_payout","includes_united_states":false,"kind":"yesno","label":"Did you take money out of a 529 plan, Coverdell account or ABLE account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.medical_savings_or_ltc_payout","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That means an Archer or Medicare Advantage medical savings account, or benefits from long-term care insurance. A health savings account is asked about above.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.medical_savings_or_ltc_payout","includes_united_states":false,"kind":"yesno","label":"Did you get money from a medical savings account, or a Form 1099-LTC?","label_when":[],"off_ramp":{"body":"Payouts from a medical savings account and long-term care benefits are reported on Form 8853, which we do not prepare.","code":"medical_savings_or_ltc_payout","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare returns with those payouts","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.medical_savings_or_ltc_payout"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.roth_ira_with_excluded_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA provider's Form 5498 or your own statements show it. Count money paid in by the April due date. Include a traditional IRA contribution for this year that you moved into a Roth IRA. Include only what stayed in a Roth IRA: a Roth IRA contribution you moved into a traditional IRA counts as paid into the traditional IRA. We ask how much next and work out your limit.","help_lines":["Pay you leave out with the foreign earned income exclusion does not count toward the limit."],"help_when":[],"id":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay","includes_united_states":false,"kind":"yesno","label":"Did you pay into a Roth IRA for this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.ira_excess_from_earlier_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 5329 shows it, if you paid the extra tax then. Money you took back out by that year's due date does not count. Count a traditional, SEP, SIMPLE or Roth IRA, and your spouse's on a joint return.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.ira_excess_from_earlier_year","includes_united_states":false,"kind":"yesno","label":"Do your IRAs still hold money paid in over an earlier year's limit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.education_account_payout_all_qualified","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Costs you also used for an education credit do not count. Answer no if you are not sure.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.education_account_payout_all_qualified","includes_united_states":false,"kind":"yesno","label":"Did you spend all of it on school or disability costs?","label_when":[],"off_ramp":{"body":"When a payout is more than the costs it paid for, or some costs also earned an education credit, the taxed part and the extra tax on it are worked out under rules we do not prepare here.","code":"education_account_payout","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out the tax on an education or disability account payout","when":{"op":"eq","ref":"deductions_credits.screened_inputs.education_account_payout_all_qualified","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.education_account_payout"}},{"binds":"traditional_ira_prior_excess","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of your Form 5329 for last year shows it, if its line 17 is more than zero. Enter 0 if that line 17 was zero or you had no extra traditional IRA money.","help_lines":["Extra means money paid in over a year's limit."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"Enter 0 if only your spouse had extra money in an IRA."]],"id":"deductions_credits.traditional_ira_prior_excess","includes_united_states":false,"kind":"money","label":"How much of your extra traditional IRA money from earlier years remains?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"}},{"binds":"roth_ira_prior_excess","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 24 of your Form 5329 for last year shows it, if its line 25 is more than zero. Enter 0 if that line 25 was zero or you had no extra Roth IRA money.","help_lines":["Extra means money paid in over a year's limit."],"help_when":[],"id":"deductions_credits.roth_ira_prior_excess","includes_united_states":false,"kind":"money","label":"How much of your extra Roth IRA money from earlier years remains?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"}},{"binds":"spouse_traditional_ira_prior_excess","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of your spouse's Form 5329 for last year shows it, if its line 17 is more than zero. Enter 0 if that line 17 was zero or your spouse had no extra traditional IRA money.","help_lines":["Extra means money paid in over a year's limit."],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_prior_excess","includes_united_states":false,"kind":"money","label":"How much of your spouse's extra traditional IRA money from earlier years remains?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"spouse_roth_ira_prior_excess","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 24 of your spouse's Form 5329 for last year shows it, if its line 25 is more than zero. Enter 0 if that line 25 was zero or your spouse had no extra Roth IRA money.","help_lines":["Extra means money paid in over a year's limit."],"help_when":[],"id":"deductions_credits.spouse_roth_ira_prior_excess","includes_united_states":false,"kind":"money","label":"How much of your spouse's extra Roth IRA money from earlier years remains?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"traditional_ira_prior_excess_taken_out_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA provider's Form 1099-R shows money that came back. It came back untaxed only if all three are true: it came out after the due date of the return for the year it was paid in, no deduction was allowed or taken for it, and the traditional IRA payments for that year were within that year's limit. Answer no if none came back, or if any of the three is not true: the payment is then taxed like any other.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_prior_excess_taken_out_untaxed","includes_united_states":false,"kind":"yesno","label":"Did your earlier extra traditional IRA money come back untaxed this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]}},{"binds":"spouse_traditional_ira_prior_excess_taken_out_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their IRA provider's Form 1099-R shows money that came back. It came back untaxed only if all three are true: it came out after the due date of the return for the year it was paid in, no deduction was allowed or taken for it, and the traditional IRA payments for that year were within that year's limit. Answer no if none came back to your spouse, or if any of the three is not true: the payment is then taxed like any other.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_prior_excess_taken_out_untaxed","includes_united_states":false,"kind":"yesno","label":"Did your spouse's earlier extra traditional IRA money come back untaxed this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]}},{"binds":"traditional_ira_prior_excess_returned_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA provider's Form 1099-R for it shows the amount paid out. We report it on your return, untaxed, with the statement it needs. Do not also enter that Form 1099-R with your income.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_prior_excess_returned_amount","includes_united_states":false,"kind":"money","label":"How much earlier extra traditional IRA money came back to you untaxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]},{"op":"truthy","ref":"deductions_credits.traditional_ira_prior_excess_taken_out_untaxed"}]}},{"binds":"traditional_ira_prior_excess_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 5329 show the years. Give four-digit years, separated by commas or the word and, for example {context.return_year_less_2} and {context.return_year_less_1}.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_prior_excess_years","includes_united_states":false,"kind":"text","label":"Which year or years was your extra money paid in for?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"earlier_ira_excess_years":{"message":"Give the year or years as four digits, joined by commas or and."}},"validators":["earlier_ira_excess_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]},{"op":"truthy","ref":"deductions_credits.traditional_ira_prior_excess_taken_out_untaxed"}]}},{"binds":"spouse_traditional_ira_prior_excess_returned_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their IRA provider's Form 1099-R for it shows the amount paid out. We report it on your return, untaxed, with the statement it needs. Do not also enter that Form 1099-R with your income.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_prior_excess_returned_amount","includes_united_states":false,"kind":"money","label":"How much earlier extra traditional IRA money came back to your spouse untaxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]},{"op":"truthy","ref":"deductions_credits.spouse_traditional_ira_prior_excess_taken_out_untaxed"}]}},{"binds":"spouse_traditional_ira_prior_excess_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 5329 show the years. Give four-digit years, separated by commas or the word and, for example {context.return_year_less_2} and {context.return_year_less_1}.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_prior_excess_years","includes_united_states":false,"kind":"text","label":"Which year or years was your spouse's extra money paid in for?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"earlier_ira_excess_years":{"message":"Give the year or years as four digits, joined by commas or and."}},"validators":["earlier_ira_excess_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]},{"op":"truthy","ref":"deductions_credits.spouse_traditional_ira_prior_excess_taken_out_untaxed"}]}},{"binds":"traditional_ira_contribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA provider's Form 5498 or your own statements show it. Count money paid in for this tax year by its April due date, even if you took some back out. Leave out money rolled over from another IRA or a plan. Count a Roth IRA contribution for this year that was moved to a traditional IRA. We ask about it next. Leave out any part moved to a Roth IRA, which counts as paid into a Roth IRA.","help_lines":[],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"Enter 0 if only your spouse paid in."]],"id":"deductions_credits.traditional_ira_contribution","includes_united_states":false,"kind":"money","label":"How much did you pay into a traditional IRA for this year?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"}},{"binds":"spouse_traditional_ira_contribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their IRA provider's Form 5498 or their own statements show it. Count money paid in for this tax year by its April due date, even if they took some back out. Enter 0 if your spouse paid nothing in. Leave out money rolled over from another IRA or a plan. Count a Roth IRA contribution for this year that was moved to a traditional IRA. We ask about it next. Leave out any part moved to a Roth IRA, which counts as paid into a Roth IRA.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_contribution","includes_united_states":false,"kind":"money","label":"How much did your spouse pay into a traditional IRA for this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"roth_conversion_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 1099-R for the conversion shows what was paid out of the traditional, SEP or SIMPLE IRA. Count the amount moved, not what it earned later in the Roth IRA.","help_lines":["Enter that Form 1099-R with your other retirement payments, with its IRA box checked."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"Enter 0 if only your spouse converted."]],"id":"deductions_credits.roth_conversion_amount","includes_united_states":false,"kind":"money","label":"How much did you convert to a Roth IRA during the year?","label_when":[],"options":[],"placeholder":"6000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"}},{"binds":"spouse_roth_conversion_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 1099-R for the conversion shows what was paid out of their traditional, SEP or SIMPLE IRA. Count the amount moved, not what it earned later in the Roth IRA. Enter 0 if your spouse converted nothing.","help_lines":["Enter that Form 1099-R with your other retirement payments, with its IRA box checked."],"help_when":[],"id":"deductions_credits.spouse_roth_conversion_amount","includes_united_states":false,"kind":"money","label":"How much did your spouse convert to a Roth IRA during the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"traditional_ira_recharacterized_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter 0 if none was moved. Moving this year's contribution from one kind of IRA to the other by the due date is called recharacterizing it, and your provider's statement shows it. It then counts as paid into the traditional IRA from the start, so it is already in your traditional IRA amount. Enter the contribution moved, not what it earned.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_recharacterized_in","includes_united_states":false,"kind":"money","label":"How much of your traditional IRA payment was moved from a Roth IRA?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]}},{"binds":"spouse_traditional_ira_recharacterized_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter 0 if none was moved. Their provider's statement shows a contribution moved between the two kinds of IRA. Enter the contribution moved, not what it earned.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_recharacterized_in","includes_united_states":false,"kind":"money","label":"How much of your spouse's traditional IRA payment was moved from a Roth IRA?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]}},{"binds":"traditional_ira_recharacterized_paid_in_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your provider's statement. We put it in the statement your return needs.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_recharacterized_paid_in_on","includes_united_states":false,"kind":"date","label":"When did you first pay that contribution into the Roth IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.traditional_ira_recharacterized_in","value":0}]}},{"binds":"traditional_ira_recharacterized_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date of the transfer between the two IRAs on your provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_recharacterized_on","includes_united_states":false,"kind":"date","label":"When was your contribution moved into the traditional IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.traditional_ira_recharacterized_in","value":0}]}},{"binds":"traditional_ira_recharacterized_transferred","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your provider's statement shows the total it moved from the Roth IRA for this contribution: the contribution plus what it earned, or less what it lost.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_recharacterized_transferred","includes_united_states":false,"kind":"money","label":"How much moved over for you in all, with any gain or loss?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.traditional_ira_recharacterized_in","value":0}]}},{"binds":"spouse_traditional_ira_recharacterized_paid_in_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on their provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_recharacterized_paid_in_on","includes_united_states":false,"kind":"date","label":"When did your spouse first pay that contribution into the Roth IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_recharacterized_in","value":0}]}},{"binds":"spouse_traditional_ira_recharacterized_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date of the transfer between the two IRAs on their provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_recharacterized_on","includes_united_states":false,"kind":"date","label":"When was your spouse's contribution moved into the traditional IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_recharacterized_in","value":0}]}},{"binds":"spouse_traditional_ira_recharacterized_transferred","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their provider's statement shows the total it moved from the Roth IRA for this contribution: the contribution plus what it earned, or less what it lost.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_recharacterized_transferred","includes_united_states":false,"kind":"money","label":"How much moved over for your spouse in all, with any gain or loss?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_recharacterized_in","value":0}]}},{"binds":"traditional_ira_returned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter 0 if none came back. Enter the contribution taken back, not what it earned or lost; we ask what was paid out next. Your provider's statement shows it. Money taken back with what it earned by the due date of this return, including an extension, counts as never paid in.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_returned","includes_united_states":false,"kind":"money","label":"How much of your traditional IRA contribution came back by the due date?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]}},{"binds":"spouse_traditional_ira_returned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter 0 if none came back. Enter the contribution taken back, not what it earned or lost. Their provider's statement shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_returned","includes_united_states":false,"kind":"money","label":"How much of your spouse's traditional IRA contribution came back by the due date?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]}},{"binds":"traditional_ira_returned_paid_out","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the provider's Form 1099-R for it, or the provider's statement, shows the total paid out. The part above the contribution is taxed as income; a loss is not.","help_lines":["If it came back in the same year, do not also enter the provider's Form 1099-R for it. We report it here."],"help_when":[],"id":"deductions_credits.traditional_ira_returned_paid_out","includes_united_states":false,"kind":"money","label":"What did your provider pay out for it, with any gain or loss?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.traditional_ira_returned","value":0}]}},{"binds":"traditional_ira_returned_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your provider's statement. Earnings taken out before you were 59 and a half are reported as an early payment, with no extra tax.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_returned_on","includes_united_states":false,"kind":"date","label":"When did that traditional IRA money come back out to you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.traditional_ira_returned","value":0}]}},{"binds":"spouse_traditional_ira_returned_paid_out","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the provider's Form 1099-R for it, or the provider's statement, shows the total paid out. The part above the contribution is taxed as income; a loss is not.","help_lines":["If it came back in the same year, do not also enter the provider's Form 1099-R for it. We report it here."],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_returned_paid_out","includes_united_states":false,"kind":"money","label":"What did your spouse's provider pay out for it, with any gain or loss?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_returned","value":0}]}},{"binds":"spouse_traditional_ira_returned_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on their provider's statement. Earnings taken out before your spouse was 59 and a half are reported as an early payment, with no extra tax.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_returned_on","includes_united_states":false,"kind":"date","label":"When did your spouse's traditional IRA money come back out?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_returned","value":0}]}},{"binds":"traditional_ira_paid_after_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what you paid in for this tax year from January 1 up to its April due date. Your IRA provider's statements show the date of each payment. Enter 0 if you paid it all in during the year.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_paid_after_year_end","includes_united_states":false,"kind":"money","label":"How much of your traditional IRA payment did you make after the year ended?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]}},{"binds":"spouse_traditional_ira_paid_after_year_end","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count what your spouse paid in for this tax year from January 1 up to its April due date. Their IRA provider's statements show the date of each payment. Enter 0 if they paid it all in during the year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_paid_after_year_end","includes_united_states":false,"kind":"money","label":"How much of your spouse's traditional IRA payment was made after the year ended?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]}},{"binds":"traditional_ira_nondeductible_paid_in_year_first","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If only part of the contribution can be deducted, the Form 8606 instructions allow a choice of which payments count first as the part not deducted: those during the year, or those after the year ended. Money not deducted that was paid in during the year counts toward the untaxed share of this year's IRA payments and conversions. Money paid in after the year ended counts only from next year.","help_lines":["Yes: the payments during the year count first as the part not deducted.","No: the payments after the year ended count first as the part not deducted.","The deduction is the same either way. The answer changes how much of this year's IRA payments and conversions is taxed now, and how much untaxed money is carried to later years."],"help_when":[],"id":"deductions_credits.traditional_ira_nondeductible_paid_in_year_first","includes_united_states":false,"kind":"yesno","label":"Do you treat your payments during the year as the undeducted part first?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.traditional_ira_paid_after_year_end","value":0},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value_ref":"deductions_credits.traditional_ira_paid_after_year_end"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H","Q","R"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H","Q","R"]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"},{"op":"gt","ref":"deductions_credits.roth_conversion_amount","value":0}]}]}]}]}},{"binds":"spouse_traditional_ira_nondeductible_paid_in_year_first","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If only part of the contribution can be deducted, the Form 8606 instructions allow a choice of which payments count first as the part not deducted: those during the year, or those after the year ended. Money not deducted that was paid in during the year counts toward the untaxed share of this year's IRA payments and conversions. Money paid in after the year ended counts only from next year.","help_lines":["Yes: the payments during the year count first as the part not deducted.","No: the payments after the year ended count first as the part not deducted.","The deduction is the same either way. The answer changes how much of this year's IRA payments and conversions is taxed now, and how much untaxed money is carried to later years."],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_nondeductible_paid_in_year_first","includes_united_states":false,"kind":"yesno","label":"Does your spouse treat their payments during the year as the undeducted part first?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_paid_after_year_end","value":0},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value_ref":"deductions_credits.spouse_traditional_ira_paid_after_year_end"},{"op":"or","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["G","H","Q","R"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["G","H","Q","R"]}]}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"},{"op":"gt","ref":"deductions_credits.spouse_roth_conversion_amount","value":0}]}]}]}]}},{"binds":"traditional_ira_basis_before_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 14 of your last Form 8606 shows it. Count every traditional, SEP and SIMPLE IRA you own, for earlier years only. Enter 0 if you never paid in without a deduction.","help_lines":[],"help_when":[],"id":"deductions_credits.traditional_ira_basis_before_year","includes_united_states":false,"kind":"money","label":"How much of your earlier traditional IRA money was never deducted?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_basis"},{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"}]}},{"binds":"spouse_traditional_ira_basis_before_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 14 of your spouse's last Form 8606 shows it. Count every traditional, SEP and SIMPLE IRA they own, for earlier years only. Enter 0 if your spouse never paid in without a deduction.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_traditional_ira_basis_before_year","includes_united_states":false,"kind":"money","label":"How much of your spouse's earlier traditional IRA money was never deducted?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_basis"},{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"}]}]}},{"binds":"traditional_ira_year_end_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your providers' year-end statements show each one's value; add them up. Add any money taken out late in the year that you rolled into an IRA after December 31, within 60 days. Enter 0 if they were empty.","help_lines":["Give the values your statements show: we adjust for a contribution moved between IRAs after December 31 that you told us about."],"help_when":[[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]},"We also need it because a payment from your Roth IRA went to a charity."]],"id":"deductions_credits.traditional_ira_year_end_value","includes_united_states":false,"kind":"money","label":"What were all your traditional, SEP and SIMPLE IRAs worth on December 31?","label_when":[],"options":[],"placeholder":"25000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_basis"},{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}},{"binds":"spouse_traditional_ira_year_end_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their providers' year-end statements show each one's value; add them up. Add any money taken out late in the year that your spouse rolled into an IRA after December 31, within 60 days. Enter 0 if they were empty.","help_lines":["Give the values your statements show: we adjust for a contribution moved between IRAs after December 31 that you told us about."],"help_when":[[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]},"We also need it because a payment from your spouse's Roth IRA went to a charity."]],"id":"deductions_credits.spouse_traditional_ira_year_end_value","includes_united_states":false,"kind":"money","label":"What were all your spouse's traditional, SEP and SIMPLE IRAs worth on December 31?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_basis"},{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_conversion"},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"covered_by_plan_without_w2","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's yearly statement or your employer's pay office can tell you. Say yes if you were an active member of one of these at any time during the year. Choose Not sure if you cannot tell: where a deduction or credit on your return needs the answer, the return cannot be filed from here until you answer yes or no.","help_lines":["A 401(k) or other plan that qualifies under US rules, or a 403(b) plan.","A plan of the US federal government, a state or a local government.","A SEP or a SIMPLE IRA plan.","A pension plan run under another country's rules does not count, unless a tax treaty treats it as one of these. For example, a Canadian plan whose contributions you leave out of US income under the Canada treaty counts.","Social security, of the United States or another country, does not count."],"help_when":[],"id":"deductions_credits.covered_by_plan_without_w2","includes_united_states":false,"kind":"yesno","label":"Through an employer abroad, were you in a US-type retirement plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]}]},{"op":"truthy","ref":"income_sources.has_wages"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"}]}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.retirement_plan"}]}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.retirement_plan"},{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"}]}]}]}]}]}},{"binds":"spouse_covered_by_plan_without_w2","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their plan's yearly statement or their employer's pay office can tell you. Say yes if your spouse was an active member of one of these at any time during the year. On a joint return their plan changes your deduction too. Choose Not sure if you cannot tell: where a deduction or credit on your return needs the answer, the return cannot be filed from here until you answer yes or no.","help_lines":["A 401(k) or other plan that qualifies under US rules, or a 403(b) plan.","A plan of the US federal government, a state or a local government.","A SEP or a SIMPLE IRA plan.","A pension plan run under another country's rules does not count, unless a tax treaty treats it as one of these. For example, a Canadian plan whose contributions your spouse leaves out of US income under the Canada treaty counts.","Social security, of the United States or another country, does not count."],"help_when":[],"id":"deductions_credits.spouse_covered_by_plan_without_w2","includes_united_states":false,"kind":"yesno","label":"Through an employer abroad, was your spouse in a US-type retirement plan?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]}]},{"op":"truthy","ref":"income_sources.has_wages"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.is_foreign_employer"},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.wages.retirement_plan"},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]}]}]}]}]}},{"binds":"mfs_spouse_covered_by_retirement_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 13 of their Form W-2 shows it, or their plan's yearly statement. On a separate return you count as covered when your spouse was, unless you lived apart all year, so the answer changes your deduction. Choose Not sure if you cannot tell: where a deduction or credit on your return needs the answer, the return cannot be filed from here until you answer yes or no.","help_lines":["A 401(k) or other plan that qualifies under US rules, or a 403(b) plan.","A plan of the US federal government, a state or a local government.","A SEP or a SIMPLE IRA plan.","A pension plan run under another country's rules does not count, unless a tax treaty treats it as one of these. For example, a Canadian plan whose contributions your spouse leaves out of US income under the Canada treaty counts.","Social security, of the United States or another country, does not count."],"help_when":[],"id":"deductions_credits.mfs_spouse_covered_by_retirement_plan","includes_united_states":false,"kind":"yesno","label":"Was your spouse in a retirement plan at work during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"or","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]}]},{"op":"not","rules":[{"op":"truthy","ref":"household.lived_apart_from_spouse_entire_year"}]}]}},{"binds":"roth_ira_contribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Roth IRA provider's Form 5498 or your own statements show it. Count money paid in for this tax year by its April due date, even if you took some back out. Include only what you paid straight into the Roth IRA: leave out a Roth IRA contribution you later moved to a traditional IRA, and money moved in from another IRA or a plan. We ask next about a traditional IRA contribution moved over.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.roth_ira_limit","value":0},"Your limit is the smaller of {context.roth_ira_limit} and your pay for work for the year, or the pay of you both on a joint return if yours is less. Pensions, investment income and pay you leave out as earned abroad do not count."],[{"op":"and","rules":[{"op":"gt","ref":"context.roth_income_limit_joint","value":0},{"op":"gt","ref":"context.roth_income_limit_others","value":0},{"op":"gt","ref":"context.return_year","value":0}]},"The limit is lower, or nothing, once your income for the Roth IRA test passes a set amount. That amount is {context.roth_income_limit_joint} on a joint return or as a qualifying surviving spouse. It is {context.roth_income_limit_others} if you file single, as head of household, or separately and did not live with your spouse at any time in {context.return_year}. It is $0 if you file separately and lived with your spouse at any time in {context.return_year}."],[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"Enter 0 if only your spouse paid in."]],"id":"deductions_credits.roth_ira_contribution","includes_united_states":false,"kind":"money","label":"How much did you pay into a Roth IRA for this year?","label_when":[],"options":[],"placeholder":"6500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"}},{"binds":"spouse_roth_ira_contribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their Roth IRA provider's Form 5498 or their own statements show it. Count money paid in for this tax year by its April due date, even if they took some back out. Enter 0 if your spouse paid nothing in. Include only what your spouse paid straight into the Roth IRA: leave out a Roth IRA contribution they later moved to a traditional IRA, and money moved in from another IRA or a plan. We ask next about a traditional IRA contribution moved over.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.roth_ira_limit","value":0},"Your spouse's limit is the smaller of {context.roth_ira_limit} and their pay for work for the year, or the pay of you both if theirs is less. Pensions, investment income and pay left out as earned abroad do not count."],[{"op":"and","rules":[{"op":"gt","ref":"context.roth_income_limit_joint","value":0},{"op":"gt","ref":"context.roth_income_limit_others","value":0},{"op":"gt","ref":"context.return_year","value":0}]},"The limit is lower, or nothing, once your income for the Roth IRA test passes a set amount. That amount is {context.roth_income_limit_joint} on a joint return or as a qualifying surviving spouse. It is {context.roth_income_limit_others} if you file single, as head of household, or separately and did not live with your spouse at any time in {context.return_year}. It is $0 if you file separately and lived with your spouse at any time in {context.return_year}."]],"id":"deductions_credits.spouse_roth_ira_contribution","includes_united_states":false,"kind":"money","label":"How much did your spouse pay into a Roth IRA for this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"roth_ira_recharacterized_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter 0 if none was moved. Moving a contribution from one kind of IRA to the other by the due date is called recharacterizing it, and your provider's statement shows it. It then counts as paid into the Roth IRA from the start. Enter the contribution moved, not what it earned.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_ira_recharacterized_in","includes_united_states":false,"kind":"money","label":"How much of your traditional IRA contribution did you move into a Roth IRA?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"}},{"binds":"spouse_roth_ira_recharacterized_in","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their provider's statement shows it. Enter 0 if none was moved. Enter the contribution for this year that was moved, not what it earned.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_ira_recharacterized_in","includes_united_states":false,"kind":"money","label":"How much of your spouse's traditional IRA contribution moved into a Roth IRA?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"roth_ira_recharacterized_paid_in_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your provider's statement. We put it in the statement your return needs.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_ira_recharacterized_paid_in_on","includes_united_states":false,"kind":"date","label":"When did you first pay it into the traditional IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}},{"binds":"roth_ira_recharacterized_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date of the transfer on your provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_ira_recharacterized_on","includes_united_states":false,"kind":"date","label":"When did you move it into the Roth IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}},{"binds":"roth_ira_recharacterized_transferred","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your provider's statement shows it. Include what it earned, or take off what it lost.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_ira_recharacterized_transferred","includes_united_states":false,"kind":"money","label":"How much did your provider move in all for that contribution?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}},{"binds":"spouse_roth_ira_recharacterized_paid_in_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on their provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_ira_recharacterized_paid_in_on","includes_united_states":false,"kind":"date","label":"When was your spouse's contribution first paid into the traditional IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}},{"binds":"spouse_roth_ira_recharacterized_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date of the transfer on their provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_ira_recharacterized_on","includes_united_states":false,"kind":"date","label":"When was your spouse's contribution moved into the Roth IRA?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}},{"binds":"spouse_roth_ira_recharacterized_transferred","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their provider's statement shows it. Include what it earned, or take off what it lost.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_ira_recharacterized_transferred","includes_united_states":false,"kind":"money","label":"How much did your spouse's provider move in all for that contribution?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}},{"binds":"roth_ira_returned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your provider's statement shows it. Enter 0 if none came back. Enter the contribution taken back, not what it earned or lost. We ask next what was paid out. Money taken back with what it earned by the due date of this return, including an extension, counts as never paid in.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_ira_returned","includes_united_states":false,"kind":"money","label":"How much of your contribution, not its earnings, came back by the due date?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}]}},{"binds":"spouse_roth_ira_returned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their provider's statement shows it. Enter 0 if none came back. Enter the contribution taken back, not what it earned or lost.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_ira_returned","includes_united_states":false,"kind":"money","label":"How much of your spouse's contribution, not earnings, came back by the due date?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.spouse_roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}]}},{"binds":"roth_ira_returned_paid_out","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the provider's Form 1099-R for it, or the provider's statement, shows the total paid out. Include what it earned, or take off what it lost. The part above the contribution is taxed as income; a loss is not.","help_lines":["If it came back in the same year, do not also enter the provider's Form 1099-R for it. We report it here."],"help_when":[],"id":"deductions_credits.roth_ira_returned_paid_out","includes_united_states":false,"kind":"money","label":"How much did your provider pay out for that contribution in all?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}]},{"op":"gt","ref":"deductions_credits.roth_ira_returned","value":0}]}},{"binds":"roth_ira_returned_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your provider's statement. Earnings taken out before you were 59 and a half are reported as an early payment, with no extra tax.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_ira_returned_on","includes_united_states":false,"kind":"date","label":"When did it come back out to you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}]},{"op":"gt","ref":"deductions_credits.roth_ira_returned","value":0}]}},{"binds":"spouse_roth_ira_returned_paid_out","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of the provider's Form 1099-R for it, or the provider's statement, shows the total paid out. Include what it earned, or take off what it lost.","help_lines":["If it came back in the same year, do not also enter the provider's Form 1099-R for it. We report it here."],"help_when":[],"id":"deductions_credits.spouse_roth_ira_returned_paid_out","includes_united_states":false,"kind":"money","label":"How much did your spouse's provider pay out for that contribution in all?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.spouse_roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}]},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_returned","value":0}]}},{"binds":"spouse_roth_ira_returned_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on their provider's statement.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_ira_returned_on","includes_united_states":false,"kind":"date","label":"When did your spouse's money come back out?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.spouse_roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}]},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_returned","value":0}]}},{"binds":"roth_stipend_compensation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your award letter says what the payment is for. Enter 0 if none of yours was. A scholarship or fellowship payment for graduate or postdoctoral study, other than for tuition, counts as pay for work for the IRA limits. Money for tuition or for study before a graduate degree does not.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_stipend_compensation","includes_united_states":false,"kind":"money","label":"How much of your scholarship income was a graduate study stipend, not tuition?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.traditional_ira_contribution","value":0}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.traditional_ira_prior_excess","value":0}]}]}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.kind","value":"8r"}]}]}},{"binds":"spouse_roth_stipend_compensation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their award letter says what the payment is for. Enter 0 if none of theirs was. Count a payment for graduate or postdoctoral study, other than for tuition.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_stipend_compensation","includes_united_states":false,"kind":"money","label":"How much of your spouse's scholarship income was a graduate study stipend?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.spouse_roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.traditional_ira_contribution"},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_contribution","value":0}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.spouse_traditional_ira_prior_excess","value":0}]}]}]}]},{"op":"any_row","ref":"income_sources.other_income","rules":[{"op":"eq","ref":"income_sources.other_income.kind","value":"8r"}]}]}},{"binds":"roth_ira_year_end_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only needed if more than your limit went in; we tell you if it is. Your providers' year-end statements show it: add up every Roth IRA you own on December 31, plus money paid in after the year ended that counts for that year.","help_lines":[],"help_when":[[{"op":"gt","ref":"deductions_credits.health_savings_account.funding_distribution_roth_part","value":0},"We also need it because money moved from a Roth IRA into your HSA."],[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]},"We also need it because a payment from your Roth IRA went to a charity."]],"id":"deductions_credits.roth_ira_year_end_value","includes_united_states":false,"kind":"money","label":"What were your Roth IRAs worth at the end of the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.traditional_ira.finish_forms_8606","required_when":{"op":"gt","ref":"deductions_credits.health_savings_account.funding_distribution_roth_part","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.roth_ira_recharacterized_in","value":0}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"gt","ref":"deductions_credits.roth_ira_prior_excess","value":0}]},{"op":"gt","ref":"deductions_credits.health_savings_account.funding_distribution_roth_part","value":0},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}},{"binds":"spouse_roth_ira_year_end_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only needed if more than their limit went in; we tell you if it is. Their providers' year-end statements show it: add up every Roth IRA your spouse owns on December 31, plus money paid in after the year ended that counts for that year.","help_lines":[],"help_when":[[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_roth_part","value":0},"We also need it because money moved from a Roth IRA into your spouse's HSA."],[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]},"We also need it because a payment from your spouse's Roth IRA went to a charity."]],"id":"deductions_credits.spouse_roth_ira_year_end_value","includes_united_states":false,"kind":"money","label":"What were your spouse's Roth IRAs worth at the end of the year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.traditional_ira.finish_forms_8606","required_when":{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_roth_part","value":0},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.roth_ira_with_excluded_pay"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.spouse_roth_ira_contribution","value":0},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_recharacterized_in","value":0}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.ira_excess_from_earlier_year"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"gt","ref":"deductions_credits.spouse_roth_ira_prior_excess","value":0}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_roth_part","value":0},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.gave_to_charity"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"income_sources.retirement_distributions.gave_to_charity"}]},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"Y"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"Y"}]}]}]},{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","T"]}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}},{"binds":"roth_contribution_basis_before_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Roth IRA statements and Forms 5498 show each year's contributions. Count regular contributions only. Leave out conversions, rollovers and money you took back by the due date. Take off any of it you took out before this year. Enter 0 if you made none.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_contribution_basis_before_year","includes_united_states":false,"kind":"money","label":"How much did you contribute to Roth IRAs before this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","value":false}]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","value":false}]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"roth_conversion_basis_before_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of each earlier Form 8606 shows a conversion. Your earlier Form 1040 shows plan money rolled into a Roth IRA. Take off any of it you took out before this year. We count this year's from your other answers. Enter 0 if you never converted or rolled money in.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_conversion_basis_before_year","includes_united_states":false,"kind":"money","label":"How much did you convert or roll into Roth IRAs before this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","value":false}]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","value":false}]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"spouse_roth_contribution_basis_before_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their Roth IRA statements and Forms 5498 show each year's contributions. Count regular contributions only: leave out conversions, rollovers and money they took back by the due date, and take off any of it taken out before this year. Enter 0 if they made none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_contribution_basis_before_year","includes_united_states":false,"kind":"money","label":"How much did your spouse contribute to Roth IRAs before this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","value":false}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"spouse_roth_conversion_basis_before_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of each earlier Form 8606 of theirs shows a conversion. Their earlier Form 1040 shows plan money rolled into a Roth IRA. Take off any of it taken out before this year. We count this year's from your other answers. Enter 0 if they never converted or rolled money in.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_conversion_basis_before_year","includes_united_states":false,"kind":"money","label":"How much did your spouse convert or roll into Roth IRAs before this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["T"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["T"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier","value":false}]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"roth_converted_in_four_years_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of your Form 8606 for those years, or your Form 1040, shows it. Money taken out early within five years of a conversion or rollover can carry an extra tax, so the answer counts.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_in_four_years_before","includes_united_states":false,"kind":"yesno","label":"Did you convert or roll money into Roth IRAs in {context.return_year_less_4} to {context.return_year_less_1}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"spouse_roth_converted_in_four_years_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of their Form 8606 for those years, or their Form 1040, shows it. Money taken out early within five years of a conversion or rollover can carry an extra tax, so the answer counts.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_in_four_years_before","includes_united_states":false,"kind":"yesno","label":"Did your spouse convert or roll money into Roth IRAs in {context.return_year_less_4} to {context.return_year_less_1}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"roth_converted_4_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of your {context.return_year_less_4} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_4} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_4_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_4} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_4_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of your {context.return_year_less_4} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_4} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_4_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_4} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_3_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of your {context.return_year_less_3} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_3} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_3_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_3} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_3_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of your {context.return_year_less_3} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_3} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_3_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_3} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_2_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of your {context.return_year_less_2} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_2} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_2_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_2} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_2_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of your {context.return_year_less_2} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_2} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_2_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_2} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_1_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of your {context.return_year_less_1} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_1} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_1_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_1} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"roth_converted_1_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of your {context.return_year_less_1} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_1} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if you made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_converted_1_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your {context.return_year_less_1} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_4_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of their {context.return_year_less_4} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_4} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_4_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_4} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_4_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of their {context.return_year_less_4} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_4} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_4_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_4} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_3_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of their {context.return_year_less_3} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_3} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_3_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_3} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_3_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of their {context.return_year_less_3} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_3} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_3_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_3} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_2_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of their {context.return_year_less_2} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_2} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_2_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_2} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_2_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of their {context.return_year_less_2} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_2} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_2_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_2} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_1_years_before_taxable","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 18 of their {context.return_year_less_1} Form 8606 shows the taxed part of a conversion. The {context.return_year_less_1} Form 1040 shows the taxed part of plan money rolled into a Roth IRA. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_1_years_before_taxable","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_1} Roth IRA conversions and rollovers was taxed then?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"spouse_roth_converted_1_years_before_untaxed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 17 of their {context.return_year_less_1} Form 8606 shows the part of a conversion that was not taxed. The {context.return_year_less_1} Form 1040 shows the untaxed part of plan money rolled in. Leave out any part already taken out of the Roth IRA before this year. Enter 0 if they made none that year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_converted_1_years_before_untaxed","includes_united_states":false,"kind":"money","label":"How much of your spouse's {context.return_year_less_1} Roth IRA conversions and rollovers was not taxed?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]},{"op":"truthy","ref":"deductions_credits.spouse_roth_converted_in_four_years_before"}]}},{"binds":"roth_first_home_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your closing statement and receipts show it. Count the cost of buying, building or rebuilding the home, with the usual settlement, financing and closing costs, paid within 120 days after the Roth IRA payment was received. Enter 0 if none was.","help_lines":["The home has to be the main home of a first-time buyer: you, your spouse, or a child, grandchild, parent or other ancestor of either of you, who owned no main home in the two years before."],"help_when":[],"id":"deductions_credits.roth_first_home_expenses","includes_united_states":false,"kind":"money","label":"How much of your Roth IRA payment paid first-home buying costs?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"roth_prior_first_home_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Forms 5329 and 8606 show money taken out of any IRA for a first home. All of it counts against one lifetime limit. Enter 0 if none was.","help_lines":[],"help_when":[],"id":"deductions_credits.roth_prior_first_home_distributions","includes_united_states":false,"kind":"money","label":"What have you taken from IRAs for first homes in past years?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","1","S"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","1","S"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","1","S"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","1","S"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"spouse_roth_first_home_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their closing statement and receipts show it. Count the cost of buying, building or rebuilding the home, with the usual settlement, financing and closing costs, paid within 120 days after the Roth IRA payment was received. Enter 0 if none was.","help_lines":["The home has to be the main home of a first-time buyer: you, your spouse, or a child, grandchild, parent or other ancestor of either of you, who owned no main home in the two years before."],"help_when":[],"id":"deductions_credits.spouse_roth_first_home_expenses","includes_united_states":false,"kind":"money","label":"How much of your spouse's Roth IRA payment paid first-home buying costs?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"spouse_roth_prior_first_home_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their earlier Forms 5329 and 8606 show money taken out of any IRA for a first home. All of it counts against one lifetime limit. Enter 0 if none was.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_roth_prior_first_home_distributions","includes_united_states":false,"kind":"money","label":"What has your spouse taken from IRAs for first homes in past years?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"in","ref":"income_sources.retirement_distributions.distribution_code","values":["J","1","S"]},{"op":"in","ref":"income_sources.retirement_distributions.distribution_code_2","values":["J","1","S"]}]},{"op":"eq","ref":"income_sources.retirement_distributions.exception_code","value":"09"}]},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}},{"binds":"health_savings_account_holders","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each HSA belongs to one person, and the account's statements name them. Choose both if you each have one.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account_holders","includes_united_states":false,"kind":"choice","label":"Whose health savings account is on your return?","label_when":[],"options":[{"label":"Mine.","value":"taxpayer"},{"label":"My spouse's.","value":"spouse"},{"label":"We each have one.","value":"both"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"hsa_spouse_has_own_account","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Spouses share the family limit even on separate returns, so their account's statements matter here.","help_lines":[],"help_when":[],"id":"deductions_credits.hsa_spouse_has_own_account","includes_united_states":false,"kind":"yesno","label":"Does your spouse have a health savings account of their own?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}},{"binds":"health_savings_account.coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's papers say whether it is a high-deductible plan.","help_lines":["Count a month only if, on its first day, you had that plan and no other health coverage, had no Medicare and could not be claimed as someone's dependent.","Coverage from a national health service abroad counts as other coverage.","Family coverage covers at least one more person.","If you are married, count a month as family when either of you had a family high-deductible plan."],"help_when":[],"id":"deductions_credits.health_savings_account.coverage","includes_united_states":false,"kind":"choice","label":"How were you covered by a high-deductible health plan this year?","label_when":[],"options":[{"label":"Self-only coverage for all of the year.","value":"self_only"},{"label":"Family coverage for all of the year.","value":"family"},{"label":"It changed during the year, or I was not covered all year.","value":"changed"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.months_self_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statements show the months. Count a month if, on its first day, the coverage was self-only and every condition above held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.months_self_only","includes_united_states":false,"kind":"integer","label":"In how many months were you covered with self-only coverage?","label_when":[],"options":[],"placeholder":"6","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]}},{"binds":"health_savings_account.months_family","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statements show the months. Count a month if, on its first day, the coverage was family coverage and every condition above held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.months_family","includes_united_states":false,"kind":"integer","label":"In how many months were you covered with family coverage?","label_when":[],"options":[],"placeholder":"6","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]}},{"binds":"health_savings_account.december_coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statement for December shows it. Coverage on December 1 can raise the limit for the whole year, as long as it lasts through next year too.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.december_coverage","includes_united_states":false,"kind":"choice","label":"How were you covered on December 1?","label_when":[],"options":[{"label":"Self-only coverage.","value":"self_only"},{"label":"Family coverage.","value":"family"},{"label":"I was not covered by a qualifying plan on December 1.","value":"none"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"eq","ref":"deductions_credits.health_savings_account.coverage","value":"changed"}]}},{"binds":"health_savings_account.contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your HSA's Form 5498-SA or statements show it. Count money paid in for this year up to April 15 of next year, by you or anyone but an employer. Leave out money taken from pay before tax (that counts as an employer's), rollovers and money moved from an IRA. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.contributions","includes_united_states":false,"kind":"money","label":"How much went into your HSA for this year, not from an employer?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.employer_other_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code W in box 12 of your Form W-2 is an employer's payment into the HSA. Check this if it includes money for last year, or if the employer paid in for this year after the year ended.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.employer_other_year","includes_united_states":false,"kind":"yesno","label":"Does your Form W-2 code W hold money for another year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.lost_eligibility_after_last_month_rule","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 8889 shows it. If coverage on December 1 of last year raised the limit for that whole year, and it then ended before this year was over, part of last year's money is taxed now. Leave this unchecked if it ended because of a disability.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule","includes_united_states":false,"kind":"yesno","label":"Did you lose HSA coverage this year after counting on last December's?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.funding_distribution_from_ira","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA's Form 1099-R and the HSA's statement show such a move. A SEP or SIMPLE IRA still getting employer money cannot make one.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.funding_distribution_from_ira","includes_united_states":false,"kind":"yesno","label":"Was money moved from an IRA straight into your HSA this year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.lost_eligibility_after_funding_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count a move from an IRA into the HSA in an earlier year or this one, when the coverage then ended within 12 months for a reason other than a disability.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.lost_eligibility_after_funding_distribution","includes_united_states":false,"kind":"yesno","label":"Did you lose HSA coverage within a year of an IRA move?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.inherited_from_non_spouse","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The HSA's papers after the death show it. An HSA from a spouse counts as your own.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.inherited_from_non_spouse","includes_united_states":false,"kind":"yesno","label":"Did you inherit an HSA from someone other than a spouse?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.deemed_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pledged means used as security for a loan. The rules treat either one as money taken out of the account. Your HSA's trustee or a tax advisor can tell you if a deal was one the rules forbid.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.deemed_distribution","includes_united_states":false,"kind":"yesno","label":"Was your HSA pledged for a loan or used in a forbidden deal?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.excess_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 5329 line 48, or your HSA's letter about an excess, shows it. Check it too if you took an excess back out this year.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.excess_contributions","includes_united_states":false,"kind":"yesno","label":"Did more go into your HSA than the limit, now or last year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.employer_prior_year_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your employer or the HSA's statements say which year each payment was for. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.employer_prior_year_part","includes_united_states":false,"kind":"money","label":"How much of your code W amount was for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.employer_other_year"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.employer_other_year"}]}},{"binds":"health_savings_account.employer_paid_after_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The HSA's statements for the first months of next year show it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.employer_paid_after_year","includes_united_states":false,"kind":"money","label":"How much did your employer pay in for this year after it ended?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.employer_other_year"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.employer_other_year"}]}},{"binds":"health_savings_account.distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of each Form 1099-SA shows it. Enter 0 if nothing came out.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.distributions","includes_united_states":false,"kind":"money","label":"How much came out of your HSAs this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]}},{"binds":"health_savings_account.rolled_over_or_excess_withdrawn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your HSA's statements show a rollover into another HSA within 60 days, or an excess contribution taken back before your return's due date. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.rolled_over_or_excess_withdrawn","includes_united_states":false,"kind":"money","label":"How much of your HSA payout was rolled over or taken back?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0}]}},{"binds":"health_savings_account.qualified_medical_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your receipts show the costs. Count medical care for you, your spouse or your dependents that was not paid back by insurance and arose after the HSA was opened. Leave out an excess taken back after the due date.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.qualified_medical_expenses","includes_united_states":false,"kind":"money","label":"How much of your HSA payout paid for medical costs?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0}]}},{"binds":"health_savings_account.taxed_part_after_disability_or_65","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your HSA's statements give the dates. That part of the money not spent on medical costs has no extra 20% tax. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.taxed_part_after_disability_or_65","includes_united_states":false,"kind":"money","label":"How much of the rest came out after your disability or 65th birthday?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0},{"op":"not","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":66}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.health_savings_account.distributions","value":0},{"op":"not","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":66}]}]}]}]}]}},{"binds":"health_savings_account.funding_distribution_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA's Form 1099-R and the HSA's statement show it. It comes off your IRA payout's taxed amount.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.funding_distribution_amount","includes_united_states":false,"kind":"money","label":"How much was moved from an IRA into your HSA this year?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]}},{"binds":"health_savings_account.funding_distribution_earlier_move","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only one move like this can stay out of income in a lifetime. A second move this year after changing to family coverage does not count as earlier.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.funding_distribution_earlier_move","includes_united_states":false,"kind":"yesno","label":"Did you make a move like this in an earlier year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]}},{"binds":"health_savings_account.funding_distribution_from_ongoing_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A SEP IRA or SIMPLE IRA is one an employer sets up. Answer yes if the employer paid into it for a plan year ending in {context.return_year}. Answer no for a traditional or Roth IRA.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","includes_united_states":false,"kind":"yesno","label":"Was your move from a SEP or SIMPLE IRA an employer paid into?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"}]}},{"binds":"health_savings_account.funding_distribution_early_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of each IRA Form 1099-R shows the code. Code 1 means taken early, and money moved to the HSA has no extra tax for that. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.funding_distribution_early_part","includes_united_states":false,"kind":"money","label":"How much of your move came from a payout with code 1?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]}]}]}]}]}},{"binds":"health_savings_account.funding_distribution_roth_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA's Form 1099-R and the HSA's statement show which account it left. Enter 0 if it all came from a traditional, SEP or SIMPLE IRA.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.funding_distribution_roth_part","includes_united_states":false,"kind":"money","label":"How much of that move came from your Roth IRA?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"T"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"T"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"T"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"T"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier"}]}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}},{"binds":"health_savings_account.failed_funding_distribution_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your IRA's Form 1099-R and the HSA's statement for that year show it.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.failed_funding_distribution_amount","includes_united_states":false,"kind":"money","label":"How much did you move from the IRA in that move?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_funding_distribution"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_funding_distribution"}]}},{"binds":"health_savings_account.inherited_value_at_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of the Form 1099-SA for the inherited HSA, or the account's statement, shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.inherited_value_at_death","includes_united_states":false,"kind":"money","label":"What was the HSA you inherited worth on the day of the death?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]}},{"binds":"health_savings_account.inherited_decedent_expenses_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your receipts show them. Count medical costs of the person who died that arose before the death and that you paid within one year after it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.inherited_decedent_expenses_paid","includes_united_states":false,"kind":"money","label":"How much of their medical costs did you pay within a year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]}},{"binds":"health_savings_account.inherited_earnings_after_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The account's statements show earnings from the day after the death until it was paid out. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.inherited_earnings_after_death","includes_united_states":false,"kind":"money","label":"How much did the HSA you inherited earn after the death?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.inherited_from_non_spouse"}]}},{"binds":"health_savings_account.prior_year_excess","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 48 of last year's Form 5329, if line 49 there was more than zero. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.prior_year_excess","includes_united_states":false,"kind":"money","label":"How much excess did you carry in from last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.excess_withdrawn_by_due_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your HSA's Form 1099-SA for the withdrawal shows it. Count this year's excess taken out by the due date, extensions included, without its earnings. It has no 6% tax. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.excess_withdrawn_by_due_date","includes_united_states":false,"kind":"money","label":"How much excess did you take back by the return's due date?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.year_end_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your HSA's Form 5498-SA or statement shows it. Add money paid in for this year after the year ended.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.year_end_value","includes_united_states":false,"kind":"money","label":"What were your HSAs worth on December 31?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.excess_employer_in_wages","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your employer's letter about the excess or a corrected Form W-2 says so. Answer no if the excess was not added to your pay there, or if no employer paid in more than the limit.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.excess_employer_in_wages","includes_united_states":false,"kind":"yesno","label":"Is an employer's excess part of box 1 of your Form W-2?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.excess_withdrawn_employer_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your employer's letter or your HSA's statements show it. An employer's excess left in the HSA is income. Enter 0 if it was all your own money.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.excess_withdrawn_employer_part","includes_united_states":false,"kind":"money","label":"How much of your excess taken back was an employer's money?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.health_savings_account.excess_withdrawn_by_due_date","value":0},{"op":"answered","ref":"deductions_credits.health_savings_account.excess_employer_in_wages"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_employer_in_wages"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.health_savings_account.excess_withdrawn_by_due_date","value":0},{"op":"answered","ref":"deductions_credits.health_savings_account.excess_employer_in_wages"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_employer_in_wages"}]}]}]}},{"binds":"health_savings_account.withdrawn_excess_earnings","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your HSA's Form 1099-SA for the withdrawal shows it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.withdrawn_excess_earnings","includes_united_states":false,"kind":"money","label":"How much did the excess earn that you took out this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.excess_contributions"}]}},{"binds":"health_savings_account.prior_year_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 8889, lines 2 and 9, show it.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.prior_year_contributions","includes_united_states":false,"kind":"money","label":"How much went into your HSA for last year, the employer's included?","label_when":[],"options":[],"placeholder":"4150","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"health_savings_account.prior_year_months_self_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statements show it. Count a month if, on its first day, the coverage was self-only and every condition held, not counting the December rule. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.prior_year_months_self_only","includes_united_states":false,"kind":"integer","label":"In how many months last year did you in fact have self-only coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"health_savings_account.prior_year_months_family","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statements show it. Count a month if, on its first day, the coverage was family coverage and every condition held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.health_savings_account.prior_year_months_family","includes_united_states":false,"kind":"integer","label":"In how many months last year did you in fact have family coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["taxpayer","both"]}]}]},{"op":"truthy","ref":"deductions_credits.health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"spouse_health_savings_account.coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's plan's papers say whether it is a high-deductible plan.","help_lines":["Count a month only if, on its first day, your spouse had that plan and no other health coverage, had no Medicare and could not be claimed as someone's dependent.","Coverage from a national health service abroad counts as other coverage.","Family coverage covers at least one more person.","If you are married, count a month as family when either of you had a family high-deductible plan."],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.coverage","includes_united_states":false,"kind":"choice","label":"How was your spouse covered by a high-deductible health plan this year?","label_when":[],"options":[{"label":"Self-only coverage for all of the year.","value":"self_only"},{"label":"Family coverage for all of the year.","value":"family"},{"label":"It changed during the year, or I was not covered all year.","value":"changed"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.months_self_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's plan's statements show the months. Count a month if, on its first day, the coverage was self-only and every condition above held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.months_self_only","includes_united_states":false,"kind":"integer","label":"In how many months was your spouse covered with self-only coverage?","label_when":[],"options":[],"placeholder":"6","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]}},{"binds":"spouse_health_savings_account.months_family","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's plan's statements show the months. Count a month if, on its first day, the coverage was family coverage and every condition above held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.months_family","includes_united_states":false,"kind":"integer","label":"In how many months was your spouse covered with family coverage?","label_when":[],"options":[],"placeholder":"6","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]}},{"binds":"spouse_health_savings_account.december_coverage","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's plan's statement for December shows it. Coverage on December 1 can raise the limit for the whole year, as long as it lasts through next year too.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.december_coverage","includes_united_states":false,"kind":"choice","label":"How was your spouse covered on December 1?","label_when":[],"options":[{"label":"Self-only coverage.","value":"self_only"},{"label":"Family coverage.","value":"family"},{"label":"I was not covered by a qualifying plan on December 1.","value":"none"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.coverage","value":"changed"}]}},{"binds":"spouse_health_savings_account.contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's HSA's Form 5498-SA or statements show it. Count money paid in for this year up to April 15 of next year, by your spouse or anyone but an employer. Leave out money taken from pay before tax (that counts as an employer's), rollovers and money moved from an IRA. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.contributions","includes_united_states":false,"kind":"money","label":"How much went into your spouse's HSA for this year, not from an employer?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.employer_other_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Code W in box 12 of your spouse's Form W-2 is an employer's payment into the HSA. Check this if it includes money for last year, or if the employer paid in for this year after the year ended.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.employer_other_year","includes_united_states":false,"kind":"yesno","label":"Does your spouse's Form W-2 code W hold money for another year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.lost_eligibility_after_last_month_rule","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 8889 shows it. If coverage on December 1 of last year raised the limit for that whole year, and it then ended before this year was over, part of last year's money is taxed now. Leave this unchecked if it ended because of a disability.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule","includes_united_states":false,"kind":"yesno","label":"Did your spouse lose HSA coverage this year after counting on last December's?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.funding_distribution_from_ira","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's IRA's Form 1099-R and the HSA's statement show such a move. A SEP or SIMPLE IRA still getting employer money cannot make one.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira","includes_united_states":false,"kind":"yesno","label":"Was money moved from an IRA straight into your spouse's HSA this year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.lost_eligibility_after_funding_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count a move from an IRA into the HSA in an earlier year or this one, when the coverage then ended within 12 months for a reason other than a disability.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_funding_distribution","includes_united_states":false,"kind":"yesno","label":"Did your spouse lose HSA coverage within a year of an IRA move?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.inherited_from_non_spouse","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The HSA's papers after the death show it. An HSA from a spouse counts as their own.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse","includes_united_states":false,"kind":"yesno","label":"Did your spouse inherit an HSA from someone other than a spouse?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.deemed_distribution","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pledged means used as security for a loan. The rules treat either one as money taken out of the account. Your spouse's HSA's trustee or a tax advisor can tell you if a deal was one the rules forbid.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.deemed_distribution","includes_united_states":false,"kind":"yesno","label":"Was your spouse's HSA pledged for a loan or used in a forbidden deal?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.excess_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 5329 line 48, or your spouse's HSA's letter about an excess, shows it. Check it too if your spouse took an excess back out this year.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.excess_contributions","includes_united_states":false,"kind":"yesno","label":"Did more go into your spouse's HSA than the limit, now or last year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.employer_prior_year_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's employer or the HSA's statements say which year each payment was for. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.employer_prior_year_part","includes_united_states":false,"kind":"money","label":"How much of your spouse's code W amount was for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.employer_other_year"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.employer_other_year"}]}},{"binds":"spouse_health_savings_account.employer_paid_after_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The HSA's statements for the first months of next year show it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.employer_paid_after_year","includes_united_states":false,"kind":"money","label":"How much did your spouse's employer pay in for this year after it ended?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.employer_other_year"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.employer_other_year"}]}},{"binds":"spouse_health_savings_account.distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 of each Form 1099-SA shows it. Enter 0 if nothing came out.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.distributions","includes_united_states":false,"kind":"money","label":"How much came out of your spouse's HSAs this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]}},{"binds":"spouse_health_savings_account.rolled_over_or_excess_withdrawn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's HSA's statements show a rollover into another HSA within 60 days, or an excess contribution taken back before your return's due date. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.rolled_over_or_excess_withdrawn","includes_united_states":false,"kind":"money","label":"How much of your spouse's HSA payout was rolled over or taken back?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0}]}},{"binds":"spouse_health_savings_account.qualified_medical_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's receipts show the costs. Count medical care for you, your spouse or your dependents that was not paid back by insurance and arose after the HSA was opened. Leave out an excess taken back after the due date.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.qualified_medical_expenses","includes_united_states":false,"kind":"money","label":"How much of your spouse's HSA payout paid for medical costs?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0}]}},{"binds":"spouse_health_savings_account.taxed_part_after_disability_or_65","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's HSA's statements give the dates. That part of the money not spent on medical costs has no extra 20% tax. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.taxed_part_after_disability_or_65","includes_united_states":false,"kind":"money","label":"How much of the rest came out after your spouse's disability or 65th birthday?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0},{"op":"not","rules":[{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":66}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.distributions","value":0},{"op":"not","rules":[{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":66}]}]}]}]}]}},{"binds":"spouse_health_savings_account.funding_distribution_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's IRA's Form 1099-R and the HSA's statement show it. It comes off your spouse's IRA payout's taxed amount.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.funding_distribution_amount","includes_united_states":false,"kind":"money","label":"How much was moved from an IRA into your spouse's HSA this year?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]}},{"binds":"spouse_health_savings_account.funding_distribution_earlier_move","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only one move like this can stay out of income in a lifetime. A second move this year after changing to family coverage does not count as earlier.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","includes_united_states":false,"kind":"yesno","label":"Did your spouse make a move like this in an earlier year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]}},{"binds":"spouse_health_savings_account.funding_distribution_from_ongoing_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A SEP IRA or SIMPLE IRA is one an employer sets up. Answer yes if the employer paid into it for a plan year ending in {context.return_year}. Answer no for a traditional or Roth IRA.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","includes_united_states":false,"kind":"yesno","label":"Was your spouse's move from a SEP or SIMPLE IRA an employer paid into?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"}]}},{"binds":"spouse_health_savings_account.funding_distribution_early_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 7 of each IRA Form 1099-R shows the code. Code 1 means taken early, and money moved to the HSA has no extra tax for that. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.funding_distribution_early_part","includes_united_states":false,"kind":"money","label":"How much of your spouse's move came from a payout with code 1?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"and","rules":[{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.ira_sep_simple"},{"op":"not","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"1"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"1"}]}]}]}]}]}]}]}},{"binds":"spouse_health_savings_account.funding_distribution_roth_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's IRA's Form 1099-R and the HSA's statement show which account it left. Enter 0 if it all came from a traditional, SEP or SIMPLE IRA.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.funding_distribution_roth_part","includes_united_states":false,"kind":"money","label":"How much of that move came from your spouse's Roth IRA?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"T"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"T"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ira"},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_earlier_move","value":false},{"op":"eq","ref":"deductions_credits.spouse_health_savings_account.funding_distribution_from_ongoing_plan","value":false}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"J"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"J"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"T"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"T"}]},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.retirement_distributions.roth_contribution_2020_or_earlier"}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}},{"binds":"spouse_health_savings_account.failed_funding_distribution_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's IRA's Form 1099-R and the HSA's statement for that year show it.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.failed_funding_distribution_amount","includes_united_states":false,"kind":"money","label":"How much did your spouse move from the IRA in that move?","label_when":[],"options":[],"placeholder":"3000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_funding_distribution"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_funding_distribution"}]}},{"binds":"spouse_health_savings_account.inherited_value_at_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 4 of the Form 1099-SA for the inherited HSA, or the account's statement, shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.inherited_value_at_death","includes_united_states":false,"kind":"money","label":"What was the HSA your spouse inherited worth on the day of the death?","label_when":[],"options":[],"placeholder":"10000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]}},{"binds":"spouse_health_savings_account.inherited_decedent_expenses_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's receipts show them. Count medical costs of the person who died that arose before the death and that your spouse paid within one year after it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.inherited_decedent_expenses_paid","includes_united_states":false,"kind":"money","label":"How much of their medical costs did your spouse pay within a year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]}},{"binds":"spouse_health_savings_account.inherited_earnings_after_death","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The account's statements show earnings from the day after the death until it was paid out. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.inherited_earnings_after_death","includes_united_states":false,"kind":"money","label":"How much did the HSA your spouse inherited earn after the death?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.inherited_from_non_spouse"}]}},{"binds":"spouse_health_savings_account.prior_year_excess","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 48 of last year's Form 5329, if line 49 there was more than zero. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.prior_year_excess","includes_united_states":false,"kind":"money","label":"How much excess did your spouse carry in from last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.excess_withdrawn_by_due_date","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's HSA's Form 1099-SA for the withdrawal shows it. Count this year's excess taken out by the due date, extensions included, without its earnings. It has no 6% tax. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.excess_withdrawn_by_due_date","includes_united_states":false,"kind":"money","label":"How much excess did your spouse take back by the return's due date?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.year_end_value","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's HSA's Form 5498-SA or statement shows it. Add money paid in for this year after the year ended.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.year_end_value","includes_united_states":false,"kind":"money","label":"What were your spouse's HSAs worth on December 31?","label_when":[],"options":[],"placeholder":"5000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.excess_employer_in_wages","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's employer's letter about the excess or a corrected Form W-2 says so. Answer no if the excess was not added to your spouse's pay there, or if no employer paid in more than the limit.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages","includes_united_states":false,"kind":"yesno","label":"Is an employer's excess part of box 1 of your spouse's Form W-2?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.excess_withdrawn_employer_part","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's employer's letter or your spouse's HSA's statements show it. An employer's excess left in the HSA is income. Enter 0 if it was all your spouse's own money.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.excess_withdrawn_employer_part","includes_united_states":false,"kind":"money","label":"How much of your spouse's excess taken back was an employer's money?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.excess_withdrawn_by_due_date","value":0},{"op":"answered","ref":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.spouse_health_savings_account.excess_withdrawn_by_due_date","value":0},{"op":"answered","ref":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages"},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_employer_in_wages"}]}]}]}},{"binds":"spouse_health_savings_account.withdrawn_excess_earnings","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's HSA's Form 1099-SA for the withdrawal shows it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.withdrawn_excess_earnings","includes_united_states":false,"kind":"money","label":"How much did the excess earn that your spouse took out this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.excess_contributions"}]}},{"binds":"spouse_health_savings_account.prior_year_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Last year's Form 8889, lines 2 and 9, show it.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.prior_year_contributions","includes_united_states":false,"kind":"money","label":"How much went into your spouse's HSA for last year, the employer's included?","label_when":[],"options":[],"placeholder":"4150","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"spouse_health_savings_account.prior_year_months_self_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's plan's statements show it. Count a month if, on its first day, the coverage was self-only and every condition held, not counting the December rule. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.prior_year_months_self_only","includes_united_states":false,"kind":"integer","label":"In how many months last year did your spouse in fact have self-only coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"spouse_health_savings_account.prior_year_months_family","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's plan's statements show it. Count a month if, on its first day, the coverage was family coverage and every condition held. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_health_savings_account.prior_year_months_family","includes_united_states":false,"kind":"integer","label":"In how many months last year did your spouse in fact have family coverage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"months_zero_to_twelve":{"message_bounds":"Enter a whole number of months between 0 and 12."}},"validators":["months_zero_to_twelve"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"in","ref":"deductions_credits.health_savings_account_holders","values":["spouse","both"]}]},{"op":"truthy","ref":"deductions_credits.spouse_health_savings_account.lost_eligibility_after_last_month_rule"}]}},{"binds":"hsa_family_limit_split_agreed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"With family coverage you share one limit, half each unless you both agree otherwise. Your own records of the agreement show it.","help_lines":[],"help_when":[],"id":"deductions_credits.hsa_family_limit_split_agreed","includes_united_states":false,"kind":"yesno","label":"Did you and your spouse agree to split the family limit other than evenly?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"deductions_credits.health_savings_account_holders","value":"both"},{"op":"or","rules":[{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]},{"op":"in","ref":"deductions_credits.spouse_health_savings_account.coverage","values":["family","changed"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.hsa_spouse_has_own_account"},{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"deductions_credits.health_savings_account_holders","value":"both"},{"op":"or","rules":[{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]},{"op":"in","ref":"deductions_credits.spouse_health_savings_account.coverage","values":["family","changed"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.hsa_spouse_has_own_account"},{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]}]}]}]}},{"binds":"hsa_family_limit_taxpayer_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your agreement with your spouse, for example 75. The rest is theirs.","help_lines":[],"help_when":[],"id":"deductions_credits.hsa_family_limit_taxpayer_percent","includes_united_states":false,"kind":"text","label":"What percent of the family limit goes to your own HSA?","label_when":[],"options":[],"placeholder":"75","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8889.compute_forms_8889","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"deductions_credits.health_savings_account_holders","value":"both"},{"op":"or","rules":[{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]},{"op":"in","ref":"deductions_credits.spouse_health_savings_account.coverage","values":["family","changed"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.hsa_spouse_has_own_account"},{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]}]}]}]},{"op":"truthy","ref":"deductions_credits.hsa_family_limit_split_agreed"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"percent_of_hundred":{"message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75."}},"validators":["percent_of_hundred"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.health_savings_account"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"deductions_credits.health_savings_account_holders","value":"both"},{"op":"or","rules":[{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]},{"op":"in","ref":"deductions_credits.spouse_health_savings_account.coverage","values":["family","changed"]}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.hsa_spouse_has_own_account"},{"op":"in","ref":"deductions_credits.health_savings_account.coverage","values":["family","changed"]}]}]}]},{"op":"truthy","ref":"deductions_credits.hsa_family_limit_split_agreed"}]}},{"binds":"screened_inputs.student_loan_interest","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your lender's Form 1098-E shows the interest you paid.","help_lines":[],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},"On your separate return the deduction is not allowed, so we do not take it."]],"id":"deductions_credits.screened_inputs.student_loan_interest","includes_united_states":false,"kind":"yesno","label":"Did you pay interest on a student loan during the year?","label_when":[],"off_ramp":{"body":"For this year, that deduction is worked out with limits we do not have.","code":"student_loan_interest","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare the student loan interest deduction for 2019 to 2025 returns","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.student_loan_interest"},{"op":"or","rules":[{"op":"lt","ref":"context.tax_year","value":2019},{"op":"gt","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.educator_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your receipts show what you paid. It counts only for a teacher, instructor, counselor, principal or aide who worked at least 900 hours in a school year at a school from kindergarten to grade 12.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.educator_expenses","includes_united_states":false,"kind":"yesno","label":"Did you pay for classroom costs as a schoolteacher or other educator?","label_when":[],"off_ramp":{"body":"For this year, that deduction is worked out with a limit we do not have.","code":"educator_expenses","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare the deduction for educators for 2019 to 2025 returns","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"or","rules":[{"op":"lt","ref":"context.tax_year","value":2019},{"op":"gt","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.early_withdrawal_penalty","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 of your Form 1099-INT shows it, usually for a certificate of deposit closed before its date.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.early_withdrawal_penalty","includes_united_states":false,"kind":"yesno","label":"Did a bank charge you a penalty for taking savings out early?","label_when":[],"off_ramp":{"body":"For this year, that penalty comes off your income on a line we do not prepare.","code":"early_withdrawal_penalty","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare the early withdrawal penalty for 2019 to 2025 returns","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.early_withdrawal_penalty"},{"op":"or","rules":[{"op":"lt","ref":"context.tax_year","value":2019},{"op":"gt","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.alimony_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your divorce or separation agreement says when it was made. Child support does not count.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.alimony_paid","includes_united_states":false,"kind":"yesno","label":"Did you pay alimony under an agreement made before 2019?","label_when":[],"off_ramp":{"body":"That deduction is not one we prepare here.","code":"alimony_paid","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the deduction for alimony paid","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.alimony_paid"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.other_adjustment","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show these. The foreign housing deduction is worked out with your pay abroad and does not count here.","help_lines":["Business costs as an Armed Forces reservist, a performing artist or a government official paid by fees.","Moving costs as a member of the Armed Forces on active duty.","Contributions to an Archer medical savings account.","Other items on Schedule 1, Part II, such as jury pay you gave your employer or repaid supplemental unemployment benefits."],"help_when":[],"id":"deductions_credits.screened_inputs.other_adjustment","includes_united_states":false,"kind":"yesno","label":"Do you have another deduction that comes off your income before the others?","label_when":[],"off_ramp":{"body":"Deductions like these come off your income on lines we do not prepare here.","code":"other_adjustment","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare that deduction","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.other_adjustment"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.section_179_carryover","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 13 of last year's Form 4562 shows a carryover when the cost you chose to deduct in full was more than your business income.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.section_179_carryover","includes_united_states":false,"kind":"yesno","label":"Does your last Form 4562 carry an equipment write-off into this year?","label_when":[],"off_ramp":{"body":"A write-off carried from an earlier year is worked out against this year's limit, which we do not do here.","code":"section_179_carryover","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not carry an earlier equipment write-off forward","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.section_179_carryover"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"truthy","ref":"income_sources.has_rentals"},{"op":"truthy","ref":"income_sources.screened_inputs.schedule_k1"}]}},{"binds":"screened_inputs.federally_declared_disaster_loss","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count it only if the loss was not paid back by insurance or anyone else. Your local news or FEMA says whether the disaster was declared.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.federally_declared_disaster_loss","includes_united_states":false,"kind":"yesno","label":"Did a disaster the US government declared damage or destroy property of yours?","label_when":[],"off_ramp":{"body":"A loss from a declared disaster needs a form we do not prepare (Form 4684).","code":"disaster_loss","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare a disaster loss","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.federally_declared_disaster_loss"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.retirement_savings_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The credit goes to filers with lower income who paid into a workplace plan such as a 401(k), a traditional or Roth IRA, or their own ABLE account. We ask a few more questions and work it out on Form 8880. It has an income limit, which counts pay you leave out with the foreign earned income exclusion. It is not for a full-time student or a person someone else claims as a dependent. Check it if you might qualify or are not sure.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.retirement_savings_credit","includes_united_states":false,"kind":"yesno","label":"Did you pay into a retirement plan that might qualify for the saver's credit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.credit_for_the_elderly_or_disabled","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is for filers 65 or older, and for some younger filers who retired because of a disability. Schedule R decides it from your income and any disability pay, and it has an income limit that most filers over 65 pass. Check it if you might qualify or are not sure.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.credit_for_the_elderly_or_disabled","includes_united_states":false,"kind":"yesno","label":"Could you get the credit for the elderly or the disabled?","label_when":[],"off_ramp":{"body":"That credit needs a form we do not prepare (Schedule R). If your income is over its limit, nothing is lost; if not, we cannot file this return.","code":"credit_for_the_elderly_or_disabled","next_step":"Continue. Your review page tells you which applies before anything is filed.","severity":"review","title":"We may not be able to file this with the credit for the elderly or the disabled","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.credit_for_the_elderly_or_disabled"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":65}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":64}]}]},{"op":"in","ref":"about_you.taxpayer.date_of_birth","values":["1950-01-01","1951-01-01","1952-01-01","1953-01-01","1954-01-01","1955-01-01","1956-01-01","1957-01-01","1958-01-01","1959-01-01","1960-01-01","1961-01-01","1962-01-01","1963-01-01","1964-01-01","1965-01-01","1966-01-01","1967-01-01","1968-01-01","1969-01-01"]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":65}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":64}]}]},{"op":"in","ref":"household.spouse.date_of_birth","values":["1950-01-01","1951-01-01","1952-01-01","1953-01-01","1954-01-01","1955-01-01","1956-01-01","1957-01-01","1958-01-01","1959-01-01","1960-01-01","1961-01-01","1962-01-01","1963-01-01","1964-01-01","1965-01-01","1966-01-01","1967-01-01","1968-01-01","1969-01-01"]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"or","rules":[{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code","value":"3"},{"op":"eq","ref":"income_sources.retirement_distributions.distribution_code_2","value":"3"}]}]}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_pensions"},{"op":"count_gt","ref":"income_sources.pensions_and_annuities","value":0}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"truthy","ref":"income_sources.wages.third_party_sick_pay"}]}]}]}]}},{"binds":"screened_inputs.mortgage_interest_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The certificate came with your mortgage. Form 8396 figures the credit and lowers the mortgage interest you can deduct. Check it if you are not sure.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.mortgage_interest_credit","includes_united_states":false,"kind":"yesno","label":"Do you have a mortgage credit certificate from a state or local government?","label_when":[],"off_ramp":{"body":"That credit needs a form we do not prepare (Form 8396).","code":"mortgage_interest_credit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the mortgage interest credit","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.mortgage_interest_credit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_and_points_1098","value":0},{"op":"gt","ref":"deductions_credits.itemized_deductions.home_mortgage_interest_without_form_1098","value":0}]}},{"binds":"screened_inputs.general_business_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Examples are the credit for research costs or for hiring certain workers. Form 3800 combines them. Your earlier Form 3800 shows a credit carried in.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.general_business_credit","includes_united_states":false,"kind":"yesno","label":"Do you have a business tax credit, this year's or carried in from earlier?","label_when":[],"off_ramp":{"body":"Business credits are combined on Form 3800, which we do not prepare.","code":"general_business_credit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare business tax credits","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.general_business_credit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.has_self_employment"},{"op":"truthy","ref":"income_sources.has_rentals"}]}},{"binds":"screened_inputs.prior_year_minimum_tax_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your earlier Form 6251 and Form 1040 show it. Part of that tax can come back as a credit on Form 8801 in a later year. Last year's Form 8801 shows any credit carried forward.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit","includes_united_states":false,"kind":"yesno","label":"Did you pay alternative minimum tax (an extra tax) on a past year's return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.adoption_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 8839 works out the credit and the part of an employer's help that is not taxed. Code T in box 12 of a Form W-2 is adoption help from an employer.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.adoption_credit","includes_united_states":false,"kind":"yesno","label":"Did you pay adoption costs, or get adoption help from an employer?","label_when":[],"off_ramp":{"body":"That credit needs a form we do not prepare (Form 8839).","code":"adoption_credit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the adoption credit","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.adoption_credit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.residential_energy_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 5695 covers credits for things like solar panels, batteries, heat pumps, windows and doors, for a home in the United States. Check it if you are not sure.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.residential_energy_credit","includes_united_states":false,"kind":"yesno","label":"Did you pay for solar, a battery or energy-saving changes to your home?","label_when":[],"off_ramp":{"body":"Those credits are worked out on Form 5695, which we do not prepare for this year.","code":"residential_energy_credit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We prepare home energy credits for 2019 to 2025 returns","when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"or","rules":[{"op":"lt","ref":"context.tax_year","value":2019},{"op":"gt","ref":"context.tax_year","value":2025}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.residential_clean_energy_carryforward","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of last year's Form 5695 shows a credit for solar, wind, geothermal, battery or fuel cell property that you could not use then. It counts this year even if you bought nothing new.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.residential_clean_energy_carryforward","includes_united_states":false,"kind":"yesno","label":"Does your last Form 5695 carry a clean energy credit into this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.clean_vehicle_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That means a new or used electric or fuel cell vehicle. Form 8936 works out the credit and any repayment. Check it if a dealer took the credit for you when you bought.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.clean_vehicle_credit","includes_united_states":false,"kind":"yesno","label":"Did you buy a clean vehicle, or must you repay a clean vehicle credit?","label_when":[],"off_ramp":{"body":"That credit, and the repayment of one, are worked out on Form 8936, which we do not prepare.","code":"clean_vehicle_credit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the clean vehicle credit","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.clean_vehicle_credit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.undistributed_capital_gain_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A mutual fund or real estate trust sends it when it kept gains and paid the tax on them for you.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.undistributed_capital_gain_credit","includes_united_states":false,"kind":"yesno","label":"Did a fund send you a Form 2439 for tax it paid for you?","label_when":[],"off_ramp":{"body":"That tax counts as paid by you, on a line we do not prepare here.","code":"undistributed_capital_gain_credit","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare the credit for tax a fund paid for you","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.undistributed_capital_gain_credit"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"screened_inputs.education_credit_recapture","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That means the college paid back money this year for costs you claimed an education credit for in an earlier year, or tax-free help such as a scholarship or an employer's school plan paid for them afterwards. Part of the credit may then be owed back, worked out from your earlier return.","help_lines":[],"help_when":[],"id":"deductions_credits.screened_inputs.education_credit_recapture","includes_united_states":false,"kind":"yesno","label":"Did you claim a school credit before, and get a refund of those costs?","label_when":[],"off_ramp":{"body":"Paying back part of an earlier education credit is worked out from your earlier return, which we do not do here.","code":"education_credit_recapture","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a credit you may owe back","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.education_credit_recapture"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"decline_earned_income_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Check it only if you could get the credit and you are choosing to leave it off. We do not work the credit out, so a return that might qualify cannot be filed unless you leave it off. Leaving it off means you do not get it.","help_lines":[],"help_when":[],"id":"deductions_credits.decline_earned_income_credit","includes_united_states":false,"kind":"yesno","label":"Do you choose not to claim the earned income credit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"household.spouse.is_nonresident_alien"},{"op":"not","rules":[{"op":"truthy","ref":"household.spouse.elected_to_be_treated_as_resident"}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"hoh"},{"op":"eq","ref":"about_you.head_of_household_basis","value":"nonresident_alien_spouse"}]},{"op":"and","rules":[{"op":"derived","ref":"where_you_lived.bfr_full_year"},{"op":"or","rules":[{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"derived","ref":"spouse_abroad.bfr_full_year"}]},{"op":"eq","ref":"deductions_credits.extended_military_duty_abroad","value":false}]}]}]}]}},{"binds":"screened_inputs.household_employment_taxes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A household employee works in or around your home, such as a nanny, cleaner, cook or caregiver, and you decide what work they do and how. Workers from an agency, and people who run their own business, are not. Count work in a home abroad too: we cannot settle whether these taxes apply there.","help_lines":["You withheld federal income tax from the pay of a household employee.","Pay to your spouse, or to your child under 21, does not count for the tests. Pay to your parent, or to a worker under 18, usually does not count either: check the box if you are not sure it is left out."],"help_when":[[{"op":"gt","ref":"context.household_employee_cash_wage_test","value":0},"You paid any one household employee {context.household_employee_cash_wage_test} or more in cash wages."],[{"op":"gt","ref":"context.household_quarter_wage_test","value":0},"You paid your household employees together {context.household_quarter_wage_test} or more in cash wages in any calendar quarter of this year or last year."],[{"op":"not","rules":[{"op":"gt","ref":"context.household_employee_cash_wage_test","value":0}]},"Your cash pay to a household employee was enough for social security, Medicare or federal unemployment tax to be due on it."],[{"op":"any_row","ref":"deductions_credits.child_dependent_care.care_providers","rules":[{"op":"truthy","ref":"deductions_credits.child_dependent_care.care_providers.is_household_employee"}]},"You said a care provider worked in your home under your direction, which makes them a household employee, so check your pay to them against these tests."]],"id":"deductions_credits.screened_inputs.household_employment_taxes","includes_united_states":false,"kind":"yesno","label":"Did your pay to a household employee meet any of these tests?","label_when":[],"off_ramp":{"body":"Social security, Medicare and unemployment taxes on pay to a household employee are worked out on Schedule H, which we do not prepare.","code":"household_employment_taxes","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare household employment taxes","when":{"op":"truthy","ref":"deductions_credits.screened_inputs.household_employment_taxes"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"savers_credit_student","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if, in any part of five different months, you were enrolled full time at a school or took a full-time training course on a farm given by a school or a government agency. A school includes technical and trade schools, but not on-the-job training, correspondence schools or schools that teach only online. A full-time student cannot take the saver's credit.","help_lines":[],"help_when":[],"id":"deductions_credits.savers_credit_student","includes_united_states":false,"kind":"yesno","label":"Were you a full-time student during part of five months of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"}},{"binds":"spouse_savers_credit_student","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if, in any part of five different months, your spouse was enrolled full time at a school or took a full-time training course on a farm given by a school or a government agency. A school includes technical and trade schools, but not on-the-job training, correspondence schools or schools that teach only online. A full-time student cannot take the saver's credit.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_savers_credit_student","includes_united_states":false,"kind":"yesno","label":"Was your spouse a full-time student during part of five months of the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"savers_credit_claimed_as_dependent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Ask the person who could claim you, or look at their return. A person someone else claims as a dependent cannot take the saver's credit.","help_lines":[],"help_when":[],"id":"deductions_credits.savers_credit_claimed_as_dependent","includes_united_states":false,"kind":"yesno","label":"Did someone else claim you as a dependent on their return for this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"ne","ref":"about_you.taxpayer.claimable_as_dependent_of_another","value":false}]}},{"binds":"spouse_savers_credit_claimed_as_dependent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Ask the person who could claim your spouse, or look at their return. A person someone else claims as a dependent cannot take the saver's credit.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_savers_credit_claimed_as_dependent","includes_united_states":false,"kind":"yesno","label":"Did someone else claim your spouse as a dependent on their return this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"ne","ref":"household.spouse.claimable_as_dependent_of_another","value":false}]}},{"binds":"savers_credit_able_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The account's statements show it. Count only what you paid in as the person the account is for. Enter 0 if you paid nothing into one.","help_lines":[],"help_when":[],"id":"deductions_credits.savers_credit_able_contributions","includes_united_states":false,"kind":"money","label":"How much did you pay into an ABLE account of your own?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"}},{"binds":"savers_credit_other_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan's statements show it. Count what you paid in yourself that box 12 of a Form W-2 does not show. That means voluntary contributions to a 401(k), 403(b), governmental 457(b), SEP, SIMPLE or federal Thrift Savings Plan or another qualified plan, and contributions to a 501(c)(18)(D) plan. Enter 0 if there was none.","help_lines":["Leave out what box 12 of a Form W-2 shows, which we already count, and money your employer paid in for you."],"help_when":[],"id":"deductions_credits.savers_credit_other_contributions","includes_united_states":false,"kind":"money","label":"What else did you pay into workplace retirement plans this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"}},{"binds":"spouse_savers_credit_able_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The account's statements show it. Count only what your spouse paid in as the person the account is for. Enter 0 if they paid nothing into one.","help_lines":[],"help_when":[],"id":"deductions_credits.spouse_savers_credit_able_contributions","includes_united_states":false,"kind":"money","label":"How much did your spouse pay into an ABLE account of their own?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"spouse_savers_credit_other_contributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their plan's statements show it. Count what your spouse paid in that box 12 of a Form W-2 does not show. That means voluntary contributions to a 401(k), 403(b), governmental 457(b), SEP, SIMPLE or federal Thrift Savings Plan or another qualified plan, and contributions to a 501(c)(18)(D) plan. Enter 0 if there was none.","help_lines":["Leave out what box 12 of a Form W-2 shows, which we already count, and money their employer paid in for them."],"help_when":[],"id":"deductions_credits.spouse_savers_credit_other_contributions","includes_united_states":false,"kind":"money","label":"What else did your spouse pay into workplace retirement plans this year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"savers_credit_457b_deferrals","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 12 of your Form W-2 shows code G for money put into a 457(b) plan. Count only what was taken from your pay into a 457(b) plan of a state or local government. The plan statement shows it. Enter 0 if none was.","help_lines":["Leave out money the employer added, and money put into a 457(b) plan of an employer that is not a government."],"help_when":[],"id":"deductions_credits.savers_credit_457b_deferrals","includes_united_states":false,"kind":"money","label":"How much of your code G amount were your own government plan deferrals?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"any_row","ref":"income_sources.wages.box_12","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["G","g"]},{"op":"gt","ref":"income_sources.wages.box_12.amount","value":0}]}]}]}]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"any_row","ref":"income_sources.wages.box_12","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["G","g"]},{"op":"gt","ref":"income_sources.wages.box_12.amount","value":0}]}]},{"op":"ne","ref":"income_sources.wages.owner","value":"spouse"}]}]}]}]}]}},{"binds":"spouse_savers_credit_457b_deferrals","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 12 of their Form W-2 shows code G for money put into a 457(b) plan. Count only what was taken from their pay into a 457(b) plan of a state or local government. The plan statement shows it. Enter 0 if none was.","help_lines":["Leave out money the employer added, and money put into a 457(b) plan of an employer that is not a government."],"help_when":[],"id":"deductions_credits.spouse_savers_credit_457b_deferrals","includes_united_states":false,"kind":"money","label":"How much of your spouse's code G amount were their own government plan deferrals?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_wages"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"any_row","ref":"income_sources.wages.box_12","rules":[{"op":"and","rules":[{"op":"in","ref":"income_sources.wages.box_12.code","values":["G","g"]},{"op":"gt","ref":"income_sources.wages.box_12.amount","value":0}]}]},{"op":"eq","ref":"income_sources.wages.owner","value":"spouse"}]}]}]}]}]}},{"binds":"savers_credit_other_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your account statements and Forms 1099-R show it. Count money taken out in the two years before this one, money taken out after this year ended and before this return is due with any extension, and money taken out this year that no Form 1099-R you entered shows. Enter 0 if there was none.","help_lines":["Count traditional and Roth IRAs, ABLE accounts, 401(k), 403(b), governmental 457(b), SEP and SIMPLE plans, the federal Thrift Savings Plan and other qualified plans.","Leave out rollovers and transfers to another plan or IRA, conversions to a Roth IRA, plan loans, extra contributions taken back, and IRA contributions returned by the due date of their year's return.","Leave out payments from an IRA inherited from someone other than a spouse, and military retirement pay."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, also count what your spouse took out in those earlier years and months, for a year you filed a joint return together."]],"id":"deductions_credits.savers_credit_other_distributions","includes_united_states":false,"kind":"money","label":"How much else did you take out of retirement or ABLE accounts?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"}},{"binds":"spouse_savers_credit_other_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their account statements and Forms 1099-R show it. Count money taken out in the two years before this one, money taken out after this year ended and before this return is due with any extension, and money taken out this year that no Form 1099-R you entered shows. Enter 0 if there was none.","help_lines":["Count traditional and Roth IRAs, ABLE accounts, 401(k), 403(b), governmental 457(b), SEP and SIMPLE plans, the federal Thrift Savings Plan and other qualified plans.","Leave out rollovers and transfers to another plan or IRA, conversions to a Roth IRA, plan loans, extra contributions taken back, and IRA contributions returned by the due date of their year's return.","Leave out payments from an IRA inherited from someone other than a spouse, and military retirement pay.","Also count what you took out in those earlier years and months, for a year you filed a joint return together."],"help_when":[],"id":"deductions_credits.spouse_savers_credit_other_distributions","includes_united_states":false,"kind":"money","label":"How much else did your spouse take out of retirement or ABLE accounts?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"savers_credit_left_out_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your Forms 1099-R and the payers' letters say what each payment was. The saver's credit does not count these payments. Enter 0 if none was.","help_lines":["Military retirement pay, other than from the federal Thrift Savings Plan.","Dividends on employer stock paid out of an employee stock ownership plan.","Payments from an IRA inherited from someone other than a spouse."],"help_when":[],"id":"deductions_credits.savers_credit_left_out_distributions","includes_united_states":false,"kind":"money","label":"How much of your Form 1099-R payments this year are of these kinds?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.gross_distribution","value":0}]}]},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.gross_distribution","value":0},{"op":"ne","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}]}},{"binds":"spouse_savers_credit_left_out_distributions","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their Forms 1099-R and the payers' letters say what each payment was. The saver's credit does not count these payments. Enter 0 if none was.","help_lines":["Military retirement pay, other than from the federal Thrift Savings Plan.","Dividends on employer stock paid out of an employee stock ownership plan.","Payments from an IRA inherited from someone other than a spouse."],"help_when":[],"id":"deductions_credits.spouse_savers_credit_left_out_distributions","includes_united_states":false,"kind":"money","label":"How much of your spouse's Form 1099-R payments this year are of these kinds?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.retirement_savings_credit"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.has_retirement_distributions"},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"any_row","ref":"income_sources.retirement_distributions","rules":[{"op":"and","rules":[{"op":"gt","ref":"income_sources.retirement_distributions.gross_distribution","value":0},{"op":"eq","ref":"income_sources.retirement_distributions.owner","value":"spouse"}]}]}]}]}]}},{"binds":"prior_year_minimum_tax.prior_filing_status","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is checked at the top of last year's Form 1040.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.prior_filing_status","includes_united_states":false,"kind":"choice","label":"What was your filing status on last year's return?","label_when":[],"options":[{"label":"Single","value":"single"},{"label":"Married filing jointly","value":"mfj"},{"label":"Married filing separately","value":"mfs"},{"label":"Head of household","value":"hoh"},{"label":"Qualifying surviving spouse","value":"qss"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_1","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Enter it as a negative amount if the form shows one. Enter 0 if you did not file Form 6251 last year.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_1","includes_united_states":false,"kind":"money","label":"What is on line 1 of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2a","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The taxes or standard deduction added back. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2a","includes_united_states":false,"kind":"money","label":"What is on line 2a of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax refund on that line, printed in parentheses. Enter the amount without a minus sign, or 0.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2b","includes_united_states":false,"kind":"money","label":"What is on line 2b of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2c","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Investment interest expense. Enter it as a negative amount if the form shows one. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2c","includes_united_states":false,"kind":"money","label":"What is on line 2c of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2d","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Depletion. Enter it as a negative amount if the form shows one. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2d","includes_united_states":false,"kind":"money","label":"What is on line 2d of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2e","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A net operating loss deduction. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2e","includes_united_states":false,"kind":"money","label":"What is on line 2e of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2g","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Interest from private activity bonds. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2g","includes_united_states":false,"kind":"money","label":"What is on line 2g of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_2h","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Qualified small business stock. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_2h","includes_united_states":false,"kind":"money","label":"What is on line 2h of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_8","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The credit for tax paid abroad under this tax. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_8","includes_united_states":false,"kind":"money","label":"What is on line 8 of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.foreign_tax_credit_claimed","clears":["deductions_credits.prior_year_minimum_tax.ftc_without_form_1116","deductions_credits.prior_year_minimum_tax.schedule_3_line_1"],"currency_pickable":false,"derived_from_presence":[],"help":"Line 1 of last year's Schedule 3 shows it. Say no if you deducted foreign tax instead, or paid none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.foreign_tax_credit_claimed","includes_united_states":false,"kind":"yesno","label":"Did you claim a credit for tax paid abroad on last year's return?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"},{"op":"not","rules":[{"op":"gt","ref":"deductions_credits.prior_year_minimum_tax.form_6251_line_8","value":0}]}]}},{"binds":"prior_year_minimum_tax.ftc_without_form_1116","clears":["deductions_credits.prior_year_minimum_tax.schedule_3_line_1"],"currency_pickable":false,"derived_from_presence":[],"help":"Some filers with small amounts of foreign tax claim the credit straight on Schedule 3 line 1, with no Form 1116.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.ftc_without_form_1116","includes_united_states":false,"kind":"yesno","label":"Did you claim last year's credit for tax paid abroad without a Form 1116?","label_when":[],"off_ramp":{"body":"Last year's credit for tax paid abroad would have to be worked out again on separate Forms 1116 for last year, which we do not prepare.","code":"prior_year_minimum_tax_mtftce","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not prepare this credit after a Form 1116 for that tax","when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.ftc_without_form_1116","value":false}},"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.prior_year_minimum_tax.form_6251_line_8","value":0},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.foreign_tax_credit_claimed"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.prior_year_minimum_tax.form_6251_line_8","value":0},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.foreign_tax_credit_claimed"}]}]}},{"binds":"prior_year_minimum_tax.schedule_3_line_1","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The foreign tax credit on that line of last year's return.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.schedule_3_line_1","includes_united_states":false,"kind":"money","label":"What is on line 1 of your Schedule 3 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.ftc_without_form_1116"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.ftc_without_form_1116"}},{"binds":"prior_year_minimum_tax.form_6251_line_10","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your regular tax as that form counts it. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_10","includes_united_states":false,"kind":"money","label":"What is on line 10 of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_6251_line_11","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The alternative minimum tax you paid. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_6251_line_11","includes_united_states":false,"kind":"money","label":"What is on line 11 of your Form 6251 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_8801_line_26","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The credit carried forward to this year. Enter 0 if you did not file Form 8801 last year.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_8801_line_26","includes_united_states":false,"kind":"money","label":"What is on line 26 of your Form 8801 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.other_items","clears":["deductions_credits.prior_year_minimum_tax.k1_exclusion_items","deductions_credits.prior_year_minimum_tax.line_3_exclusion_adjustments","deductions_credits.prior_year_minimum_tax.exclusion_items_elsewhere","deductions_credits.prior_year_minimum_tax.mtcnold","deductions_credits.prior_year_minimum_tax.unallowed_ev_credit"],"currency_pickable":false,"derived_from_presence":[],"help":"Exclusion items from a trust or estate Schedule K-1 (box 12 code J), exclusion items on line 3 or another line of Form 6251, a minimum tax credit net operating loss, or an electric vehicle credit held back from before 2009. Say no if none of these.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.other_items","includes_united_states":false,"kind":"yesno","label":"Did your return last year carry any of these less usual items?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.k1_exclusion_items","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 12 code J of each Schedule K-1 (Form 1041), added up. Enter it as a negative amount if it shows one, or 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.k1_exclusion_items","includes_united_states":false,"kind":"money","label":"What exclusion items did your trust or estate Schedule K-1 show last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.line_3_exclusion_adjustments","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of that line show it. Enter it as a negative amount if it is one, or 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.line_3_exclusion_adjustments","includes_united_states":false,"kind":"money","label":"How much of your line 3 on last year's Form 6251 was exclusion items?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.exclusion_items_elsewhere","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example depletion entered on line 2m instead of line 2d, from your records. Enter it as a negative amount if it is one, or 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.exclusion_items_elsewhere","includes_united_states":false,"kind":"money","label":"What exclusion items did your Form 6251 for last year show on other lines?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.mtcnold","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of earlier years show the carryovers and carrybacks to last year. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.mtcnold","includes_united_states":false,"kind":"money","label":"What minimum tax credit net operating loss did you carry into last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"binds":"prior_year_minimum_tax.unallowed_ev_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Only a credit held back by its old tax limit, from your records. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.unallowed_ev_credit","includes_united_states":false,"kind":"money","label":"What electric vehicle credit from before 2009 could you not use last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.other_items"}},{"clears":["deductions_credits.prior_year_minimum_tax.form_2555_lines_45_and_50","deductions_credits.prior_year_minimum_tax.form_2555_worksheet_line_2b"],"currency_pickable":false,"derived_from_presence":["prior_year_minimum_tax.form_2555_lines_45_and_50"],"help":"Say yes if you claimed the foreign earned income exclusion or a housing exclusion or deduction last year.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.filed_form_2555","includes_united_states":false,"kind":"yesno","label":"Did you file Form 2555 to leave foreign pay out of last year's tax?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.form_2555_lines_45_and_50","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add your spouse's form too if you filed jointly.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_2555_lines_45_and_50","includes_united_states":false,"kind":"money","label":"What do lines 45 and 50 of your last Form 2555 add up to?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}},{"binds":"prior_year_minimum_tax.form_2555_worksheet_line_2b","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That line of the worksheet in your records lists deductions you could not claim because they belong to excluded pay. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.form_2555_worksheet_line_2b","includes_united_states":false,"kind":"money","label":"What is on line 2b of your last Foreign Earned Income Tax Worksheet?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}},{"binds":"prior_year_minimum_tax.tax_worksheet","clears":["deductions_credits.prior_year_minimum_tax.preferential_items","deductions_credits.prior_year_minimum_tax.completed_worksheet","deductions_credits.prior_year_minimum_tax.taxable_income","deductions_credits.prior_year_minimum_tax.feitw_line_3","deductions_credits.prior_year_minimum_tax.qdcgt_line_4","deductions_credits.prior_year_minimum_tax.qdcgt_line_5","deductions_credits.prior_year_minimum_tax.sdtw_line_10","deductions_credits.prior_year_minimum_tax.sdtw_line_13","deductions_credits.prior_year_minimum_tax.sdtw_line_14","deductions_credits.prior_year_minimum_tax.sdtw_line_21","deductions_credits.prior_year_minimum_tax.schedule_d_line_19","deductions_credits.prior_year_minimum_tax.amt_worksheet_differs","deductions_credits.prior_year_minimum_tax.amt_worksheet_line"],"currency_pickable":false,"derived_from_presence":[],"help":"The Form 1040 instructions send you to a worksheet when you had qualified dividends or capital gains.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.tax_worksheet","includes_united_states":false,"kind":"choice","label":"How was your regular tax figured last year?","label_when":[],"options":[{"label":"On the tax table or the tax rates, with no worksheet","value":"none"},{"label":"On the Qualified Dividends and Capital Gain Tax Worksheet","value":"qualified_dividends"},{"label":"On the Schedule D Tax Worksheet","value":"schedule_d"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.prior_year_minimum_tax_credit"}},{"binds":"prior_year_minimum_tax.preferential_items","clears":["deductions_credits.prior_year_minimum_tax.completed_worksheet","deductions_credits.prior_year_minimum_tax.taxable_income","deductions_credits.prior_year_minimum_tax.feitw_line_3","deductions_credits.prior_year_minimum_tax.qdcgt_line_4","deductions_credits.prior_year_minimum_tax.qdcgt_line_5","deductions_credits.prior_year_minimum_tax.sdtw_line_10","deductions_credits.prior_year_minimum_tax.sdtw_line_13","deductions_credits.prior_year_minimum_tax.sdtw_line_14","deductions_credits.prior_year_minimum_tax.sdtw_line_21","deductions_credits.prior_year_minimum_tax.schedule_d_line_19","deductions_credits.prior_year_minimum_tax.amt_worksheet_differs","deductions_credits.prior_year_minimum_tax.amt_worksheet_line"],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if Form 1040 line 3a showed qualified dividends, line 7 capital gain distributions, or Schedule D lines 15 and 16 both a gain.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.preferential_items","includes_united_states":false,"kind":"yesno","label":"Did your return last year have qualified dividends or a capital gain?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"}},{"binds":"prior_year_minimum_tax.completed_worksheet","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Fill in its first lines for last year from your records: lines 2 to 4 of the Qualified Dividends worksheet, or lines 2 to 13 of the Schedule D worksheet if you had collectibles or real estate gains.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.completed_worksheet","includes_united_states":false,"kind":"choice","label":"Which worksheet do last year's Form 1040 instructions send you to?","label_when":[],"options":[{"label":"The Qualified Dividends and Capital Gain Tax Worksheet","value":"qualified_dividends"},{"label":"The Schedule D Tax Worksheet","value":"schedule_d"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]}},{"binds":"prior_year_minimum_tax.taxable_income","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your taxable income on that line. Enter 0 if it was zero or less.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.taxable_income","includes_united_states":false,"kind":"money","label":"What is on line 15 of your Form 1040 for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]}},{"binds":"prior_year_minimum_tax.feitw_line_3","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That line of the worksheet in your records, as figured for your regular tax.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.feitw_line_3","includes_united_states":false,"kind":"money","label":"What is on line 3 of your last Foreign Earned Income Tax Worksheet?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.qdcgt_line_4","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Qualified Dividends and Capital Gain Tax Worksheet in your records: your qualified dividends and net capital gain.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.qdcgt_line_4","includes_united_states":false,"kind":"money","label":"What is on line 4 of your capital gain tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"qualified_dividends"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"qualified_dividends"}]}]}},{"binds":"prior_year_minimum_tax.qdcgt_line_5","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your taxable income less line 4, or 0.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.qdcgt_line_5","includes_united_states":false,"kind":"money","label":"What is on line 5 of your capital gain tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"}},{"binds":"prior_year_minimum_tax.sdtw_line_10","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Schedule D Tax Worksheet in your records.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.sdtw_line_10","includes_united_states":false,"kind":"money","label":"What is on line 10 of your Schedule D tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}},{"binds":"prior_year_minimum_tax.sdtw_line_13","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Schedule D Tax Worksheet in your records.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.sdtw_line_13","includes_united_states":false,"kind":"money","label":"What is on line 13 of your Schedule D tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}},{"binds":"prior_year_minimum_tax.schedule_d_line_19","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Unrecaptured section 1250 gain from real estate. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.schedule_d_line_19","includes_united_states":false,"kind":"money","label":"What is on line 19 of your Schedule D for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}},{"binds":"prior_year_minimum_tax.sdtw_line_14","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Schedule D Tax Worksheet in your records.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.sdtw_line_14","includes_united_states":false,"kind":"money","label":"What is on line 14 of your Schedule D tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"}},{"binds":"prior_year_minimum_tax.sdtw_line_21","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Schedule D Tax Worksheet in your records.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.sdtw_line_21","includes_united_states":false,"kind":"money","label":"What is on line 21 of your Schedule D tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"}},{"binds":"prior_year_minimum_tax.sdtw_line_6","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The worksheet in your records, or its version for the alternative minimum tax if your gains differed for that tax.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.sdtw_line_6","includes_united_states":false,"kind":"money","label":"What is on line 6 of your Schedule D tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.sdtw_line_9","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The worksheet in your records, or its version for the alternative minimum tax if your gains differed for that tax.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.sdtw_line_9","includes_united_states":false,"kind":"money","label":"What is on line 9 of your Schedule D tax worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.schedule_d_line_18","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The 28% rate gain on that line. Enter 0 if the line is blank.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.schedule_d_line_18","includes_united_states":false,"kind":"money","label":"What is on line 18 of your Schedule D for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_13","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The Unrecaptured Section 1250 Gain Worksheet in your records. Enter 0 if you have none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.s1250_line_13","includes_united_states":false,"kind":"money","label":"What is on line 13 of your section 1250 gain worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_14","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The same worksheet in your records. Enter 0 if you have none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.s1250_line_14","includes_united_states":false,"kind":"money","label":"What is on line 14 of your section 1250 gain worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_15","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The same worksheet in your records. Enter it as a negative amount if it is in parentheses, or 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.s1250_line_15","includes_united_states":false,"kind":"money","label":"What is on line 15 of your section 1250 gain worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.s1250_line_16","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The same worksheet in your records. Enter it as a negative amount if it is in parentheses, or 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.s1250_line_16","includes_united_states":false,"kind":"money","label":"What is on line 16 of your section 1250 gain worksheet for last year?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.filed_form_2555"}]}},{"binds":"prior_year_minimum_tax.amt_worksheet_differs","clears":["deductions_credits.prior_year_minimum_tax.amt_worksheet_line"],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of last year's Form 6251 show it. That extra tax is worked out on its own rules. Gains can differ for it after a sale of shares from an incentive stock option, which have a different cost for that tax.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.amt_worksheet_differs","includes_united_states":false,"kind":"yesno","label":"Were your gains last year different for the alternative minimum tax (an extra tax)?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"qualified_dividends"}]}]},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"qualified_dividends"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"qualified_dividends"}]}]},{"op":"or","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"schedule_d"},{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.tax_worksheet","value":"none"},{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.preferential_items"}]},{"op":"eq","ref":"deductions_credits.prior_year_minimum_tax.completed_worksheet","value":"schedule_d"}]}]}]}},{"binds":"prior_year_minimum_tax.amt_worksheet_line","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That extra tax uses its own figures. Take line 4 of the Qualified Dividends worksheet, or line 13 of the Schedule D worksheet, from your records, worked out again for that tax.","help_lines":[],"help_when":[],"id":"deductions_credits.prior_year_minimum_tax.amt_worksheet_line","includes_united_states":false,"kind":"money","label":"What is your worksheet line for the alternative minimum tax (an extra tax)?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.minimum_tax.PriorYearMinimumTaxFacts._check_branches","required_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.amt_worksheet_differs"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"deductions_credits.prior_year_minimum_tax.amt_worksheet_differs"}},{"binds":"educator_expenses.taxpayer_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your receipts show it: books, supplies, equipment and courses for your teaching. Leave out anything paid back to you outside your Form W-2 pay, or paid from a 529 plan or Coverdell account tax free. We apply the yearly limit.","help_lines":[],"help_when":[],"id":"deductions_credits.educator_expenses.taxpayer_expenses","includes_united_states":false,"kind":"money","label":"How much did you pay for classroom costs as an educator this year?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_educator_expenses","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"educator_expenses.spouse_expenses","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Their receipts show it. Enter 0 if your spouse is not a teacher, instructor, counselor, principal or aide from kindergarten to grade 12. We apply the limit for each of you.","help_lines":[],"help_when":[],"id":"deductions_credits.educator_expenses.spouse_expenses","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for classroom costs as an educator?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_educator_expenses","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"educator_expenses.schools_in_united_states","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The deduction is for a school from kindergarten to grade 12 as a state's law sets it. The IRS does not say whether a school abroad counts, so we cannot file a return that includes one.","help_lines":[],"help_when":[],"id":"deductions_credits.educator_expenses.schools_in_united_states","includes_united_states":false,"kind":"yesno","label":"Were your classroom costs all for schools in the United States?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_educator_expenses","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.educator_expenses"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"early_withdrawal_penalty","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 2 of your Form 1099-INT, or box 3 of a Form 1099-OID, shows it. A bank abroad shows it on its statement. Add the penalties of all your accounts.","help_lines":[],"help_when":[],"id":"deductions_credits.early_withdrawal_penalty","includes_united_states":false,"kind":"money","label":"How much were you charged as a penalty for taking savings out early?","label_when":[],"options":[],"placeholder":"75","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch1_adjustments.early_withdrawal_penalty_line","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.early_withdrawal_penalty"},{"op":"truthy","ref":"deductions_credits.screened_inputs.early_withdrawal_penalty"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.screened_inputs.early_withdrawal_penalty"}},{"binds":"student_loan_interest_paid","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Box 1 of each Form 1098-E shows it, or your lender's statement. Count only loans taken out just to pay for college for you, your spouse or a dependent. We apply the limit, which is lower at higher incomes.","help_lines":[],"help_when":[],"id":"deductions_credits.student_loan_interest_paid","includes_united_states":false,"kind":"money","label":"How much interest did you pay on student loans this year?","label_when":[],"options":[],"placeholder":"1200","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch1_adjustments.compute_student_loan_interest","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.student_loan_interest"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.student_loan_interest"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.student_loan_interest"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfs"}]}]}},{"binds":"residential_energy.joint_occupancy","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it: a person living with you who paid part of the items. Each of you then claims a share.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.joint_occupancy","includes_united_states":false,"kind":"yesno","label":"Did anyone but your spouse share these home costs with you?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.solar_electric_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Count only homes in the United States you live in. Leave out any subsidy from a utility. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.solar_electric_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for solar panels that make electricity?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.solar_water_heating_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Count only homes in the United States you live in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.solar_water_heating_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for solar water heating?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.small_wind_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Count only homes in the United States you live in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.small_wind_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a small wind turbine for your home?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.geothermal_heat_pump_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. It must meet the Energy Star rules in effect when you bought it. Count only homes in the United States you live in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.geothermal_heat_pump_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a geothermal heat pump?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.battery_storage_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Count only homes in the United States you live in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.battery_storage_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for home battery storage?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.battery_at_least_3_kwh","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The battery's spec sheet or invoice gives its capacity. A smaller battery gets no credit.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.battery_at_least_3_kwh","includes_united_states":false,"kind":"yesno","label":"Does your battery hold at least 3 kilowatt hours?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0}]}]}},{"binds":"residential_energy.biomass_fuel_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Its thermal efficiency must be at least 75%. Count only homes in the United States you live in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.biomass_fuel_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a stove or boiler burning biomass fuel?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2020},{"op":"lt","ref":"context.tax_year","value":2023}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2020},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.fuel_cell_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it. Enter 0 if none.","help_lines":[],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"If only your spouse has one, at their own main home, enter theirs."]],"id":"deductions_credits.residential_energy.fuel_cell_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a fuel cell for your main home?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.fuel_cell_main_home_in_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your main home is where you live most of the time. Your own records show it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_main_home_in_us","includes_united_states":false,"kind":"yesno","label":"Is the fuel cell at your main home in the United States?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}},{"address_variant":"full","binds":"residential_energy.fuel_cell_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on your installer's invoice.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_home","includes_united_states":false,"kind":"address","label":"What is the address of your main home with the fuel cell?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_main_home_in_us"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_main_home_in_us"}]}]}},{"binds":"residential_energy.fuel_cell_capacity_watts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice or the unit's spec sheet gives it, for example 1500 for 1.5 kilowatts.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_capacity_watts","includes_united_states":false,"kind":"integer","label":"What is your fuel cell's capacity in watts?","label_when":[],"options":[],"placeholder":"1500","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"fuel_cell_watts":{"message_bounds":"Enter the capacity in watts, a whole number from 0 to 10000000."}},"validators":["fuel_cell_watts"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}},{"binds":"residential_energy.fuel_cell_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for the fuel cell?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]}},{"binds":"residential_energy.fuel_cell_spouse_different_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you each had your own main home with a fuel cell. Your spouse's invoice shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_spouse_different_home","includes_united_states":false,"kind":"yesno","label":"Did your spouse also put a fuel cell in at a different main home?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]}},{"binds":"residential_energy.fuel_cell_spouse_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's installer's invoice shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_spouse_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for the fuel cell at that home?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"address_variant":"full","binds":"residential_energy.fuel_cell_spouse_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on the installer's invoice. A statement with your return gives it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_spouse_home","includes_united_states":false,"kind":"address","label":"What is the address of your spouse's main home with that fuel cell?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"binds":"residential_energy.fuel_cell_spouse_capacity_watts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The invoice or the unit's spec sheet gives it, for example 1500 for 1.5 kilowatts.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_spouse_capacity_watts","includes_united_states":false,"kind":"integer","label":"What is the capacity of your spouse's fuel cell in watts?","label_when":[],"options":[],"placeholder":"1500","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"fuel_cell_watts":{"message_bounds":"Enter the capacity in watts, a whole number from 0 to 10000000."}},"validators":["fuel_cell_watts"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"binds":"residential_energy.fuel_cell_spouse_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's records show it. Include your spouse's part. If no one else shared it, enter the same amount.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fuel_cell_spouse_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did your spouse and anyone sharing that home pay for it?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0},{"op":"truthy","ref":"deductions_credits.residential_energy.fuel_cell_spouse_different_home"}]}]}},{"address_variant":"full","binds":"residential_energy.clean_energy_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on your installer's invoice. With more than one home in the United States, give the one that cost the most.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_home","includes_united_states":false,"kind":"address","label":"What is the address of your United States home with this equipment?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]}]}},{"binds":"residential_energy.clean_energy_more_than_one_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installers' invoices show each address. Count a home abroad here too: it gets no credit, and the costs above leave it out.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_more_than_one_home","includes_united_states":false,"kind":"yesno","label":"Did you put such equipment in at more than one home?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]}]}},{"binds":"residential_energy.clean_energy_home_cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Leave out a fuel cell.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_home_cost","includes_united_states":false,"kind":"money","label":"How much did your equipment at that first home cost?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"truthy","ref":"deductions_credits.residential_energy.clean_energy_more_than_one_home"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"truthy","ref":"deductions_credits.residential_energy.clean_energy_more_than_one_home"}]}]}},{"add_label":"Add a home","binds":"residential_energy.clean_energy_other_homes[]","help":"Add one row for each other home. Where the form asks, a statement with your return lists those in the United States.","id":"deductions_credits.residential_energy.clean_energy_other_homes","kind":"repeat","label":"Which other homes did you put such equipment in?","min_rows":1,"nodes":[{"address_variant":"full","binds":"residential_energy.clean_energy_other_homes[].address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on your installer's invoice for it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_other_homes.address","includes_united_states":false,"kind":"address","label":"What is the address of your other home?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"residential_energy.clean_energy_other_homes[].cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Leave out a fuel cell.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_other_homes.cost","includes_united_states":false,"kind":"money","label":"How much did your equipment at this home cost?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]}],"row_label":"Home","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"truthy","ref":"deductions_credits.residential_energy.clean_energy_more_than_one_home"}]}]}},{"binds":"residential_energy.clean_energy_business_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Solar panels that also power a home office or a rented unit count as business use. Your own records of how the home is used show it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_business_use","includes_united_states":false,"kind":"choice","label":"How much do you use this equipment for business or a rental?","label_when":[],"options":[{"label":"None, or 20% or less for every item.","value":"none_or_up_to_20"},{"label":"More than 20%, the same share for every item.","value":"same_share"},{"label":"More than 20%, with a different share for some items.","value":"different_shares"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]}]}},{"binds":"residential_energy.clean_energy_personal_use_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records of how the home is used show it. For example 70 if 30% serves a home office. The credit counts only that share of each cost.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.clean_energy_personal_use_percent","includes_united_states":false,"kind":"integer","label":"What percent of your use of this equipment is personal?","label_when":[],"options":[],"placeholder":"70","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]},{"op":"eq","ref":"deductions_credits.residential_energy.clean_energy_business_use","value":"same_share"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"percent_of_hundred":{"message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75."}},"validators":["percent_of_hundred"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.solar_electric_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.solar_water_heating_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.small_wind_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.geothermal_heat_pump_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.battery_storage_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.biomass_fuel_costs","value":0}]},{"op":"gt","ref":"deductions_credits.residential_energy.fuel_cell_costs","value":0}]},{"op":"eq","ref":"deductions_credits.residential_energy.clean_energy_business_use","value":"same_share"}]}]}},{"binds":"residential_energy.carryforward_from_prior_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 16 of last year's Form 5695 shows it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.carryforward_from_prior_year","includes_united_states":false,"kind":"money","label":"How much clean energy credit did your last return carry forward?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_clean_energy_carryforward"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_clean_energy_carryforward"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_clean_energy_carryforward"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.insulation_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting it in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.insulation_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for insulation or air sealing material?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]}},{"binds":"residential_energy.insulation_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.insulation_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that insulation?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0}]}]}]}},{"add_label":"Add an item","binds":"residential_energy.items[]","help":"Add one row for each item. On a 2025 return each needs its four-character manufacturer code (QMID), which the manufacturer or your installer gives you.","id":"deductions_credits.residential_energy.items","kind":"repeat","label":"Which doors, windows or heating and cooling items did you put in?","min_rows":0,"nodes":[{"binds":"residential_energy.items[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice names it. Each must meet the energy rules for the credit.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.items.kind","includes_united_states":false,"kind":"choice","label":"What kind of item did you put in?","label_when":[],"options":[{"label":"An exterior door.","value":"exterior_door"},{"label":"An exterior window or skylight.","value":"window_or_skylight"},{"label":"A central air conditioner.","value":"central_air_conditioner"},{"label":"A natural gas, propane or oil water heater.","value":"water_heater"},{"label":"A natural gas, propane or oil furnace or hot water boiler.","value":"furnace_or_boiler"},{"label":"An electric or natural gas heat pump.","value":"heat_pump"},{"label":"An electric or natural gas heat pump water heater.","value":"heat_pump_water_heater"},{"label":"A biomass stove or biomass boiler.","value":"biomass_stove_or_boiler"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"residential_energy.items[].cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Count labor for heating and cooling items, not for doors and windows. Leave out any utility subsidy.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.items.cost","includes_united_states":false,"kind":"money","label":"How much did this item cost you?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"residential_energy.items[].qmid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The qualified manufacturer identification number (QMID) is on the manufacturer's certificate or your installer's paperwork.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.items.qmid","includes_united_states":false,"kind":"text","label":"What is your item's four-character manufacturer code?","label_when":[],"options":[],"placeholder":"A1B2","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"eq","ref":"context.tax_year","value":2025},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"qmid":{"message":"Enter the four-character code: a letter, a digit, a letter and a digit, for example A1B2."}},"validators":["qmid"],"visible_when":{"op":"eq","ref":"context.tax_year","value":2025}},{"binds":"residential_energy.items[].total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.items.total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for this item?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"}}],"row_label":"Item","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.enabling_property_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your electrician's invoice shows it. It counts only if it was needed for one of the items above. Enter 0 if none.","help_lines":["It also has to be put in to the National Electric Code and carry a load of at least 200 amps. Your electrician's invoice or permit says so."],"help_when":[],"id":"deductions_credits.residential_energy.enabling_property_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a new electrical panel or circuits?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.enabling_property_enables","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your electrician's invoice says what it was put in for.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.enabling_property_enables","includes_united_states":false,"kind":"choice","label":"Which of your items does the new panel or circuit serve?","label_when":[],"options":[{"label":"An exterior window or skylight.","value":"window_or_skylight"},{"label":"A central air conditioner.","value":"central_air_conditioner"},{"label":"A natural gas, propane or oil water heater.","value":"water_heater"},{"label":"A natural gas, propane or oil furnace or hot water boiler.","value":"furnace_or_boiler"},{"label":"An electric or natural gas heat pump.","value":"heat_pump"},{"label":"An electric or natural gas heat pump water heater.","value":"heat_pump_water_heater"},{"label":"A biomass stove or biomass boiler.","value":"biomass_stove_or_boiler"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.enabling_installed_with_enabled_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoices give the dates.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.enabling_installed_with_enabled_this_year","includes_united_states":false,"kind":"yesno","label":"Did you put in the panel and that item both this year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.enabling_consecutive_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoices give the dates. When the two went in a year apart, you can count both as put in this year, and the panel then gets the credit here.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.enabling_consecutive_year","includes_united_states":false,"kind":"choice","label":"Did you put one of them in last year and the other this year?","label_when":[],"options":[{"label":"Yes, the panel went in last year, and I count both as this year's.","value":"panel_last_year"},{"label":"Yes, the item went in last year.","value":"item_last_year"},{"label":"No.","value":"no"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"eq","ref":"deductions_credits.residential_energy.enabling_installed_with_enabled_this_year","value":false}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"eq","ref":"deductions_credits.residential_energy.enabling_installed_with_enabled_this_year","value":false}]}]}]}},{"binds":"residential_energy.enabling_property_qmid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The QMID is on the manufacturer's certificate or your electrician's paperwork.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.enabling_property_qmid","includes_united_states":false,"kind":"text","label":"What is your panel's four-character manufacturer code?","label_when":[],"options":[],"placeholder":"A1B2","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"qmid":{"message":"Enter the four-character code: a letter, a digit, a letter and a digit, for example A1B2."}},"validators":["qmid"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}},{"binds":"residential_energy.enabling_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.enabling_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for the panel?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0}]}]}]}},{"binds":"residential_energy.home_energy_audit_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The auditor's invoice shows it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.home_energy_audit_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a home energy audit?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"gt","ref":"context.tax_year","value":2022}]}},{"binds":"residential_energy.home_energy_audit_qualified","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The report names the auditor and their certification program. The auditor must be certified.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2023},"If your audit was in 2023, the auditor did not have to be certified."]],"id":"deductions_credits.residential_energy.home_energy_audit_qualified","includes_united_states":false,"kind":"yesno","label":"Did the home energy auditor give you a written report?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0}]}]}},{"binds":"residential_energy.audit_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.audit_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for the audit?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0}]}]}]}},{"binds":"residential_energy.exterior_door_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting them in. They must meet the Energy Star rules. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.exterior_door_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for new exterior doors?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.roof_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting it in. It must meet the Energy Star rules. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.roof_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for an energy-saving metal or asphalt roof?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.window_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting them in. They must meet the Energy Star rules. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.window_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for new exterior windows and skylights?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.window_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.window_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for those windows?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}]}},{"binds":"residential_energy.prior_window_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Those forms show it: add the window line of each form from 2006 on. Multiply what the 2009 and 2010 forms show by 3 first. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.prior_window_expenses","includes_united_states":false,"kind":"money","label":"How much in window costs did your earlier Forms 5695 report?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}},{"binds":"residential_energy.building_property_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Enter 0 if none.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2021},"Add what you paid for a stove that burns biomass fuel."]],"id":"deductions_credits.residential_energy.building_property_costs","includes_united_states":false,"kind":"money","label":"What did you pay for a heat pump, central air or water heater?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.building_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.building_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that equipment?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0}]}]}]}},{"binds":"residential_energy.furnace_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. It must burn natural gas, propane or oil. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.furnace_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for an efficient furnace or hot water boiler?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.furnace_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.furnace_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that furnace?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0}]}]}]}},{"binds":"residential_energy.circulating_fan_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.circulating_fan_costs","includes_united_states":false,"kind":"money","label":"How much did you pay for a furnace's main air circulating fan?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"lt","ref":"context.tax_year","value":2023}]}},{"binds":"residential_energy.fan_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.fan_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that fan?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}},{"address_variant":"full","binds":"residential_energy.improvement_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on the invoices.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.improvement_home","includes_united_states":false,"kind":"address","label":"What is the address of your home with these items?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.improvement_home_is_main_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Insulation, doors, windows and an audit count only for a main home in the United States.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"On your return for this year, every item here counts only for a main home in the United States."]],"id":"deductions_credits.residential_energy.improvement_home_is_main_home","includes_united_states":false,"kind":"yesno","label":"Is that home your main home, the one you mostly live in?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.original_user","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The invoices show new items. Used items get no credit.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.original_user","includes_united_states":false,"kind":"yesno","label":"Were you the first to use these items, new when put in?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.expected_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The manufacturer's papers give the expected life.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"Count your roof with them."]],"id":"deductions_credits.residential_energy.expected_five_years","includes_united_states":false,"kind":"yesno","label":"Do you expect the insulation, doors and windows to last five years?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.construction_related","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The builder's contract shows it. The credit for insulation, doors and windows is only for an existing home.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"If yes, go back and enter only your costs not related to building the home. This credit does not count building costs."]],"id":"deductions_credits.residential_energy.construction_related","includes_united_states":false,"kind":"yesno","label":"Were any of your items part of building the home?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}},{"binds":"residential_energy.condo_or_cooperative_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The association's or cooperative's statement shows your share. Enter it as your own cost.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.condo_or_cooperative_share","includes_united_states":false,"kind":"yesno","label":"Are these your share of a condominium's or cooperative's costs?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.improvement_home_owned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deed or property tax bill shows it. The credit for insulation, doors and windows is only for a main home you owned. Heating and cooling items count in a home you rent too.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"On your return for this year, a roof counts with them."]],"id":"deductions_credits.residential_energy.improvement_home_owned","includes_united_states":false,"kind":"yesno","label":"Did you own that home during the year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]}]}},{"binds":"residential_energy.improvement_business_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A home office or a rented room counts as business use. Your own records of how the space is used show it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.improvement_business_use","includes_united_states":false,"kind":"choice","label":"How much do you use these items for business or a rental?","label_when":[],"options":[{"label":"None, or 20% or less for every item.","value":"none_or_up_to_20"},{"label":"More than 20%, the same share for every item.","value":"same_share"},{"label":"More than 20%, with a different share for some items.","value":"different_shares"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.improvement_home_owned","value":false}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.improvement_home_owned","value":false}]}]}]}},{"binds":"residential_energy.improvement_personal_use_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records of how the space is used show it. For example 70 if 30% is a home office. The credit counts only that share of each cost.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.improvement_personal_use_percent","includes_united_states":false,"kind":"integer","label":"What percent of your use of these items is personal?","label_when":[],"options":[],"placeholder":"70","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.improvement_home_owned","value":false}]}]},{"op":"eq","ref":"deductions_credits.residential_energy.improvement_business_use","value":"same_share"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"percent_of_hundred":{"message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75."}},"validators":["percent_of_hundred"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.improvement_home_owned","value":false}]}]},{"op":"eq","ref":"deductions_credits.residential_energy.improvement_business_use","value":"same_share"}]}]}},{"binds":"residential_energy.line_24_all_owners","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each owner's own Form 5695, line 24, shows it. Include yours. It shares out the limit on line 25 of the form.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.line_24_all_owners","includes_united_states":false,"kind":"money","label":"What total do you and the home's other owners show on line 24?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.joint_occupancy"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouses_separate_main_homes","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you each owned and lived in a separate main home and your spouse also paid for insulation, doors, windows, heating or an audit there. Each home then has its own limit.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouses_separate_main_homes","includes_united_states":false,"kind":"yesno","label":"Did your spouse improve a separate main home they lived in?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"residential_energy.prior_lifetime_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each earlier Form 5695 shows it: line 30 for 2013 on, line 32 for 2012, and the credit line of earlier years. Add them all. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.prior_lifetime_credit","includes_united_states":false,"kind":"money","label":"How much of this credit did you take on earlier returns since 2006?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}]}]}]}},{"binds":"residential_energy.spouse_home.joint_occupancy","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse's records show it: someone living in that home who paid part of these items.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.joint_occupancy","includes_united_states":false,"kind":"yesno","label":"Did anyone but your spouse share your spouse's home's costs?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}]}},{"binds":"residential_energy.spouse_home.insulation_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting it in. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.insulation_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for insulation or air sealing material?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]}]}},{"binds":"residential_energy.spouse_home.insulation_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.insulation_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that insulation?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0}]}]}]}]}},{"add_label":"Add an item","binds":"residential_energy.spouse_home.items[]","help":"Add one row for each item. On a 2025 return each needs its four-character manufacturer code (QMID), which the manufacturer or your installer gives you.","id":"deductions_credits.residential_energy.spouse_home.items","kind":"repeat","label":"Which doors, windows or heating and cooling items did your spouse put in?","min_rows":0,"nodes":[{"binds":"residential_energy.spouse_home.items[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice names it. Each must meet the energy rules for the credit.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.items.kind","includes_united_states":false,"kind":"choice","label":"What kind of item did you put in?","label_when":[],"options":[{"label":"An exterior door.","value":"exterior_door"},{"label":"An exterior window or skylight.","value":"window_or_skylight"},{"label":"A central air conditioner.","value":"central_air_conditioner"},{"label":"A natural gas, propane or oil water heater.","value":"water_heater"},{"label":"A natural gas, propane or oil furnace or hot water boiler.","value":"furnace_or_boiler"},{"label":"An electric or natural gas heat pump.","value":"heat_pump"},{"label":"An electric or natural gas heat pump water heater.","value":"heat_pump_water_heater"},{"label":"A biomass stove or biomass boiler.","value":"biomass_stove_or_boiler"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"residential_energy.spouse_home.items[].cost","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Count labor for heating and cooling items, not for doors and windows. Leave out any utility subsidy.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.items.cost","includes_united_states":false,"kind":"money","label":"How much did this item cost you?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"residential_energy.spouse_home.items[].qmid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The qualified manufacturer identification number (QMID) is on the manufacturer's certificate or your installer's paperwork.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.items.qmid","includes_united_states":false,"kind":"text","label":"What is your item's four-character manufacturer code?","label_when":[],"options":[],"placeholder":"A1B2","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"eq","ref":"context.tax_year","value":2025},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"qmid":{"message":"Enter the four-character code: a letter, a digit, a letter and a digit, for example A1B2."}},"validators":["qmid"],"visible_when":{"op":"eq","ref":"context.tax_year","value":2025}},{"binds":"residential_energy.spouse_home.items[].total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.items.total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for this item?","label_when":[],"options":[],"placeholder":"1000","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"}}],"row_label":"Item","visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]}]}},{"binds":"residential_energy.spouse_home.enabling_property_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your electrician's invoice shows it. It counts only if it was needed for one of the items above. Enter 0 if none.","help_lines":["It also has to be put in to the National Electric Code and carry a load of at least 200 amps. Your electrician's invoice or permit says so."],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for a new electrical panel or circuits?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]}]}},{"binds":"residential_energy.spouse_home.enabling_property_enables","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your electrician's invoice says what it was put in for.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.enabling_property_enables","includes_united_states":false,"kind":"choice","label":"Which of your items does the new panel or circuit serve?","label_when":[],"options":[{"label":"An exterior window or skylight.","value":"window_or_skylight"},{"label":"A central air conditioner.","value":"central_air_conditioner"},{"label":"A natural gas, propane or oil water heater.","value":"water_heater"},{"label":"A natural gas, propane or oil furnace or hot water boiler.","value":"furnace_or_boiler"},{"label":"An electric or natural gas heat pump.","value":"heat_pump"},{"label":"An electric or natural gas heat pump water heater.","value":"heat_pump_water_heater"},{"label":"A biomass stove or biomass boiler.","value":"biomass_stove_or_boiler"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.enabling_installed_with_enabled_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoices give the dates.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.enabling_installed_with_enabled_this_year","includes_united_states":false,"kind":"yesno","label":"Did you put in the panel and that item both this year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.enabling_consecutive_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoices give the dates. When the two went in a year apart, you can count both as put in this year, and the panel then gets the credit here.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.enabling_consecutive_year","includes_united_states":false,"kind":"choice","label":"Did you put one of them in last year and the other this year?","label_when":[],"options":[{"label":"Yes, the panel went in last year, and I count both as this year's.","value":"panel_last_year"},{"label":"Yes, the item went in last year.","value":"item_last_year"},{"label":"No.","value":"no"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"eq","ref":"deductions_credits.residential_energy.spouse_home.enabling_installed_with_enabled_this_year","value":false}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"and","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"eq","ref":"deductions_credits.residential_energy.spouse_home.enabling_installed_with_enabled_this_year","value":false}]}]}]}]}},{"binds":"residential_energy.spouse_home.enabling_property_qmid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The QMID is on the manufacturer's certificate or your electrician's paperwork.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.enabling_property_qmid","includes_united_states":false,"kind":"text","label":"What is your panel's four-character manufacturer code?","label_when":[],"options":[],"placeholder":"A1B2","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"qmid":{"message":"Enter the four-character code: a letter, a digit, a letter and a digit, for example A1B2."}},"validators":["qmid"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.enabling_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.enabling_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for the panel?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.home_energy_audit_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The auditor's invoice shows it. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for a home energy audit?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"gt","ref":"context.tax_year","value":2022}]}]}},{"binds":"residential_energy.spouse_home.home_energy_audit_qualified","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The report names the auditor and their certification program. The auditor must be certified.","help_lines":[],"help_when":[[{"op":"eq","ref":"context.tax_year","value":2023},"If your audit was in 2023, the auditor did not have to be certified."]],"id":"deductions_credits.residential_energy.spouse_home.home_energy_audit_qualified","includes_united_states":false,"kind":"yesno","label":"Did the home energy auditor give you a written report?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.audit_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.audit_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for the audit?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2022},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.exterior_door_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting them in. They must meet the Energy Star rules. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for new exterior doors?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.spouse_home.roof_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting it in. It must meet the Energy Star rules. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.roof_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for an energy-saving metal or asphalt roof?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.spouse_home.window_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your invoice shows it. Leave out the cost of putting them in. They must meet the Energy Star rules. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.window_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for new exterior windows and skylights?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.spouse_home.window_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.window_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for those windows?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.prior_window_expenses","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Those forms show it: add the window line of each form from 2006 on. Multiply what the 2009 and 2010 forms show by 3 first. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.prior_window_expenses","includes_united_states":false,"kind":"money","label":"How much in window costs did your earlier Forms 5695 report?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.building_property_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Enter 0 if none.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2021},"Add what you paid for a stove that burns biomass fuel."]],"id":"deductions_credits.residential_energy.spouse_home.building_property_costs","includes_united_states":false,"kind":"money","label":"What did your spouse pay for a heat pump, central air or water heater?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.spouse_home.building_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.building_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that equipment?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.furnace_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. It must burn natural gas, propane or oil. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.furnace_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for an efficient furnace or hot water boiler?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.spouse_home.furnace_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.furnace_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that furnace?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.circulating_fan_costs","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your installer's invoice shows it, labor included. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","includes_united_states":false,"kind":"money","label":"How much did your spouse pay for a furnace's main air circulating fan?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"lt","ref":"context.tax_year","value":2023}]}]}},{"binds":"residential_energy.spouse_home.fan_total_paid_by_all","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your records of who paid what show it. Include your own part.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.fan_total_paid_by_all","includes_united_states":false,"kind":"money","label":"What did you and everyone sharing your home pay for that fan?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}]}},{"address_variant":"full","binds":"residential_energy.spouse_home.improvement_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on the invoices.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.improvement_home","includes_united_states":false,"kind":"address","label":"What is the address of your spouse's home with these items?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_home_is_main_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records show it. Insulation, doors, windows and an audit count only for a main home in the United States.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"On your return for this year, every item here counts only for a main home in the United States."]],"id":"deductions_credits.residential_energy.spouse_home.improvement_home_is_main_home","includes_united_states":false,"kind":"yesno","label":"Is that home your spouse's main home, the one your spouse mostly live in?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.original_user","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The invoices show new items. Used items get no credit.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.original_user","includes_united_states":false,"kind":"yesno","label":"Was your spouse the first to use these items, new when put in?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.expected_five_years","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The manufacturer's papers give the expected life.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"Count your roof with them."]],"id":"deductions_credits.residential_energy.spouse_home.expected_five_years","includes_united_states":false,"kind":"yesno","label":"Do you expect the insulation, doors and windows to last five years?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.construction_related","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The builder's contract shows it. The credit for insulation, doors and windows is only for an existing home.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"If yes, go back and enter only your costs not related to building the home. This credit does not count building costs."]],"id":"deductions_credits.residential_energy.spouse_home.construction_related","includes_united_states":false,"kind":"yesno","label":"Were any of your items part of building the home?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.condo_or_cooperative_share","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The association's or cooperative's statement shows your share. Enter it as your own cost.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.condo_or_cooperative_share","includes_united_states":false,"kind":"yesno","label":"Are these your spouse's share of a condominium's or cooperative's costs?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2025},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_home_owned","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your deed or property tax bill shows it. The credit for insulation, doors and windows is only for a main home you owned. Heating and cooling items count in a home you rent too.","help_lines":[],"help_when":[[{"op":"lt","ref":"context.tax_year","value":2023},"On your return for this year, a roof counts with them."]],"id":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","includes_united_states":false,"kind":"yesno","label":"Did your spouse own that home during the year?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_business_use","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A home office or a rented room counts as business use. Your own records of how the space is used show it.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.improvement_business_use","includes_united_states":false,"kind":"choice","label":"How much do you use these items for business or a rental?","label_when":[],"options":[{"label":"None, or 20% or less for every item.","value":"none_or_up_to_20"},{"label":"More than 20%, the same share for every item.","value":"same_share"},{"label":"More than 20%, with a different share for some items.","value":"different_shares"}],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","value":false}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","value":false}]}]}]}]}},{"binds":"residential_energy.spouse_home.improvement_personal_use_percent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your own records of how the space is used show it. For example 70 if 30% is a home office. The credit counts only that share of each cost.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.improvement_personal_use_percent","includes_united_states":false,"kind":"integer","label":"What percent of your use of these items is personal?","label_when":[],"options":[],"placeholder":"70","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","value":false}]}]},{"op":"eq","ref":"deductions_credits.residential_energy.spouse_home.improvement_business_use","value":"same_share"}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"percent_of_hundred":{"message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75."}},"validators":["percent_of_hundred"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"not","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"any_row","ref":"deductions_credits.residential_energy.spouse_home.items","rules":[{"op":"in","ref":"deductions_credits.residential_energy.spouse_home.items.kind","values":["exterior_door","window_or_skylight"]}]},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0}]},{"op":"ne","ref":"deductions_credits.residential_energy.spouse_home.improvement_home_owned","value":false}]}]},{"op":"eq","ref":"deductions_credits.residential_energy.spouse_home.improvement_business_use","value":"same_share"}]}]}]}},{"binds":"residential_energy.spouse_home.prior_lifetime_credit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each earlier Form 5695 shows it: line 30 for 2013 on, line 32 for 2012, and the credit line of earlier years. Add them all. Enter 0 if none.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.prior_lifetime_credit","includes_united_states":false,"kind":"money","label":"How much of this credit did your spouse take on earlier returns since 2006?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}]}},{"binds":"residential_energy.spouse_home.line_24_all_owners","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Each owner's own Form 5695, line 24, shows it. Include yours. It shares out the limit on line 25 of the form.","help_lines":[],"help_when":[],"id":"deductions_credits.residential_energy.spouse_home.line_24_all_owners","includes_united_states":false,"kind":"money","label":"What total do you and the home's other owners show on line 24?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f5695.compute_form_5695","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.screened_inputs.residential_energy_credit"},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2018},{"op":"lt","ref":"context.tax_year","value":2026}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"truthy","ref":"deductions_credits.residential_energy.spouses_separate_main_homes"}]},{"op":"and","rules":[{"op":"lt","ref":"context.tax_year","value":2023},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.residential_energy.spouse_home.joint_occupancy"},{"op":"or","rules":[{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.insulation_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.enabling_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.home_energy_audit_costs","value":0},{"op":"count_gt","ref":"deductions_credits.residential_energy.spouse_home.items","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.exterior_door_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.roof_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.window_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.building_property_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.furnace_costs","value":0},{"op":"gt","ref":"deductions_credits.residential_energy.spouse_home.circulating_fan_costs","value":0}]}]}]}]}]}},{"binds":"taxpayer.has_valid_ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Some of the deductions and credits on your return need such a number, such as the deductions for tips, overtime pay and people aged 65 or over, and for some years the education credits. Check your Social Security card. Choose Not sure if you cannot tell: where a deduction or credit on your return needs the answer, the return cannot be filed from here until you answer yes or no.","help_lines":["A number issued while the person was a United States citizen is valid for employment.","A card marked not valid for employment does not count, and neither does an individual taxpayer identification number.","A card marked valid for work only with Department of Homeland Security authorization counts only while that authorization is valid.","The due date counts any extension of time to file."],"help_when":[],"id":"deductions_credits.taxpayer.has_valid_ssn","includes_united_states":false,"kind":"yesno","label":"Do you hold a work-valid Social Security number issued by your return's due date?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.valid_ssn.person_has_valid_ssn","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2024},{"op":"ne","ref":"about_you.filing_status","value":"mfs"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"any_row","ref":"deductions_credits.additional_deductions.employee_tips","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.employee_tips.owner","value":"spouse"}]}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_w2_rows","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.overtime_w2_rows.owner","value":"spouse"}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_1099_rows","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.overtime_1099_rows.owner","value":"spouse"}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"count_gt","ref":"deductions_credits.additional_deductions.business_tips","value":0}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":65}]}]}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2024},{"op":"ne","ref":"about_you.filing_status","value":"mfs"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"any_row","ref":"deductions_credits.additional_deductions.employee_tips","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.employee_tips.owner","value":"spouse"}]}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_w2_rows","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.overtime_w2_rows.owner","value":"spouse"}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_1099_rows","rules":[{"op":"ne","ref":"deductions_credits.additional_deductions.overtime_1099_rows.owner","value":"spouse"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"count_gt","ref":"deductions_credits.additional_deductions.business_tips","value":0}]},{"op":"and","rules":[{"op":"answered","ref":"about_you.taxpayer.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"about_you.taxpayer.date_of_birth","value":64}]}]}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]}]}},{"binds":"spouse.has_valid_ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The deductions for tips, overtime pay and people aged 65 or over each need such a number for the spouse they are claimed for, and for some years the education credits need one held by one of you. Check their Social Security card. Choose Not sure if you cannot tell: where a deduction or credit on your return needs the answer, the return cannot be filed from here until you answer yes or no.","help_lines":["A number issued while the person was a United States citizen is valid for employment.","A card marked not valid for employment does not count, and neither does an individual taxpayer identification number.","A card marked valid for work only with Department of Homeland Security authorization counts only while that authorization is valid.","The due date counts any extension of time to file."],"help_when":[],"id":"deductions_credits.spouse.has_valid_ssn","includes_united_states":false,"kind":"yesno","label":"Does your spouse hold a work-valid Social Security number issued by your due date?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.valid_ssn.person_has_valid_ssn","required_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2024},{"op":"ne","ref":"about_you.filing_status","value":"mfs"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"any_row","ref":"deductions_credits.additional_deductions.employee_tips","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.employee_tips.owner","value":"spouse"}]}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_w2_rows","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.overtime_w2_rows.owner","value":"spouse"}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_1099_rows","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.overtime_1099_rows.owner","value":"spouse"}]}]},{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":65}]}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.taxpayer.has_valid_ssn"}]}]}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2024},{"op":"ne","ref":"about_you.filing_status","value":"mfs"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"any_row","ref":"deductions_credits.additional_deductions.employee_tips","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.employee_tips.owner","value":"spouse"}]}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_w2_rows","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.overtime_w2_rows.owner","value":"spouse"}]},{"op":"any_row","ref":"deductions_credits.additional_deductions.overtime_1099_rows","rules":[{"op":"eq","ref":"deductions_credits.additional_deductions.overtime_1099_rows.owner","value":"spouse"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"deductions_credits.additional_deductions.tips_occupation_listed"},{"op":"count_gt","ref":"deductions_credits.additional_deductions.business_tips","value":0}]},{"op":"and","rules":[{"op":"answered","ref":"household.spouse.date_of_birth"},{"op":"not","rules":[{"op":"age_lt","ref":"household.spouse.date_of_birth","value":64}]}]}]}]},{"op":"and","rules":[{"op":"gt","ref":"context.tax_year","value":2025},{"op":"ne","ref":"about_you.filing_status","value":"mfs"},{"op":"truthy","ref":"deductions_credits.has_education_credits"}]}]}]}}],"review":false,"title":"Deductions and credits"},{"blurb":"List every account and investment you held outside the United States, even a small one or one you closed. Reporting them is separate from paying tax on them: each report starts above a total value, and we work out from your figures which reports you have to file.","id":"foreign_accounts","nodes":[{"clears":["foreign_accounts.has_foreign_accounts","foreign_accounts.has_foreign_assets","foreign_accounts.foreign_accounts","foreign_accounts.foreign_assets"],"currency_pickable":false,"derived_from_presence":["foreign_accounts[]","foreign_assets[]","excepted_forms"],"help":"Count a bank account, a pension, shares and cryptocurrency, and count one you only sign on or closed during the year. Answer no and we skip this whole page.","help_lines":[],"help_when":[],"id":"foreign_accounts.has_anything_abroad","includes_united_states":false,"kind":"yesno","label":"Did you hold any money or investment outside the United States this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["foreign_accounts.foreign_accounts"],"currency_pickable":false,"derived_from_presence":["foreign_accounts[]"],"help":"Count an account you only sign on, and count one you closed during the year.","help_lines":[],"help_when":[],"id":"foreign_accounts.has_foreign_accounts","includes_united_states":false,"kind":"yesno","label":"Did you hold a bank or investment account outside the United States this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.has_anything_abroad"}},{"clears":["foreign_accounts.foreign_assets"],"currency_pickable":false,"derived_from_presence":["foreign_assets[]"],"help":"Count shares held directly, a foreign pension fund and a share in a partnership.","help_lines":[],"help_when":[],"id":"foreign_accounts.has_foreign_assets","includes_united_states":false,"kind":"yesno","label":"Did you hold shares, a pension fund or other investment abroad outside an account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.has_anything_abroad"}},{"clears":["foreign_accounts.excepted_forms.form_3520","foreign_accounts.excepted_forms.form_3520a","foreign_accounts.excepted_forms.form_5471","foreign_accounts.excepted_forms.form_8865"],"currency_pickable":false,"derived_from_presence":["excepted_forms"],"help":"These are Forms 3520, 3520-A, 5471 and 8865. They report foreign trusts, foreign companies and foreign partnerships, and Form 8938 counts how many of each you filed. List the assets they report in this section as well, because their value still counts toward the limits that decide whether Form 8938 is due. A fund set up abroad is entered on the income page, and we prepare its Form 8621 with this return.","help_lines":[],"help_when":[],"id":"foreign_accounts.filed_excepted_forms","includes_united_states":false,"kind":"yesno","label":"Did you file a form about a foreign trust, company or partnership?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.has_anything_abroad"}},{"binds":"fbar_facts.filer_over_10k","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If your accounts outside the United States added up to more than {context.fbar_threshold} at any point in the year, you must file a report called the FBAR (foreign bank account report) with FinCEN, part of the United States Treasury.","help_lines":["Use the highest balance on each statement, add them up, and count an account you only sign on and the whole of an account you share.","Choose Not sure if you cannot add it up. We then prepare the report anyway, which is what the FinCEN instructions say to do when you cannot tell, and the figures you enter for each account decide whether it is filed."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"Count your own accounts and the ones you hold with your spouse. Your spouse answers for their own next."]],"id":"foreign_accounts.fbar_facts.filer_over_10k","includes_united_states":false,"kind":"yesno","label":"{name}, did your accounts abroad total more than {context.fbar_threshold} at any point this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"}},{"binds":"fbar_facts.spouse_over_10k","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count your spouse's own accounts, the ones they only sign on, and the whole of every account the two of you share, using the highest balance on each of their statements.","help_lines":["Each of you files your own report when your own total is over the line.","Choose Not sure if you cannot add it up, and we prepare their report anyway."],"help_when":[],"id":"foreign_accounts.fbar_facts.spouse_over_10k","includes_united_states":false,"kind":"yesno","label":"Did your spouse's accounts abroad total more than {context.fbar_threshold} at any point this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"add_label":"Add an account","binds":"foreign_accounts[]","help":"Add one row per account. Your year-end statement has everything you need.","id":"foreign_accounts.foreign_accounts","kind":"repeat","label":"Which accounts did you hold abroad?","min_rows":1,"nodes":[{"binds":"foreign_accounts[].owner","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer with the name printed on the document. On a joint return some figures are worked out for each of you separately, such as the exclusion of pay earned abroad and the age test on a gift paid straight to a charity, so the answer can change them.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.owner","includes_united_states":false,"kind":"choice","label":"Is this account yours or your spouse's?","label_when":[],"options":[{"label":"Mine.","value":"primary"},{"label":"My spouse's.","value":"spouse"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"about_you.filing_status","value":"mfj"}},{"binds":"foreign_accounts[].institution_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name at the top of your statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.institution_name","includes_united_states":false,"kind":"text","label":"Which bank or broker holds your account?","label_when":[],"options":[],"placeholder":"Deutsche Bank","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"foreign_accounts[].account_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number on your statement. An international bank number is fine.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.account_number","includes_united_states":false,"kind":"text","label":"What is your account number?","label_when":[],"options":[],"placeholder":"DE89370400440532013000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"account_identifier":{"message":"Check the account number on your statement and type it again using ordinary letters, numbers and punctuation. A letter outside the Latin alphabet cannot be filed."}},"validators":["account_identifier"]},{"binds":"foreign_accounts[].account_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement heading usually says.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.account_type","includes_united_states":false,"kind":"choice","label":"What kind of account do you hold?","label_when":[],"options":[{"label":"A bank account.","value":"deposit_account"},{"label":"An investment account a broker or custodian holds for you.","value":"custodial_account"},{"label":"Shares or bonds you hold directly.","value":"stock_or_security"},{"label":"A share in a partnership.","value":"partnership_interest"},{"label":"A foreign pension or retirement account (not a state pension).","value":"foreign_pension"},{"label":"An insurance policy with a cash value.","value":"insurance_contract"},{"label":"Cryptocurrency or another digital asset.","value":"digital_asset"},{"label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":["foreign_accounts[].account_opened_on","foreign_accounts[].account_closed_on"],"help":"Answer no if you held it for the whole year. Your opening or closing letter has the date if you did.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.opened_or_closed","includes_united_states":false,"kind":"yesno","label":"Did you open or close this account during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_accounts[].pooled_fund","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A fund open to the public that sets a price for its shares regularly and buys them back when you sell; your fund statement or the fund's own documents say so.","help_lines":["The FBAR, the report of foreign bank and financial accounts to FinCEN, counts shares in such a fund as an account and does not count other shares held directly.","Choose Not sure if you cannot check."],"help_when":[],"id":"foreign_accounts.foreign_accounts.pooled_fund","includes_united_states":false,"kind":"yesno","label":"Are your shares in a mutual fund or similar pooled fund?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"stock_or_security"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"stock_or_security"}},{"binds":"foreign_accounts[].pooled_fund_outside_us","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The fund's own papers say where it is set up. A fund based in Ireland, Luxembourg or another country, such as a UCITS fund, is set up outside the United States.","help_lines":["A fund set up outside the United States is taxed under rules of its own, worked out on Form 8621. If you answer yes, add the fund on the income page under shares in a fund set up abroad.","Choose Not sure if you cannot check."],"help_when":[],"id":"foreign_accounts.foreign_accounts.pooled_fund_outside_us","includes_united_states":false,"kind":"yesno","label":"Is your fund set up outside the United States?","label_when":[],"off_ramp":{"body":"Shares in a fund or ETF set up outside the United States are worked out on Form 8621, from the fund's own row on the income page, and no such fund is entered there yet.","code":"foreign_fund_form_8621","next_step":"Add the fund under shares in a fund set up abroad on the income page.","severity":"block","title":"Add this fund on the income page","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.pooled_fund_outside_us"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_pfic_holdings"}]}]}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.pooled_fund"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.pooled_fund"}},{"binds":"foreign_accounts[].account_opened_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your opening letter. Leave it blank if you had the account already.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.account_opened_on","includes_united_states":false,"kind":"date","label":"When did you open it?","label_when":[],"options":[],"placeholder":"2025-02-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.opened_or_closed"}},{"binds":"foreign_accounts[].account_closed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your closing letter. Leave it blank if it is still open.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.account_closed_on","includes_united_states":false,"kind":"date","label":"When did you close it?","label_when":[],"options":[],"placeholder":"2025-11-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"not_before_tax_year":{"message_algorithm":"Check this date: it has to fall within the year this return is for."}},"validators":["not_before_tax_year"],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.opened_or_closed"}},{"binds":"foreign_accounts[].max_value_during_year","clears":[],"currency_pickable":true,"currency_rates":"treasury_year_end","derived_from_presence":[],"help":"Look across your statements for the highest balance of the whole account, even if someone else also owns it.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.treasury_rates_saved","value":0},"Pick the currency on your statement and we convert it at the United States Treasury rate for the last day of the year. This report uses that rate even for something you closed or sold during the year. If you give dollars, use that rate."],[{"op":"not","rules":[{"op":"gt","ref":"context.treasury_rates_saved","value":0}]},"Give the figure in United States dollars, converted at the United States Treasury rate for the last day of the year. This report uses that rate even for something you closed or sold during the year."]],"id":"foreign_accounts.foreign_accounts.max_value_during_year","includes_united_states":false,"kind":"money","label":"What was the most it was worth to you at any point this year?","label_when":[],"options":[],"placeholder":"45000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"foreign_accounts[].year_end_value","clears":[],"currency_follows":"foreign_accounts.foreign_accounts.max_value_during_year","currency_pickable":true,"currency_rates":"treasury_year_end","derived_from_presence":[],"help":"The closing balance of the whole account on your year-end statement, in the same currency. Enter zero if you closed it during the year. The figure cannot be higher than the most it was worth.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.year_end_value","includes_united_states":false,"kind":"money","label":"What was it worth to you on the last day of the year?","label_when":[],"options":[],"placeholder":"35000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"foreign_accounts[].is_jointly_owned_with_spouse","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your statement names every holder.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse","includes_united_states":false,"kind":"yesno","label":"Do you hold it jointly with your spouse?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"about_you.filing_status","value":"single"}},{"binds":"foreign_accounts[].signature_authority_only","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"An employer's account you can pay from is the common case.","help_lines":["Answer yes only if none of the money is yours: such an account stays on your FBAR, the report of foreign bank and financial accounts to FinCEN, but is left off Form 8938, which lists only accounts whose income would go on your own return.","If any of the money is yours, answer no."],"help_when":[],"id":"foreign_accounts.foreign_accounts.signature_authority_only","includes_united_states":false,"kind":"yesno","label":"Can you only sign for this account, with none of the money yours?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":["foreign_accounts[].joint_owner"],"help":"A parent, a child, a business partner or a company named on the statement as an account holder. FinCEN asks who they are on your FBAR.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.held_with_someone_else","includes_united_states":false,"kind":"yesno","label":"Do you hold it together with someone other than a spouse?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse","value":false},{"op":"eq","ref":"about_you.filing_status","value":"single"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":false}]}},{"binds":"foreign_accounts[].maintained_by_us_payer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A branch or subsidiary abroad of a United States bank or broker, or a United States fund account, counts as kept by a United States bank. Your statement names the institution.","help_lines":["Form 8938 leaves such an account out. The FBAR, the report of foreign bank and financial accounts to FinCEN, still lists it.","Choose Not sure if you cannot check."],"help_when":[],"id":"foreign_accounts.foreign_accounts.maintained_by_us_payer","includes_united_states":false,"kind":"yesno","label":"Does a United States bank or broker, or its branch abroad, keep your account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"ne","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":true},{"op":"or","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_total_over_8938_floor"},{"op":"derived","ref":"foreign_accounts.foreign_accounts.year_end_total_over_8938_floor"},{"op":"truthy","ref":"foreign_accounts.has_foreign_assets"},{"op":"answered","ref":"foreign_accounts.foreign_accounts.maintained_by_us_payer"}]}]}},{"binds":"foreign_accounts[].joint_owner.is_entity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a business, a trust or a club, and no for a person. The statement names every holder.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.is_entity","includes_united_states":false,"kind":"yesno","label":"Is the other holder of your account a company or organization?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"}},{"binds":"foreign_accounts[].joint_owner.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it is printed on the account statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.first_name","includes_united_states":false,"kind":"text","label":"What is the first name of the other holder of your account?","label_when":[],"options":[],"placeholder":"Sam","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":false}]}},{"binds":"foreign_accounts[].joint_owner.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it is printed on the account statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.last_name","includes_united_states":false,"kind":"text","label":"What is the last name of the other holder of your account?","label_when":[],"options":[],"placeholder":"Lee","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":false}]}},{"binds":"foreign_accounts[].joint_owner.organization_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it is printed on the account statement or on the company's own papers.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.organization_name","includes_united_states":false,"kind":"text","label":"What is the full legal name of the other holder of your account?","label_when":[],"options":[],"placeholder":"Globex SARL","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":true},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.joint_owner.is_entity","value":true}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["foreign_accounts[].joint_owner.address"],"help":"FinCEN asks for it when you know it and accepts the report without it when you do not.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner_address_known","includes_united_states":false,"kind":"yesno","label":"Do you know the address of the other holder of your account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"}},{"address_variant":"full","binds":"foreign_accounts[].joint_owner.address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their home address, or the company's registered address, from your own records.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.address","includes_united_states":false,"kind":"address","label":"What is the address of the other holder of your account?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.joint_owner_address_known"}]}},{"binds":"foreign_accounts[].joint_owner.id_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"FinCEN asks for the number when you know it and accepts the report without it when you do not, so choose the last answer rather than guess.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.id_kind","includes_united_states":false,"kind":"choice","label":"What kind of tax number does the other holder of your account have?","label_when":[],"options":[{"label":"A Social Security number or an individual taxpayer identification number (the number the IRS issues to people who cannot get a Social Security number).","value":"ssn_itin"},{"label":"A United States employer identification number (the number a company files under).","value":"ein"},{"label":"A tax number from another country.","value":"foreign"},{"label":"I do not know their number.","value":"unknown"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"}},{"binds":"foreign_accounts[].joint_owner.id_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number from their tax card, their payslip or the company's papers, with or without spaces.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner.id_number","includes_united_states":false,"kind":"text","label":"What is the tax number of the other holder of your account?","label_when":[],"options":[],"placeholder":"FR12345678","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"in","ref":"foreign_accounts.foreign_accounts.joint_owner.id_kind","values":["ssn_itin","ein","foreign"]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"account_identifier":{"message":"Check the account number on your statement and type it again using ordinary letters, numbers and punctuation. A letter outside the Latin alphabet cannot be filed."}},"validators":["account_identifier"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"},{"op":"in","ref":"foreign_accounts.foreign_accounts.joint_owner.id_kind","values":["ssn_itin","ein","foreign"]}]}},{"binds":"foreign_accounts[].joint_owner_count","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every other name on the statement. Your FBAR reports this number, and FinCEN accepts your best estimate when you cannot be sure.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.joint_owner_count","includes_united_states":false,"kind":"integer","label":"How many people hold this account with you, not counting you?","label_when":[],"options":[],"placeholder":"1","prefill":{"confirm":false,"exact":false,"note":"Filled in from your answer that you hold it jointly with your spouse. Change it if anyone else is named on the statement.","value":1,"when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}},"prefills":[],"required":false,"required_validator":"expatreturn_us.fbar.adapter.to_fbar_data","required_when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"joint_owner_count":{"message_bounds":"Enter how many people hold the account with you, from 1 to 999, not counting yourself."}},"validators":["joint_owner_count"],"visible_when":{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.held_with_someone_else"}]}},{"binds":"foreign_accounts[].principal_owner.is_entity","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes for a business, a trust or a club, and no for a person. The statement names every holder.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.is_entity","includes_united_states":false,"kind":"yesno","label":"Is the account owner you sign for a company or organization?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"}},{"binds":"foreign_accounts[].principal_owner.first_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it is printed on the account statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.first_name","includes_united_states":false,"kind":"text","label":"What is the first name of the account owner you sign for?","label_when":[],"options":[],"placeholder":"Sam","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":false}]}},{"binds":"foreign_accounts[].principal_owner.last_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it is printed on the account statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.last_name","includes_united_states":false,"kind":"text","label":"What is the last name of the account owner you sign for?","label_when":[],"options":[],"placeholder":"Lee","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":false},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":false}]}},{"binds":"foreign_accounts[].principal_owner.organization_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"As it is printed on the account statement or on the company's own papers.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.organization_name","includes_united_states":false,"kind":"text","label":"What is the full legal name of the account owner you sign for?","label_when":[],"options":[],"placeholder":"Globex SARL","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":true},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.principal_owner.is_entity","value":true}]}},{"address_variant":"full","binds":"foreign_accounts[].principal_owner.address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The owner's home address, or the company's registered address, from your own records. FinCEN needs it for an account you only sign on.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.address","includes_united_states":false,"kind":"address","label":"What is the address of the account owner you sign for?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.fbar.adapter.to_fbar_data","required_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"}},{"binds":"foreign_accounts[].principal_owner.id_kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"FinCEN asks for the number when you know it and accepts the report without it when you do not, so choose the last answer rather than guess.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.id_kind","includes_united_states":false,"kind":"choice","label":"What kind of tax number does the account owner you sign for have?","label_when":[],"options":[{"label":"A Social Security number or an individual taxpayer identification number (the number the IRS issues to people who cannot get a Social Security number).","value":"ssn_itin"},{"label":"A United States employer identification number (the number a company files under).","value":"ein"},{"label":"A tax number from another country.","value":"foreign"},{"label":"I do not know their number.","value":"unknown"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"}},{"binds":"foreign_accounts[].principal_owner.id_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The number from their tax card, their payslip or the company's papers, with or without spaces.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.principal_owner.id_number","includes_united_states":false,"kind":"text","label":"What is the tax number of the account owner you sign for?","label_when":[],"options":[],"placeholder":"FR12345678","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarOwnerIdentity._check","required_when":{"op":"in","ref":"foreign_accounts.foreign_accounts.principal_owner.id_kind","values":["ssn_itin","ein","foreign"]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"account_identifier":{"message":"Check the account number on your statement and type it again using ordinary letters, numbers and punctuation. A letter outside the Latin alphabet cannot be filed."}},"validators":["account_identifier"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"},{"op":"in","ref":"foreign_accounts.foreign_accounts.principal_owner.id_kind","values":["ssn_itin","ein","foreign"]}]}},{"binds":"foreign_accounts[].filer_title","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The position that lets you sign on the account, as your employment contract or the bank's signature list names it, in no more than twenty characters.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.filer_title","includes_united_states":false,"kind":"text","label":"What is your title with the account's owner?","label_when":[],"options":[],"placeholder":"Finance Director","prefills":[],"required":false,"required_validator":"expatreturn_us.fbar.adapter.to_fbar_data","required_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_20":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_20"],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.signature_authority_only"}},{"binds":"foreign_accounts[].foreign_currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The three-letter code on your statement. Leave it blank if it is held in dollars.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.foreign_currency","includes_united_states":false,"kind":"text","label":"Which currency is your account in?","label_when":[],"options":[],"placeholder":"EUR","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR."}},"validators":["currency_code"],"visible_when":{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]}},{"address_variant":"full","binds":"foreign_accounts[].institution_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address printed on your statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.institution_address","includes_united_states":false,"kind":"address","label":"What is your bank's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"foreign_accounts[].exchange_rate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The United States Treasury publishes no rate for this currency. Give the published rate you used for buying dollars on the last day of the year, as units of the currency for one dollar.","help_lines":["Form 8938 shows this rate. The FBAR, the report of foreign bank and financial accounts to FinCEN, has no place for its source, so we cannot prepare your FBAR for an account in this currency."],"help_when":[],"id":"foreign_accounts.foreign_accounts.exchange_rate","includes_united_states":false,"kind":"text","label":"What exchange rate did you use for this account?","label_when":[],"options":[],"placeholder":"3.75","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_account","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"exchange_rate":{"message":"Enter the rate as a number, for example 3.75."}},"validators":["exchange_rate"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_account","value":0}]}]}},{"binds":"foreign_accounts[].exchange_rate_source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name of the bank or the website you took it from.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.exchange_rate_source","includes_united_states":false,"kind":"text","label":"Where is the exchange rate you used published?","label_when":[],"options":[],"placeholder":"Central bank published rate","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_account","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_account","value":0}]}]}},{"binds":"foreign_accounts[].institution_country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on your statement.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.institution_country","includes_united_states":false,"kind":"country","label":"Which country is your bank in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefill":{"confirm":false,"exact":true,"note":"Filled in with the country of the bank's address. Change it if the account is held in another country.","value_from":"foreign_accounts.foreign_accounts.institution_address_country","when":{"op":"answered","ref":"foreign_accounts.foreign_accounts.institution_address"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"foreign_accounts[].reported_income_items","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Select each income item you entered earlier that came from this one, or the last box if none did. Each item goes with one account or investment only.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.reported_income_items","includes_united_states":false,"kind":"pick_rows","label":"Which of your income on this return came from this account?","label_when":[],"options":[],"picks_rows":{"none_label":"None of my income came from it.","sources":[{"amount_field":"income_sources.investment_income.amount","group":"income_sources.investment_income","kind_field":"income_sources.investment_income.kind","kinds":[{"clears":[],"label":"Interest","value":"interest"},{"clears":[],"label":"Tax-exempt interest","value":"tax_exempt_interest"},{"clears":[],"label":"Dividends","value":"ordinary_dividend"},{"clears":[],"label":"Capital gain distribution","value":"capital_gain_distribution"}],"name_field":"income_sources.investment_income.payer","noun":"Interest or dividends","ref_kind":"investment_income"},{"amount_field":"income_sources.passive_income.amount","group":"income_sources.passive_income","kind_field":"income_sources.passive_income.kind","kinds":[{"clears":[],"label":"Interest","value":"interest"},{"clears":[],"label":"Annuity","value":"annuity"},{"clears":[],"label":"Other income","value":"other_income"},{"clears":[],"label":"Payment instead of a dividend","value":"substitute_dividends"}],"name_field":"income_sources.passive_income.payer","noun":"Other income","ref_kind":"passive_income"},{"amount_field":"income_sources.royalties.royalties_received","group":"income_sources.royalties","kinds":[],"name_field":"income_sources.royalties.payer","noun":"Royalty","ref_kind":"royalties"},{"amount_field":"income_sources.other_income.amount","group":"income_sources.other_income","kind_field":"income_sources.other_income.kind","kinds":[{"clears":[],"label":"Other income","value":"8z"}],"name_field":"income_sources.other_income.description","noun":"Other income","ref_kind":"other_income"},{"amount_field":"income_sources.capital_transactions.proceeds","group":"income_sources.capital_transactions","kinds":[],"name_field":"income_sources.capital_transactions.description","noun":"Sale","ref_kind":"capital_transactions"},{"amount_field":"income_sources.pensions_and_annuities.gross_amount","group":"income_sources.pensions_and_annuities","kind_field":"income_sources.pensions_and_annuities.source","kinds":[{"clears":[],"label":"Pension","value":"foreign"}],"name_field":"income_sources.pensions_and_annuities.payer","noun":"Pension","ref_kind":"pensions_and_annuities"}]},"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8938.tax_item_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":true}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":true}},{"binds":"foreign_accounts[].plan_facts.growth_reported_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people have not. A Canadian retirement plan's growth is taxed in the US only when it is paid out, unless an earlier US return of yours reported it year by year.","help_lines":["A TFSA or an RESP is not a retirement plan. List it as an ordinary account instead.","Choose Not sure if you cannot tell from your earlier returns."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.growth_reported_before","includes_united_states":false,"kind":"yesno","label":"Have you ever reported this plan's yearly growth as income on a US return?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.growth_reported_before"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]}},{"binds":"foreign_accounts[].plan_facts.filed_returns_and_reported_payouts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A Canadian plan's growth waits until it is paid out only for someone who did both. Say yes if you never missed a US return you had to file in those years and every payout you took from the plan was on your US return.","help_lines":["Choose Not sure if you cannot tell from your earlier returns."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.filed_returns_and_reported_payouts","includes_united_states":false,"kind":"yesno","label":"Have you filed all your US returns and reported each payout from this plan?","label_when":[],"off_ramp":{"body":"A missed US return or an unreported payout means this plan's growth is taxed each year, which we do not work out. We can prepare this plan only on a return catching up through the IRS streamlined procedures for taxpayers abroad. On any other return we cannot prepare it.","code":"foreign_plan_growth_taxed","next_step":"Answer the next question. It shows whether the streamlined procedures can help.","severity":"info","title":"A missed return or payout matters here","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.filed_returns_and_reported_payouts","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.growth_reported_before","value":false}]}},{"binds":"foreign_accounts[].plan_facts.payouts_reported","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you took no payouts, or if each one was on the US return for its year. Only a return catching up on missed returns through the IRS streamlined procedures for taxpayers abroad can still put off the tax on this plan's growth, and only when every payout was reported. On any other return we cannot prepare this plan, and the return is refused when it is built.","help_lines":["Choose Not sure if you cannot tell from your earlier returns."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.payouts_reported","includes_united_states":false,"kind":"yesno","label":"Did every payout you took from this plan appear on your US returns?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.payouts_reported","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.growth_reported_before","value":false},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.filed_returns_and_reported_payouts","value":false}]}},{"binds":"foreign_accounts[].plan_facts.set_up_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A workplace pension is set up by an employer for its staff. A personal pension or retirement account you opened yourself is yours.","help_lines":["A plan you set up yourself is taxed on its growth each year, which we do not work out."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.set_up_by","includes_united_states":false,"kind":"choice","label":"Who set up this retirement plan of yours?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.set_up_by","value":"self"}},"options":[{"label":"An employer, for its staff.","value":"employer"},{"label":"I did, on my own.","value":"self"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]}]}},{"binds":"foreign_accounts[].plan_facts.owner_or_highly_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you owned 5% or more of it this year or last year, or if its pay to you last year was above the IRS limit for a highly paid employee. Say yes too if you have left that employer and were highly paid when you left, or at any time after you turned 55.","help_lines":["The employer's payroll or pension team can tell you. Choose Not sure if you cannot tell."],"help_when":[[{"op":"gt","ref":"context.highly_paid_pay_limit","value":0},"For your return, highly paid means pay from that employer of more than {context.highly_paid_pay_limit}."]],"id":"foreign_accounts.foreign_accounts.plan_facts.owner_or_highly_paid","includes_united_states":false,"kind":"yesno","label":"Were you an owner or a highly paid employee of that employer?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.owner_or_highly_paid"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.set_up_by","value":"employer"}]}},{"binds":"foreign_accounts[].plan_facts.employer_paid_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count any amount an employer paid into the plan for you during the year. Your plan statement shows it.","help_lines":["What an employer pays into a plan abroad counts as your pay for US tax, which we do not work out.","Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year","includes_united_states":false,"kind":"yesno","label":"Did an employer pay into this plan for you during {context.return_year}?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"},{"op":"or","rules":[{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.growth_reported_before","value":false},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.filed_returns_and_reported_payouts","value":true},{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.filed_returns_and_reported_payouts","value":false},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.payouts_reported","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.set_up_by","value":"employer"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.owner_or_highly_paid","value":false}]}]}},{"binds":"foreign_accounts[].plan_facts.uk_scheme_builds_account","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a pension that grows from what you and your employer pay in, such as a defined contribution or group personal pension. Say no for one that promises a set pension worked out from your pay and years of work, a final salary or career average scheme. Your scheme's yearly statement shows which it is.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","includes_united_states":false,"kind":"yesno","label":"Does your workplace pension build up a pot from what is paid in?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]}},{"binds":"foreign_accounts[].plan_facts.canada_plan_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax treaty with Canada keeps an employer's payments into some Canadian workplace plans out of your US income, for work you do in Canada for a Canadian employer. Your plan papers or your employer's pension team can tell you which kind it is.","help_lines":["A retirement compensation arrangement (RCA) is not one of these, so pick Something else."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","includes_united_states":false,"kind":"choice","label":"Which kind of Canadian plan is yours?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"other"}},"options":[{"label":"A registered pension plan that builds an account from what is paid in.","value":"registered_pension_account"},{"label":"A registered pension plan that promises a set yearly pension.","value":"registered_pension_promised"},{"label":"A group RRSP run by my employer.","value":"group_rrsp"},{"label":"A deferred profit sharing plan (DPSP).","value":"dpsp"},{"label":"Something else.","value":"other"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]}},{"binds":"foreign_accounts[].plan_facts.canadian_establishment_bears_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your payslip or your employer's payroll team can tell you. Say yes if your employer has a fixed place of business in Canada, such as an office or a branch, and your pay is charged to it.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.canadian_establishment_bears_pay","includes_united_states":false,"kind":"yesno","label":"Is your pay for work in Canada charged to your employer's Canadian office?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"in","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp","registered_pension_promised"]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.earned_in_country","value":"CA"},{"op":"not","rules":[{"op":"derived","ref":"income_sources.wages.employer_address_in_canada"}]}]}]}]}},{"binds":"foreign_accounts[].plan_facts.taxpayer_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax treaty keeps an employer's payments into a workplace plan in that country out of US income only for a United States citizen. A person born in a US territory such as American Samoa who is a national but not a citizen answers no, and so does a green card holder. Your passport answers this. Choose Not sure if you cannot check.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","includes_united_states":false,"kind":"yesno","label":"Are you a United States citizen, not only a national?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"in","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp","registered_pension_promised"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"ne","ref":"fit.citizenship_or_residency","value":"us_citizen"}]}},{"binds":"foreign_accounts[].plan_facts.spouse_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax treaty keeps an employer's payments into a workplace plan in that country out of US income only for a United States citizen. A green card alone is not enough. Their passport answers this. Choose Not sure if you cannot check.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","includes_united_states":false,"kind":"yesno","label":"Is your spouse, who owns this plan, a United States citizen?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}},"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your answer about your spouse living abroad, where you said your spouse is not a United States citizen. Change it here if that was not right.","value":false,"when":{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","value":false}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"in","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp","registered_pension_promised"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"not","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","value":true}]}]}},{"binds":"foreign_accounts[].plan_facts.within_contribution_limits","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add what you and your employer paid in during the year. It stays within the limits if it was all within the tax relief limit of the country the plan is in, so none of it was taxed there, and it came to no more than the US yearly limit.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[[{"op":"gt","ref":"context.canada_plan_additions_limit","value":0},"For your return, the US yearly limit is {context.canada_plan_additions_limit}."]],"id":"foreign_accounts.foreign_accounts.plan_facts.within_contribution_limits","includes_united_states":false,"kind":"yesno","label":"Did everything paid into this plan for you in {context.return_year} stay within the limits?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.within_contribution_limits","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"in","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":true}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_within_canadian_limit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if none of it was taxed in the country the plan is in. A Canadian registered pension plan reports the pension you earned in the year as a pension adjustment on your T4 slip, and it stays within the limit unless Canada taxed some of it.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","includes_united_states":false,"kind":"yesno","label":"Did the pension you earned in {context.return_year} stay within its country's limit?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_yearly","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your yearly pension statement shows the pension you have earned to date, payable from the plan's normal retirement age. If the same employer has another plan that promises you a set pension, add that one's pension too.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_yearly","includes_united_states":false,"kind":"money","label":"What yearly pension does your latest plan statement say you have earned so far?","label_when":[],"options":[],"placeholder":"24000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_form","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan statement or booklet says how the pension is paid out.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_form","includes_united_states":false,"kind":"choice","label":"How is your pension from this plan paid?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_form","value":"other"}},"options":[{"label":"For the rest of my life.","value":"life_only"},{"label":"For the rest of my life, then part or all of it to my spouse.","value":"life_then_spouse"},{"label":"Another way, for example with a set number of years guaranteed.","value":"other"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_starts_at_62_or_later","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the age at which your statement says the pension you have earned is paid in full.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_starts_at_62_or_later","includes_united_states":false,"kind":"yesno","label":"Does your pension from this plan start at age 62 or later?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_starts_at_62_or_later","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_high_3_pay","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your payslips or tax slips show the pay. Take the three calendar years in a row in which that employer paid you the most, add up the pay and divide by three. If you have worked there for less than three years, use the years you have.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_high_3_pay","includes_united_states":false,"kind":"money","label":"What was your average yearly pay from that employer in your best three years?","label_when":[],"options":[],"placeholder":"95000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_years_in_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan statement shows your credited or pensionable service. Give it as it is shown, with a part year as a decimal, for example 12.5.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_years_in_plan","includes_united_states":false,"kind":"text","label":"How many years of service in this plan does your statement credit you with?","label_when":[],"options":[],"placeholder":"12.5","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"plan_service_years":{"message":"Enter a number of years, for example 12.5."}},"validators":["plan_service_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_years_with_employer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your employment contract or payslips show when you started. Give a part year as a decimal, for example 12.5.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_years_with_employer","includes_united_states":false,"kind":"text","label":"For how many years have you worked for that employer?","label_when":[],"options":[],"placeholder":"12.5","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"plan_service_years":{"message":"Enter a number of years, for example 12.5."}},"validators":["plan_service_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.promised_pension_employer_had_account_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a group RRSP or a deferred profit sharing plan of the same employer, from your plan papers. What you pay into this pension plan yourself does not count. A small pension can stay within the US limit only if the answer is no.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_employer_had_account_plan","includes_united_states":false,"kind":"yesno","label":"Have you ever belonged to a plan of that employer that builds an account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.institution_country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_accounts[].plan_facts.meets_life_insurance_definition","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A policy that does not meet it is taxed on its growth each year, which we do not work out. Your insurer can tell you.","help_lines":["Choose Not sure if your insurer has not said."],"help_when":[],"id":"foreign_accounts.foreign_accounts.plan_facts.meets_life_insurance_definition","includes_united_states":false,"kind":"yesno","label":"Does your insurer confirm this policy meets the US definition of life insurance?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a policy's yearly growth","when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.plan_facts.meets_life_insurance_definition","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"foreign_accounts.foreign_accounts.account_type","value":"insurance_contract"}}],"row_label":"Account","row_prefill":{"links_target":"foreign_accounts.foreign_accounts.reported_income_items","name_target":"foreign_accounts.foreign_accounts.institution_name","note":"Filled in from the payers abroad you entered under income. Check each one and answer its questions, or remove it if that money was not paid into an account outside the United States.","sources":[{"country_field":"income_sources.investment_income.source_country","group":"income_sources.investment_income","name_field":"income_sources.investment_income.payer","when_field":"income_sources.investment_income.foreign_source","when_value":true},{"country_field":"income_sources.passive_income.source_country","group":"income_sources.passive_income","name_field":"income_sources.passive_income.payer","when_field":"income_sources.passive_income.source","when_value":"foreign"},{"country_field":"income_sources.royalties.source_country","group":"income_sources.royalties","name_field":"income_sources.royalties.payer","when_field":"income_sources.royalties.source","when_value":"foreign"}]},"visible_when":{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"}},{"binds":"screened_inputs.personal_currency_gain_over_200","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The gain is what the money was worth in dollars when you changed it into another currency, spent it or sent it, less what it was worth in dollars when it came in. Count each exchange or payment on its own. Moving money to another account in the same currency does not count. A gain of {context.personal_currency_gain_limit} or less is not taxed, and a loss is not deducted.","help_lines":[],"help_when":[],"id":"foreign_accounts.screened_inputs.personal_currency_gain_over_200","includes_united_states":false,"kind":"yesno","label":"Did one exchange of your personal money in another currency gain over {context.personal_currency_gain_limit}?","label_when":[],"off_ramp":{"body":"A gain of more than {context.personal_currency_gain_limit} on money in another currency is reported as a capital gain. Add each exchange or payment that gained more than {context.personal_currency_gain_limit} on the income page as a sale of something else, and answer yes that it is a currency exchange. What it cost is its value in dollars when it came in, worked out the same way every year, and what you sold it for is its value in dollars when you changed, spent or sent it.","code":"personal_currency_gain_as_sale","next_step":"Add the sales on the income page, then continue here.","severity":"info","title":"Add each such gain as a sale","when":{"op":"truthy","ref":"foreign_accounts.screened_inputs.personal_currency_gain_over_200"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"and","rules":[{"op":"ne","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":true},{"op":"in","ref":"foreign_accounts.foreign_accounts.account_type","values":["custodial_account","deposit_account"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"},{"op":"not","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]}]}]}]}]}},{"binds":"screened_inputs.business_currency_disposed","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"That is money a business of yours uses, or money kept to invest, such as cash in an investment account or money held to gain from the exchange rate. Check it if, this year, some of it was worth more or less in dollars when you changed it into another currency, spent it or sent it than when it came in, or if you cannot tell. Buying shares with it counts as spending it: the shares are reported when you sell them, but the money itself can gain or lose before that. Money used the same day it came in, at the same dollar value, has no gain or loss. Moving it to another account in the same currency does not count. Every gain or loss on it counts, and we do not work it out.","help_lines":[],"help_when":[],"id":"foreign_accounts.screened_inputs.business_currency_disposed","includes_united_states":false,"kind":"yesno","label":"Was your business or investment money worth more or less in dollars when used?","label_when":[],"off_ramp":{"body":"A gain or loss in dollars on money in another currency kept for a business or as an investment, when it is changed, spent or sent, is taxed, and we do not work it out.","code":"currency_balance_gain","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a currency gain on money kept for a business or investment","when":{"op":"truthy","ref":"foreign_accounts.screened_inputs.business_currency_disposed"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"and","rules":[{"op":"ne","ref":"foreign_accounts.foreign_accounts.signature_authority_only","value":true},{"op":"in","ref":"foreign_accounts.foreign_accounts.account_type","values":["custodial_account","deposit_account"]},{"op":"or","rules":[{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.foreign_accounts.max_value_during_year"},{"op":"not","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":"USD"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_accounts.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]}]}]}]}]}},{"binds":"fbar_facts.efile_requested","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"{context.fbar_efile_price} per person, added to your price. If you say no, you file it yourself with FinCEN.","help_lines":["The FBAR is sent to FinCEN on its own, not with your tax return.","We ask whenever your account figures could make an FBAR due, and if none turns out to be due, nothing is filed and nothing is added to your price.","Answer yes and we file it through our FinCEN account after you sign Form 114a, the record that lets someone else file it for you.","Answer no and you file it yourself on the FinCEN BSA E-Filing website, where a person filing their own report needs no account; we still tell you with your return which reports are due."],"help_when":[[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]}]},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]},{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"},{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]}]}]}]},"This covers both of your FBARs: {context.fbar_efile_price_both}."],[{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":false},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]},{"op":"not","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"ne","ref":"foreign_accounts.foreign_accounts.owner","value":"spouse"},{"op":"truthy","ref":"foreign_accounts.foreign_accounts.is_jointly_owned_with_spouse"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]}]}]}]},"On your answers only your spouse's FBAR is due, so this is about e-filing your spouse's FBAR for you."]],"id":"foreign_accounts.fbar_facts.efile_requested","includes_united_states":false,"kind":"yesno","label":"Should we file your foreign bank account report (FBAR) for you?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]}},{"binds":"fbar_facts.late_filing_reason","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"FinCEN asks for a reason on a report filed after October 15 of the year after the one it reports. Choose the one that fits best; it goes on your FBAR.","help_lines":["If every account on your FBAR is one you only sign on, read FinCEN Notice FIN-2025-NTC3 before you choose: it gives certain people in that position a later due date.","If it applies to you, FinCEN's filing instructions say to choose Something else and name the notice by its number, FIN-2025-NTC3."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"One answer covers both of your FBARs."]],"id":"foreign_accounts.fbar_facts.late_filing_reason","includes_united_states":false,"kind":"choice","label":"Why is your FBAR being filed after its due date?","label_when":[],"options":[{"label":"I forgot to file it.","value":"Forgot to File"},{"label":"I did not know I had to file.","value":"Did not know that I had to file"},{"label":"I thought my accounts were below the amount that requires a report.","value":"Thought account balance was below reporting threshold"},{"label":"I did not know one of my accounts counted as a foreign account.","value":"Did not know that my account qualified as foreign"},{"label":"A statement from my bank came too late.","value":"Account statement not received in time"},{"label":"I lost a statement and asked the bank for a new one.","value":"Account statement lost (replacement requested)"},{"label":"I received information about an account I needed too late.","value":"Late receiving missing required account information"},{"label":"I could not get my spouse's signature in time.","value":"Unable to obtain joint spouse signature in time"},{"label":"I could not get into FinCEN's filing website.","value":"Unable to access BSA E-Filing System"},{"label":"Something else.","value":"Other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]},{"op":"truthy","ref":"foreign_accounts.fbar_facts.efile_requested"}]},{"op":"derived","ref":"foreign_accounts.fbar_facts.report_is_late"}]}},{"binds":"fbar_facts.late_filing_explanation","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say it in your own words. If a FinCEN notice gave you more time, write its number, for example FIN-2025-NTC3.","help_lines":[],"help_when":[],"id":"foreign_accounts.fbar_facts.late_filing_explanation","includes_united_states":false,"kind":"text","label":"In a sentence, what is your reason?","label_when":[],"options":[],"placeholder":"FinCEN Notice FIN-2025-NTC3","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.fbar.FbarFacts._check_amendment","required_when":{"op":"eq","ref":"foreign_accounts.fbar_facts.late_filing_reason","value":"Other"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]},{"op":"truthy","ref":"foreign_accounts.fbar_facts.efile_requested"}]},{"op":"derived","ref":"foreign_accounts.fbar_facts.report_is_late"}]},{"op":"eq","ref":"foreign_accounts.fbar_facts.late_filing_reason","value":"Other"}]}},{"binds":"fbar_facts.filer_authorization.signature","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 114a is the record that authorizes us to file your FBAR. You keep it and FinCEN does not receive it. Type your name the way you sign it.","help_lines":[],"help_when":[],"id":"foreign_accounts.fbar_facts.filer_authorization.signature","includes_united_states":false,"kind":"text","label":"What is your full name, typed as your signature on Form 114a?","label_when":[],"options":[],"placeholder":"Pat Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]},{"op":"truthy","ref":"foreign_accounts.fbar_facts.efile_requested"}]}},{"binds":"fbar_facts.filer_authorization.signed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Today's date from your calendar. It is also the date your FBAR says you approved it.","help_lines":[],"help_when":[],"id":"foreign_accounts.fbar_facts.filer_authorization.signed_on","includes_united_states":false,"kind":"date","label":"On what date are you signing your Form 114a?","label_when":[],"options":[],"placeholder":"2026-03-02","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]},{"op":"truthy","ref":"foreign_accounts.fbar_facts.efile_requested"}]}},{"binds":"fbar_facts.spouse_authorization.signature","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your spouse files their own FBAR and signs their own Form 114a. Hand them the screen and let them type it themselves: a signature is never typed for someone else.","help_lines":[],"help_when":[],"id":"foreign_accounts.fbar_facts.spouse_authorization.signature","includes_united_states":false,"kind":"text","label":"What full name does your spouse type as their signature on their Form 114a?","label_when":[],"options":[],"placeholder":"Jamie Sample","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed."}},"validators":["printable_text"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]},{"op":"truthy","ref":"foreign_accounts.fbar_facts.efile_requested"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"fbar_facts.spouse_authorization.signed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date from your calendar on the day your spouse signs it.","help_lines":[],"help_when":[],"id":"foreign_accounts.fbar_facts.spouse_authorization.signed_on","includes_united_states":false,"kind":"date","label":"On what date is your spouse signing their Form 114a?","label_when":[],"options":[],"placeholder":"2026-03-02","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.has_foreign_accounts"},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.filer_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.filer_over_10k"}]},{"op":"and","rules":[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k","value":true},{"op":"and","rules":[{"op":"answered","ref":"foreign_accounts.fbar_facts.spouse_over_10k"},{"op":"eq","ref":"foreign_accounts.fbar_facts.spouse_over_10k"}]}]}]}]},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_over_fbar_line"}]},{"op":"derived","ref":"foreign_accounts.foreign_accounts.total_over_fbar_line"}]},{"op":"answered","ref":"foreign_accounts.fbar_facts.efile_requested"}]}]},{"op":"truthy","ref":"foreign_accounts.fbar_facts.efile_requested"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"add_label":"Add an investment","binds":"foreign_assets[]","help":"Add one row per investment. Your year-end valuation has what you need.","id":"foreign_accounts.foreign_assets","kind":"repeat","label":"What else do you hold abroad?","min_rows":1,"nodes":[{"binds":"foreign_assets[].description","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A short description from your own record or your valuation.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.description","includes_united_states":false,"kind":"text","label":"What do you hold?","label_when":[],"options":[],"placeholder":"Shares in Globex Berlin GmbH","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"]},{"binds":"foreign_assets[].kind","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the closest match to what your valuation describes. A life insurance policy with a cash value goes with your accounts, not here.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.kind","includes_united_states":false,"kind":"choice","label":"What kind of investment do you hold?","label_when":[],"options":[{"label":"A bank account.","value":"deposit_account"},{"label":"An investment account a broker or custodian holds for you.","value":"custodial_account"},{"label":"Shares or bonds you hold directly.","value":"stock_or_security"},{"label":"A share in a partnership.","value":"partnership_interest"},{"label":"A foreign pension or retirement account (not a state pension).","value":"foreign_pension"},{"label":"Cryptocurrency or another digital asset.","value":"digital_asset"},{"label":"Something else.","value":"other"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_assets[].country","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Pick the country named on the statement from whoever issued it.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.country","includes_united_states":false,"kind":"country","label":"Which country do you hold it in?","label_when":[],"options":[],"options_ref":"country_codes","placeholder":"DE","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE."}},"validators":["iso_country_code"]},{"binds":"foreign_assets[].pooled_fund","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A fund open to the public that sets a price for its shares regularly and buys them back when you sell; your fund statement or the fund's own documents say so.","help_lines":["A fund set up outside the United States is taxed under rules of its own, worked out on Form 8621. If you answer yes, add the fund on the income page under shares in a fund set up abroad.","Choose Not sure if you cannot check."],"help_when":[],"id":"foreign_accounts.foreign_assets.pooled_fund","includes_united_states":false,"kind":"yesno","label":"Are your shares in a mutual fund or similar pooled fund?","label_when":[],"off_ramp":{"body":"Shares in a fund or ETF set up outside the United States are worked out on Form 8621, from the fund's own row on the income page, and no such fund is entered there yet.","code":"foreign_fund_form_8621","next_step":"Add the fund under shares in a fund set up abroad on the income page.","severity":"block","title":"Add this fund on the income page","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.pooled_fund"},{"op":"not","rules":[{"op":"truthy","ref":"income_sources.has_pfic_holdings"}]}]}},"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.investment_rows.investment_row_refusals","required_when":{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"stock_or_security"},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"stock_or_security"}},{"binds":"foreign_assets[].identifier","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A share certificate number or a policy number, from your own papers. Leave it blank if it has none.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.identifier","includes_united_states":false,"kind":"text","label":"What reference number does your investment carry?","label_when":[],"options":[],"placeholder":"DE0005557508","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"account_identifier":{"message":"Check the account number on your statement and type it again using ordinary letters, numbers and punctuation. A letter outside the Latin alphabet cannot be filed."}},"validators":["account_identifier"]},{"binds":"foreign_assets[].issuer_name","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The company or institution named on your certificate or policy.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.issuer_name","includes_united_states":false,"kind":"text","label":"Who issued it to you?","label_when":[],"options":[],"placeholder":"Globex Berlin GmbH","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"business_name":{"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer."}},"validators":["business_name"]},{"binds":"foreign_assets[].acquired_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From your purchase contract note or your policy documents.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.acquired_on","includes_united_states":false,"kind":"date","label":"When did you acquire it?","label_when":[],"options":[],"placeholder":"2021-07-01","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":[],"currency_pickable":false,"derived_from_presence":["foreign_assets[].disposed_on"],"help":"Answer no if you still hold it. Your sale contract note has the date if you sold it.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.disposed","includes_united_states":false,"kind":"yesno","label":"Did you dispose of it during the year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_assets[].disposed_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your sale contract note.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.disposed_on","includes_united_states":false,"kind":"date","label":"When did you dispose of it?","label_when":[],"options":[],"placeholder":"2025-10-15","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"foreign_accounts.foreign_assets.disposed"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"foreign_accounts.foreign_assets.disposed"}},{"binds":"foreign_assets[].max_value_during_year","clears":[],"currency_pickable":true,"currency_rates":"treasury_year_end","derived_from_presence":[],"help":"From your valuations across the year. Give the whole value, even if someone else also owns it.","help_lines":[],"help_when":[[{"op":"gt","ref":"context.treasury_rates_saved","value":0},"Pick the currency on your statement and we convert it at the United States Treasury rate for the last day of the year. This report uses that rate even for something you closed or sold during the year. If you give dollars, use that rate."],[{"op":"not","rules":[{"op":"gt","ref":"context.treasury_rates_saved","value":0}]},"Give the figure in United States dollars, converted at the United States Treasury rate for the last day of the year. This report uses that rate even for something you closed or sold during the year."]],"id":"foreign_accounts.foreign_assets.max_value_during_year","includes_united_states":false,"kind":"money","label":"What was the most it was worth to you at any point this year?","label_when":[],"options":[],"placeholder":"60000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"foreign_assets[].year_end_value","clears":[],"currency_follows":"foreign_accounts.foreign_assets.max_value_during_year","currency_pickable":true,"currency_rates":"treasury_year_end","derived_from_presence":[],"help":"From your year-end valuation, in the same currency. Enter zero if you disposed of it during the year. The figure cannot be higher than the most it was worth.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.year_end_value","includes_united_states":false,"kind":"money","label":"What was it worth to you on the last day of the year?","label_when":[],"options":[],"placeholder":"58000","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"]},{"binds":"foreign_assets[].is_jointly_owned_with_spouse","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your certificate or policy names every holder.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse","includes_united_states":false,"kind":"yesno","label":"Do you hold it jointly with your spouse?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"ne","ref":"about_you.filing_status","value":"single"}},{"binds":"foreign_assets[].foreign_currency","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The three-letter code on your valuation. Leave it blank if it is valued in dollars.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.foreign_currency","includes_united_states":false,"kind":"text","label":"Which currency do you value it in?","label_when":[],"options":[],"placeholder":"EUR","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR."}},"validators":["currency_code"],"visible_when":{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]}},{"address_variant":"full","binds":"foreign_assets[].issuer_address","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The address on your certificate, your policy or the company's website.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.issuer_address","includes_united_states":false,"kind":"address","label":"What is your issuer's address?","label_when":[],"options":[],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"city_name":{"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for."},"street_address":{"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line."}},"validators":["street_address","city_name"]},{"binds":"foreign_assets[].exchange_rate","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The United States Treasury publishes no rate for this currency. Give the published rate you used for buying dollars on the last day of the year, as units of the currency for one dollar.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.exchange_rate","includes_united_states":false,"kind":"text","label":"What exchange rate did you use for this asset?","label_when":[],"options":[],"placeholder":"3.75","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_assets.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_asset","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"exchange_rate":{"message":"Enter the rate as a number, for example 3.75."}},"validators":["exchange_rate"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_assets.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_asset","value":0}]}]}},{"binds":"foreign_assets[].exchange_rate_source","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The name of the bank or the website you took it from.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.exchange_rate_source","includes_united_states":false,"kind":"text","label":"Where is the exchange rate you used published?","label_when":[],"options":[],"placeholder":"Central bank published rate","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8938.exchange_rate_refusals","required_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_assets.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_asset","value":0}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"descriptive_text_100":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold."}},"validators":["descriptive_text_100"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.foreign_currency"},{"op":"not","rules":[{"op":"in","ref":"foreign_accounts.foreign_assets.foreign_currency","values":["USD","USd","UsD","Usd","uSD","uSd","usD","usd"]}]},{"op":"or","rules":[{"op":"currency_is","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":"USD"},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.foreign_assets.max_value_during_year"}]}]},{"op":"gt","ref":"context.treasury_rates_saved","value":0},{"op":"not","rules":[{"op":"gt","ref":"context.treasury_year_end_rate_asset","value":0}]}]}},{"binds":"foreign_assets[].reported_income_items","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Select each income item you entered earlier that came from this one, or the last box if none did. Each item goes with one account or investment only.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.reported_income_items","includes_united_states":false,"kind":"pick_rows","label":"Which of your income on this return came from this investment?","label_when":[],"options":[],"picks_rows":{"none_label":"None of my income came from it.","sources":[{"amount_field":"income_sources.investment_income.amount","group":"income_sources.investment_income","kind_field":"income_sources.investment_income.kind","kinds":[{"clears":[],"label":"Interest","value":"interest"},{"clears":[],"label":"Tax-exempt interest","value":"tax_exempt_interest"},{"clears":[],"label":"Dividends","value":"ordinary_dividend"},{"clears":[],"label":"Capital gain distribution","value":"capital_gain_distribution"}],"name_field":"income_sources.investment_income.payer","noun":"Interest or dividends","ref_kind":"investment_income"},{"amount_field":"income_sources.passive_income.amount","group":"income_sources.passive_income","kind_field":"income_sources.passive_income.kind","kinds":[{"clears":[],"label":"Interest","value":"interest"},{"clears":[],"label":"Annuity","value":"annuity"},{"clears":[],"label":"Other income","value":"other_income"},{"clears":[],"label":"Payment instead of a dividend","value":"substitute_dividends"}],"name_field":"income_sources.passive_income.payer","noun":"Other income","ref_kind":"passive_income"},{"amount_field":"income_sources.royalties.royalties_received","group":"income_sources.royalties","kinds":[],"name_field":"income_sources.royalties.payer","noun":"Royalty","ref_kind":"royalties"},{"amount_field":"income_sources.other_income.amount","group":"income_sources.other_income","kind_field":"income_sources.other_income.kind","kinds":[{"clears":[],"label":"Other income","value":"8z"}],"name_field":"income_sources.other_income.description","noun":"Other income","ref_kind":"other_income"},{"amount_field":"income_sources.capital_transactions.proceeds","group":"income_sources.capital_transactions","kinds":[],"name_field":"income_sources.capital_transactions.description","noun":"Sale","ref_kind":"capital_transactions"},{"amount_field":"income_sources.pensions_and_annuities.gross_amount","group":"income_sources.pensions_and_annuities","kind_field":"income_sources.pensions_and_annuities.source","kinds":[{"clears":[],"label":"Pension","value":"foreign"}],"name_field":"income_sources.pensions_and_annuities.payer","noun":"Pension","ref_kind":"pensions_and_annuities"}]},"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.f8938.tax_item_refusals","required_when":{"op":"truthy","ref":"foreign_accounts.has_foreign_assets"},"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"foreign_assets[].plan_facts.growth_reported_before","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Most people have not. A Canadian retirement plan's growth is taxed in the US only when it is paid out, unless an earlier US return of yours reported it year by year.","help_lines":["A TFSA or an RESP is not a retirement plan. List it as an ordinary account instead.","Choose Not sure if you cannot tell from your earlier returns."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.growth_reported_before","includes_united_states":false,"kind":"yesno","label":"Have you ever reported this plan's yearly growth as income on a US return?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.growth_reported_before"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]}},{"binds":"foreign_assets[].plan_facts.filed_returns_and_reported_payouts","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A Canadian plan's growth waits until it is paid out only for someone who did both. Say yes if you never missed a US return you had to file in those years and every payout you took from the plan was on your US return.","help_lines":["Choose Not sure if you cannot tell from your earlier returns."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.filed_returns_and_reported_payouts","includes_united_states":false,"kind":"yesno","label":"Have you filed all your US returns and reported each payout from this plan?","label_when":[],"off_ramp":{"body":"A missed US return or an unreported payout means this plan's growth is taxed each year, which we do not work out. We can prepare this plan only on a return catching up through the IRS streamlined procedures for taxpayers abroad. On any other return we cannot prepare it.","code":"foreign_plan_growth_taxed","next_step":"Answer the next question. It shows whether the streamlined procedures can help.","severity":"info","title":"A missed return or payout matters here","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.filed_returns_and_reported_payouts","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.growth_reported_before","value":false}]}},{"binds":"foreign_assets[].plan_facts.payouts_reported","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you took no payouts, or if each one was on the US return for its year. Only a return catching up on missed returns through the IRS streamlined procedures for taxpayers abroad can still put off the tax on this plan's growth, and only when every payout was reported. On any other return we cannot prepare this plan, and the return is refused when it is built.","help_lines":["Choose Not sure if you cannot tell from your earlier returns."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.payouts_reported","includes_united_states":false,"kind":"yesno","label":"Did every payout you took from this plan appear on your US returns?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.payouts_reported","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.growth_reported_before","value":false},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.filed_returns_and_reported_payouts","value":false}]}},{"binds":"foreign_assets[].plan_facts.set_up_by","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"A workplace pension is set up by an employer for its staff. A personal pension or retirement account you opened yourself is yours.","help_lines":["A plan you set up yourself is taxed on its growth each year, which we do not work out."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.set_up_by","includes_united_states":false,"kind":"choice","label":"Who set up this retirement plan of yours?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.set_up_by","value":"self"}},"options":[{"label":"An employer, for its staff.","value":"employer"},{"label":"I did, on my own.","value":"self"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"ne","ref":"foreign_accounts.foreign_assets.country","value":"CA"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]}]}},{"binds":"foreign_assets[].plan_facts.owner_or_highly_paid","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you owned 5% or more of it this year or last year, or if its pay to you last year was above the IRS limit for a highly paid employee. Say yes too if you have left that employer and were highly paid when you left, or at any time after you turned 55.","help_lines":["The employer's payroll or pension team can tell you. Choose Not sure if you cannot tell."],"help_when":[[{"op":"gt","ref":"context.highly_paid_pay_limit","value":0},"For your return, highly paid means pay from that employer of more than {context.highly_paid_pay_limit}."]],"id":"foreign_accounts.foreign_assets.plan_facts.owner_or_highly_paid","includes_united_states":false,"kind":"yesno","label":"Were you an owner or a highly paid employee of that employer?","label_when":[],"off_ramp":{"body":"The growth inside this plan or policy is taxed by the US each year before it is paid out, or may be, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out a plan's yearly growth","when":{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.owner_or_highly_paid"}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"ne","ref":"foreign_accounts.foreign_assets.country","value":"CA"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.set_up_by","value":"employer"}]}},{"binds":"foreign_assets[].plan_facts.employer_paid_in_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count any amount an employer paid into the plan for you during the year. Your plan statement shows it.","help_lines":["What an employer pays into a plan abroad counts as your pay for US tax, which we do not work out.","Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year","includes_united_states":false,"kind":"yesno","label":"Did an employer pay into this plan for you during {context.return_year}?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"},{"op":"or","rules":[{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]},{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.growth_reported_before","value":false},{"op":"or","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.filed_returns_and_reported_payouts","value":true},{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.filed_returns_and_reported_payouts","value":false},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.payouts_reported","value":true}]}]}]},{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"ne","ref":"foreign_accounts.foreign_assets.country","value":"CA"},{"op":"not","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"}]}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]},{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"US"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]}]}]}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.set_up_by","value":"employer"}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.owner_or_highly_paid","value":false}]}]}},{"binds":"foreign_assets[].plan_facts.uk_scheme_builds_account","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes for a pension that grows from what you and your employer pay in, such as a defined contribution or group personal pension. Say no for one that promises a set pension worked out from your pay and years of work, a final salary or career average scheme. Your scheme's yearly statement shows which it is.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","includes_united_states":false,"kind":"yesno","label":"Does your workplace pension build up a pot from what is paid in?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}},{"binds":"foreign_assets[].plan_facts.canada_plan_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax treaty with Canada keeps an employer's payments into some Canadian workplace plans out of your US income, for work you do in Canada for a Canadian employer. Your plan papers or your employer's pension team can tell you which kind it is.","help_lines":["A retirement compensation arrangement (RCA) is not one of these, so pick Something else."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","includes_united_states":false,"kind":"choice","label":"Which kind of Canadian plan is yours?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"other"}},"options":[{"label":"A registered pension plan that builds an account from what is paid in.","value":"registered_pension_account"},{"label":"A registered pension plan that promises a set yearly pension.","value":"registered_pension_promised"},{"label":"A group RRSP run by my employer.","value":"group_rrsp"},{"label":"A deferred profit sharing plan (DPSP).","value":"dpsp"},{"label":"Something else.","value":"other"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]}},{"binds":"foreign_assets[].plan_facts.canadian_establishment_bears_pay","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your payslip or your employer's payroll team can tell you. Say yes if your employer has a fixed place of business in Canada, such as an office or a branch, and your pay is charged to it.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.canadian_establishment_bears_pay","includes_united_states":false,"kind":"yesno","label":"Is your pay for work in Canada charged to your employer's Canadian office?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"in","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp","registered_pension_promised"]},{"op":"any_row","ref":"income_sources.wages","rules":[{"op":"and","rules":[{"op":"eq","ref":"income_sources.wages.earned_in_country","value":"CA"},{"op":"not","rules":[{"op":"derived","ref":"income_sources.wages.employer_address_in_canada"}]}]}]}]}},{"binds":"foreign_assets[].plan_facts.taxpayer_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax treaty keeps an employer's payments into a workplace plan in that country out of US income only for a United States citizen. A person born in a US territory such as American Samoa who is a national but not a citizen answers no, and so does a green card holder. Your passport answers this. Choose Not sure if you cannot check.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","includes_united_states":false,"kind":"yesno","label":"Are you a United States citizen, not only a national?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"in","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp","registered_pension_promised"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"ne","ref":"fit.citizenship_or_residency","value":"us_citizen"}]}},{"binds":"foreign_assets[].plan_facts.spouse_us_citizen","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The tax treaty keeps an employer's payments into a workplace plan in that country out of US income only for a United States citizen. A green card alone is not enough. Their passport answers this. Choose Not sure if you cannot check.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","includes_united_states":false,"kind":"yesno","label":"Is your spouse, who owns this plan, a United States citizen?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}},"options":[],"prefill":{"confirm":false,"exact":true,"note":"Filled in from your answer about your spouse living abroad, where you said your spouse is not a United States citizen. Change it here if that was not right.","value":false,"when":{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","value":false}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"in","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp","registered_pension_promised"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":true}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"not","rules":[{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.claimant_us_citizen","value":true}]}]}},{"binds":"foreign_assets[].plan_facts.within_contribution_limits","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Add what you and your employer paid in during the year. It stays within the limits if it was all within the tax relief limit of the country the plan is in, so none of it was taxed there, and it came to no more than the US yearly limit.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[[{"op":"gt","ref":"context.canada_plan_additions_limit","value":0},"For your return, the US yearly limit is {context.canada_plan_additions_limit}."]],"id":"foreign_accounts.foreign_assets.plan_facts.within_contribution_limits","includes_united_states":false,"kind":"yesno","label":"Did everything paid into this plan for you in {context.return_year} stay within the limits?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.within_contribution_limits","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"in","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","values":["registered_pension_account","group_rrsp","dpsp"]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":true}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_within_canadian_limit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if none of it was taxed in the country the plan is in. A Canadian registered pension plan reports the pension you earned in the year as a pension adjustment on your T4 slip, and it stays within the limit unless Canada taxed some of it.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","includes_united_states":false,"kind":"yesno","label":"Did the pension you earned in {context.return_year} stay within its country's limit?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_yearly","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your yearly pension statement shows the pension you have earned to date, payable from the plan's normal retirement age. If the same employer has another plan that promises you a set pension, add that one's pension too.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_yearly","includes_united_states":false,"kind":"money","label":"What yearly pension does your latest plan statement say you have earned so far?","label_when":[],"options":[],"placeholder":"24000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_form","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan statement or booklet says how the pension is paid out.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_form","includes_united_states":false,"kind":"choice","label":"How is your pension from this plan paid?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_form","value":"other"}},"options":[{"label":"For the rest of my life.","value":"life_only"},{"label":"For the rest of my life, then part or all of it to my spouse.","value":"life_then_spouse"},{"label":"Another way, for example with a set number of years guaranteed.","value":"other"},{"label":"Not sure.","value":"not_sure"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_starts_at_62_or_later","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Use the age at which your statement says the pension you have earned is paid in full.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_starts_at_62_or_later","includes_united_states":false,"kind":"yesno","label":"Does your pension from this plan start at age 62 or later?","label_when":[],"off_ramp":{"body":"What an employer pays into a retirement plan abroad counts as your pay for US tax, and we do not work out that amount.","code":"foreign_plan_growth_taxed","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"We do not work out what an employer paid in","when":{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_starts_at_62_or_later","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_high_3_pay","clears":[],"currency_pickable":true,"derived_from_presence":[],"help":"Your payslips or tax slips show the pay. Take the three calendar years in a row in which that employer paid you the most, add up the pay and divide by three. If you have worked there for less than three years, use the years you have.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_high_3_pay","includes_united_states":false,"kind":"money","label":"What was your average yearly pay from that employer in your best three years?","label_when":[],"options":[],"placeholder":"95000","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_years_in_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your plan statement shows your credited or pensionable service. Give it as it is shown, with a part year as a decimal, for example 12.5.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_years_in_plan","includes_united_states":false,"kind":"text","label":"How many years of service in this plan does your statement credit you with?","label_when":[],"options":[],"placeholder":"12.5","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"plan_service_years":{"message":"Enter a number of years, for example 12.5."}},"validators":["plan_service_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_years_with_employer","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your employment contract or payslips show when you started. Give a part year as a decimal, for example 12.5.","help_lines":[],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_years_with_employer","includes_united_states":false,"kind":"text","label":"For how many years have you worked for that employer?","label_when":[],"options":[],"placeholder":"12.5","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"plan_service_years":{"message":"Enter a number of years, for example 12.5."}},"validators":["plan_service_years"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}},{"binds":"foreign_assets[].plan_facts.promised_pension_employer_had_account_plan","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example a group RRSP or a deferred profit sharing plan of the same employer, from your plan papers. What you pay into this pension plan yourself does not count. A small pension can stay within the US limit only if the answer is no.","help_lines":["Choose Not sure if you cannot tell."],"help_when":[],"id":"foreign_accounts.foreign_assets.plan_facts.promised_pension_employer_had_account_plan","includes_united_states":false,"kind":"yesno","label":"Have you ever belonged to a plan of that employer that builds an account?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"CA"}]},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"CA"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"CA"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"CA"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_canada"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"CA"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.canada_plan_type","value":"registered_pension_promised"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"foreign_accounts.foreign_assets.kind","value":"foreign_pension"},{"op":"eq","ref":"foreign_accounts.foreign_assets.country","value":"GB"},{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country","value":"GB"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"}]},{"op":"and","rules":[{"op":"eq","ref":"where_you_lived.residency.tax_home.country"},{"op":"eq","ref":"where_you_lived.bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"}]}]},{"op":"or","rules":[{"op":"not","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"}]},{"op":"or","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country","value":"GB"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence","value":"GB"},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_kingdom"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},{"op":"and","rules":[{"op":"eq","ref":"spouse_abroad.spouse_residency.tax_home.country"},{"op":"eq","ref":"spouse_abroad.spouse_bona_fide_residence.country_of_residence"},{"op":"derived","ref":"about_you.mailing_address_in_united_states"},{"op":"eq","ref":"about_you.lived_in_country","value":"GB"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}]}]}]},{"op":"truthy","ref":"foreign_accounts.foreign_assets.plan_facts.employer_paid_in_year"}]},{"op":"not","rules":[{"op":"eq","ref":"about_you.taxpayer.us_citizen_or_national","value":false}]}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.uk_scheme_builds_account","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.foreign_assets.is_jointly_owned_with_spouse"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.spouse_us_citizen","value":false}]}]},{"op":"not","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.taxpayer.us_citizen_or_national"},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.taxpayer_us_citizen","value":false}]}]},{"op":"gt","ref":"context.canada_plan_additions_limit","value":0}]},{"op":"eq","ref":"foreign_accounts.foreign_assets.plan_facts.promised_pension_within_canadian_limit","value":true}]}}],"row_label":"Investment","visible_when":{"op":"truthy","ref":"foreign_accounts.has_foreign_assets"}},{"binds":"excepted_forms.form_3520","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520 is for transactions with foreign trusts and large gifts from abroad. Count the copies filed for this tax year, and leave it blank if you filed none.","help_lines":[],"help_when":[],"id":"foreign_accounts.excepted_forms.form_3520","includes_united_states":false,"kind":"integer","label":"How many Forms 3520 did you file for the year?","label_when":[],"options":[],"placeholder":"1","prefills":[],"required":false,"required_validator":"expatreturn_us.domain.assets.ExceptedForms._names_a_form","required_when":{"op":"and","rules":[{"op":"truthy","ref":"foreign_accounts.filed_excepted_forms"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.excepted_forms.form_3520a"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.excepted_forms.form_5471"}]},{"op":"not","rules":[{"op":"answered","ref":"foreign_accounts.excepted_forms.form_8865"}]}]}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_count":{"message_bounds":"Enter how many of these forms you filed, from 1 to 999999, or leave it blank if you filed none."}},"validators":["form_count"],"visible_when":{"op":"truthy","ref":"foreign_accounts.filed_excepted_forms"}},{"binds":"excepted_forms.form_3520a","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 3520-A is for a foreign trust with a United States owner. Count the copies filed for this tax year, and leave it blank if you filed none.","help_lines":[],"help_when":[],"id":"foreign_accounts.excepted_forms.form_3520a","includes_united_states":false,"kind":"integer","label":"How many Forms 3520-A did you file for the year?","label_when":[],"options":[],"placeholder":"1","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_count":{"message_bounds":"Enter how many of these forms you filed, from 1 to 999999, or leave it blank if you filed none."}},"validators":["form_count"],"visible_when":{"op":"truthy","ref":"foreign_accounts.filed_excepted_forms"}},{"binds":"excepted_forms.form_5471","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 5471 is for owners, officers and directors of companies outside the United States. Count the copies filed for this tax year, and leave it blank if you filed none.","help_lines":[],"help_when":[],"id":"foreign_accounts.excepted_forms.form_5471","includes_united_states":false,"kind":"integer","label":"How many Forms 5471 did you file for the year?","label_when":[],"off_ramp":{"body":"Filing Form 5471 means you own part of, or are an officer or director of, a company outside the United States. We do not prepare returns for that situation.","code":"foreign_corporation_interest","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"A company abroad needs Form 5471","when":{"op":"gt","ref":"foreign_accounts.excepted_forms.form_5471","value":0}},"options":[],"placeholder":"1","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_count":{"message_bounds":"Enter how many of these forms you filed, from 1 to 999999, or leave it blank if you filed none."}},"validators":["form_count"],"visible_when":{"op":"truthy","ref":"foreign_accounts.filed_excepted_forms"}},{"binds":"excepted_forms.form_8865","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Form 8865 is for an interest in a foreign partnership. Count the copies filed for this tax year, and leave it blank if you filed none.","help_lines":[],"help_when":[],"id":"foreign_accounts.excepted_forms.form_8865","includes_united_states":false,"kind":"integer","label":"How many Forms 8865 did you file for the year?","label_when":[],"off_ramp":{"body":"Form 8865 reports an interest in a partnership outside the United States and your share of its income, which we do not work out. We do not prepare returns that need it.","code":"foreign_partnership_form_8865","next_step":"Use another preparer for a return like this, for example a tax professional. Your answers stay saved.","severity":"block","title":"A partnership abroad needs Form 8865","when":{"op":"gt","ref":"foreign_accounts.excepted_forms.form_8865","value":0}},"options":[],"placeholder":"1","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"form_count":{"message_bounds":"Enter how many of these forms you filed, from 1 to 999999, or leave it blank if you filed none."}},"validators":["form_count"],"visible_when":{"op":"truthy","ref":"foreign_accounts.filed_excepted_forms"}},{"binds":"other_reason_a_return_is_due","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Section 965 tax is a one-time tax on a foreign company's earnings, set on an earlier return and paid in yearly installments or deferred by a choice made then. It means a return is due whatever your income, which decides whether Form 8938 goes with it.","help_lines":[],"help_when":[[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024}]},"Say yes too if you are repaying a first-time homebuyer credit."],[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021}]},"Say yes too if you got a Form 1099-H for the year."]],"id":"foreign_accounts.other_reason_a_return_is_due","includes_united_states":false,"kind":"yesno","label":"Do you owe section 965 tax from an earlier year, in installments or deferred?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"eq","ref":"context.tax_year","value":2019},{"op":"eq","ref":"context.tax_year","value":2020},{"op":"eq","ref":"context.tax_year","value":2021},{"op":"eq","ref":"context.tax_year","value":2022},{"op":"eq","ref":"context.tax_year","value":2023},{"op":"eq","ref":"context.tax_year","value":2024},{"op":"eq","ref":"context.tax_year","value":2025}]},{"op":"ne","ref":"about_you.filing_status","value":"mfj"},{"op":"or","rules":[{"op":"any_row","ref":"foreign_accounts.foreign_accounts","rules":[{"op":"or","rules":[{"op":"gt","ref":"foreign_accounts.foreign_accounts.year_end_value","value":50000},{"op":"gt","ref":"foreign_accounts.foreign_accounts.max_value_during_year","value":75000}]}]},{"op":"any_row","ref":"foreign_accounts.foreign_assets","rules":[{"op":"or","rules":[{"op":"gt","ref":"foreign_accounts.foreign_assets.year_end_value","value":50000},{"op":"gt","ref":"foreign_accounts.foreign_assets.max_value_during_year","value":75000}]}]}]}]}},{"binds":"form_8938_presence_abroad","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count only full days, midnight to midnight, inside a foreign country, in 12 months in a row that end in that year. Days in the United States, and days at sea, do not count. Your passport stamps are the record.","help_lines":["Form 8938 asks this to set the totals your accounts and assets are reported above. Your addresses abroad do not show trips back to the United States, so it is asked here."],"help_when":[],"id":"foreign_accounts.form_8938_presence_abroad","includes_united_states":false,"kind":"yesno","label":"Were you abroad 330 full days in any 12 months ending in {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"truthy","ref":"fit.earned_money_abroad"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.you_earned_abroad","value":false}]},{"op":"not","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"},{"op":"or","rules":[{"op":"derived","ref":"foreign_accounts.foreign_accounts.max_total_over_8938_floor"},{"op":"derived","ref":"foreign_accounts.foreign_accounts.year_end_total_over_8938_floor"},{"op":"truthy","ref":"foreign_accounts.has_foreign_assets"},{"op":"answered","ref":"foreign_accounts.form_8938_presence_abroad"}]}]}}],"review":true,"title":"Accounts outside the United States"},{"blurb":"What you have already paid toward this year's tax, and where any refund should go.","id":"payments_refund","nodes":[{"clears":["payments_refund.payments.estimated_payments"],"currency_pickable":false,"derived_from_presence":["payments.estimated_payments[]"],"help":"These are payments you made yourself, usually quarterly, toward your {context.return_year} tax. Count the last one, paid in January {context.following_year}, and leave out the one paid in January {context.return_year} for the year before. Tax your employer withheld is not one. Your IRS online account (IRS.gov/Account) lists each payment the IRS received.","help_lines":[],"help_when":[],"id":"payments_refund.has_estimated_payments","includes_united_states":false,"kind":"yesno","label":"Did you send the IRS estimated tax payments for {context.return_year}?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["payments_refund.payments.prior_year_overpayment_applied","payments_refund.payments.amount_paid_with_extension"],"currency_pickable":false,"derived_from_presence":["payments.prior_year_overpayment_applied","payments.amount_paid_with_extension"],"help":"Line 36 of last year's Form 1040 shows what you left with the IRS, and your bank statement shows any payment you sent with the request for more time.","help_lines":[],"help_when":[],"id":"payments_refund.has_other_prepayments","includes_united_states":false,"kind":"yesno","label":"Did you apply last year's refund to this year, or pay with an extension?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"clears":["payments_refund.payments.former_spouse_ssn"],"currency_pickable":false,"derived_from_presence":["payments.former_spouse_ssn"],"help":"Answer yes only if the installments for this year were paid jointly with the spouse you divorced during the year. In that case the Form 1040 instructions ask you to enter your former spouse's number on your return.","help_lines":[],"help_when":[],"id":"payments_refund.joint_estimated_with_former_spouse","includes_united_states":false,"kind":"yesno","label":"Did you divorce this year after paying estimated tax jointly with your former spouse?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"payments_refund.has_estimated_payments"}},{"binds":"payments.former_spouse_ssn","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"From their Social Security card, or from a joint return you filed together. We enter it on your Form 1040 where the line 26 instructions for your tax year say.","help_lines":[],"help_when":[],"id":"payments_refund.payments.former_spouse_ssn","includes_united_states":false,"kind":"ssn","label":"What is your former spouse's nine-digit Social Security number?","label_when":[],"options":[],"placeholder":"400-12-3456","prefills":[],"required":false,"required_validator":"expatreturn_us.interview.authoring.presence_gates","required_when":{"op":"truthy","ref":"payments_refund.joint_estimated_with_former_spouse"},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"issued_taxpayer_id":{"message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one."},"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456."}},"validators":["nine_digit_tin","issued_taxpayer_id"],"visible_when":{"op":"truthy","ref":"payments_refund.joint_estimated_with_former_spouse"}},{"binds":"payments.prior_year_overpayment_applied","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Line 36 of last year's Form 1040.","help_lines":[],"help_when":[],"id":"payments_refund.payments.prior_year_overpayment_applied","includes_united_states":false,"kind":"money","label":"How much of last year's refund did you apply to this year?","label_when":[],"options":[],"placeholder":"300","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"payments_refund.has_other_prepayments"}},{"binds":"payments.amount_paid_with_extension","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The US dollar amount the IRS received, without any card fee. Your IRS online account at IRS.gov/Account lists each payment.","help_lines":[],"help_when":[],"id":"payments_refund.payments.amount_paid_with_extension","includes_united_states":false,"kind":"money","label":"How much did you pay when you asked for more time to file?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"payments_refund.has_other_prepayments"}},{"add_label":"Add an installment","binds":"payments.estimated_payments[]","help":"Add one row per payment, from your bank statements, including the one paid in January {context.following_year} for {context.return_year}.","id":"payments_refund.payments.estimated_payments","kind":"repeat","label":"Which installments did you pay for {context.return_year}?","layout":"table","min_rows":1,"nodes":[{"binds":"payments.estimated_payments[].paid_on","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The date on your bank statement when the money left your account.","help_lines":[],"help_when":[],"id":"payments_refund.payments.estimated_payments.paid_on","includes_united_states":false,"kind":"date","label":"When did you pay it?","label_when":[],"options":[],"placeholder":"2025-06-15","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"payments.estimated_payments[].amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The US dollar amount the IRS received, without any card fee. Your IRS online account at IRS.gov/Account lists each payment.","help_lines":[],"help_when":[],"id":"payments_refund.payments.estimated_payments.amount","includes_united_states":false,"kind":"money","label":"How much did you pay?","label_when":[],"options":[],"placeholder":"1500","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"row_label":"Installment","visible_when":{"op":"truthy","ref":"payments_refund.has_estimated_payments"}},{"binds":"payments.economic_impact_payment_1","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter Notice 1444 shows the amount, and so does your IRS online account. On a joint return, enter the total sent to both of you. Enter 0 if none was sent. We use it to work out the recovery rebate credit on line 30 of your Form 1040.","help_lines":[],"help_when":[],"id":"payments_refund.payments.economic_impact_payment_1","includes_united_states":false,"kind":"money","label":"How much was the first economic impact payment the IRS sent you for 2020?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.recovery_rebate.compute_recovery_rebate","required_when":{"op":"eq","ref":"context.tax_year","value":2020},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2020}},{"binds":"payments.economic_impact_payment_2","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter Notice 1444-B shows the amount, and so does your IRS online account. On a joint return, enter the total sent to both of you. Enter 0 if none was sent. We use it to work out the recovery rebate credit on line 30 of your Form 1040.","help_lines":[],"help_when":[],"id":"payments_refund.payments.economic_impact_payment_2","includes_united_states":false,"kind":"money","label":"How much was the second economic impact payment the IRS sent you for 2020?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.recovery_rebate.compute_recovery_rebate","required_when":{"op":"eq","ref":"context.tax_year","value":2020},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2020}},{"binds":"payments.economic_impact_payment_3","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter Notice 1444-C shows the amount, and so does your IRS online account. On a joint return, enter the total sent to both of you. Enter 0 if none was sent. We use it to work out the recovery rebate credit on line 30 of your Form 1040.","help_lines":[],"help_when":[],"id":"payments_refund.payments.economic_impact_payment_3","includes_united_states":false,"kind":"money","label":"How much was the third economic impact payment the IRS sent you for 2021?","label_when":[],"options":[],"placeholder":"0","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.recovery_rebate.compute_recovery_rebate","required_when":{"op":"eq","ref":"context.tax_year","value":2021},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2021}},{"binds":"payments.advance_child_tax_credit_received","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The IRS letter 6419 lists them. They were monthly payments from July to December 2021. On a joint return, count payments to either of you.","help_lines":[],"help_when":[],"id":"payments_refund.payments.advance_child_tax_credit_received","includes_united_states":false,"kind":"yesno","label":"Did the IRS send you advance child tax credit payments during 2021?","label_when":[],"options":[],"prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.prior_year_law.prior_year_law_refusals","required_when":{"op":"eq","ref":"context.tax_year","value":2021},"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"eq","ref":"context.tax_year","value":2021}},{"binds":"child_tax_credit_2021.letter_6419_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 is the total of the advance payments the IRS sent you in 2021. Enter 0 if the IRS sent no Letter 6419 to you.","help_lines":["If you have lost the letter, ask the IRS for these figures before you answer."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, give your own letter here and your spouse's next."]],"id":"payments_refund.child_tax_credit_2021.letter_6419_amount","includes_united_states":false,"kind":"money","label":"How much does box 1 of your Letter 6419 show?","label_when":[],"options":[],"placeholder":"1800","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","required_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}},{"binds":"child_tax_credit_2021.letter_6419_children","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 is the number of children the IRS counted for your advance payments. Enter 0 if the IRS sent no Letter 6419 to you.","help_lines":[],"help_when":[],"id":"payments_refund.child_tax_credit_2021.letter_6419_children","includes_united_states":false,"kind":"integer","label":"How many children does box 2 of your Letter 6419 show?","label_when":[],"options":[],"placeholder":"2","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","required_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"children_on_a_letter":{"message_bounds":"Enter the number of children as a whole number from 0 to 99."}},"validators":["children_on_a_letter"],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}},{"binds":"child_tax_credit_2021.spouse_letter_6419_amount","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 1 is the total of the advance payments the IRS sent your spouse in 2021. Enter 0 if the IRS sent them no Letter 6419.","help_lines":["If your spouse has lost the letter, ask the IRS for these figures before you answer."],"help_when":[],"id":"payments_refund.child_tax_credit_2021.spouse_letter_6419_amount","includes_united_states":false,"kind":"money","label":"How much does box 1 of your spouse's Letter 6419 show?","label_when":[],"options":[],"placeholder":"1800","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},"suggests_currencies":false,"unanswered_allowed":false,"validators":["non_negative_money"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"child_tax_credit_2021.spouse_letter_6419_children","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Box 2 is the number of children the IRS counted for their advance payments. Enter 0 if the IRS sent them no Letter 6419.","help_lines":[],"help_when":[],"id":"payments_refund.child_tax_credit_2021.spouse_letter_6419_children","includes_united_states":false,"kind":"integer","label":"How many children does box 2 of your spouse's Letter 6419 show?","label_when":[],"options":[],"placeholder":"2","prefills":[],"required":false,"required_validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","required_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]},"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"children_on_a_letter":{"message_bounds":"Enter the number of children as a whole number from 0 to 99."}},"validators":["children_on_a_letter"],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"child_tax_credit_2021.joint_2020_return_together","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your 2020 Form 1040 shows the filing status. It decides how the children on your two letters are counted.","help_lines":["Choose Not sure if neither of you filed a 2020 return, or if you cannot check. The instructions have no rule for a couple with no 2020 return, so the return can be filed from here only if your advance payments were not more than your credit."],"help_when":[],"id":"payments_refund.child_tax_credit_2021.joint_2020_return_together","includes_united_states":false,"kind":"yesno","label":"Did you and your spouse file a joint 2020 return together?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"}]}},{"binds":"child_tax_credit_2021.us_main_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your main home is where you regularly lived, in the 50 states or the District of Columbia. Time away for illness, school, business or a vacation still counts as time there.","help_lines":["If you were on extended active duty with the United States armed forces outside the United States, your main home counts as being in the United States.","A home in Puerto Rico or another United States territory does not count here.","Choose Not sure if you cannot tell: the return cannot be filed from here until it is answered, and no credit is claimed or given up in the meantime."],"help_when":[[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},"With a main home there, the 2021 child tax credit can be paid out to you in full, even with no income."],[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]},"With a main home there, the 2021 credit for the cost of care can be paid out to you, even if you owe no tax."],[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]},"Your duty counts when it was ordered for more than 90 days or for no set time."],[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, answer for yourself. We ask about your spouse next if your answer is not yes."]],"id":"payments_refund.child_tax_credit_2021.us_main_home","includes_united_states":false,"kind":"yesno","label":"Was your main home in the United States for over half of 2021?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","required_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]}]}},{"binds":"child_tax_credit_2021.spouse_us_main_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Their main home is where they regularly lived, in the 50 states or the District of Columbia. Time away for illness, school, business or a vacation still counts as time there.","help_lines":["If your spouse was on extended active duty with the United States armed forces outside the United States, their main home counts as being in the United States.","A home in Puerto Rico or another United States territory does not count here.","Choose Not sure if you cannot tell: the return cannot be filed from here until it is answered, and no credit is claimed or given up in the meantime."],"help_when":[],"id":"payments_refund.child_tax_credit_2021.spouse_us_main_home","includes_united_states":false,"kind":"yesno","label":"Was your spouse's main home in the United States for over half of 2021?","label_when":[],"options":[],"prefills":[],"required":true,"required_validator":"expatreturn_us.engine.computations.sch_8812_2021.compute_schedule_8812_ty2021","required_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"truthy","ref":"payments_refund.child_tax_credit_2021.us_main_home"}]}]},"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"or","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"},{"op":"truthy","ref":"household.dependents.qualifies_odc"}]}]},{"op":"truthy","ref":"payments_refund.payments.advance_child_tax_credit_received"}]}]},{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2021},{"op":"truthy","ref":"deductions_credits.has_child_dependent_care"}]}]},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"truthy","ref":"payments_refund.child_tax_credit_2021.us_main_home"}]}]}},{"binds":"payments.receive_federal_public_benefit","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The 2026 Form 1040 asks this on Schedule 3-A, line 7 (\"Do you want to receive your federal public benefit?\"), when you claim the earned income credit, the additional child tax credit, the refundable American opportunity credit or the refundable adoption credit.","help_lines":["The schedule calls the refunded portion of those credits your federal public benefit.","If you answer no, the schedule enters that amount on Form 1040 line 32b, where it is subtracted from your refundable credits."],"help_when":[],"id":"payments_refund.payments.receive_federal_public_benefit","includes_united_states":false,"kind":"yesno","label":"Are you choosing to receive your federal public benefit?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"eq","ref":"context.tax_year","value":2026},{"op":"or","rules":[{"op":"any_row","ref":"household.dependents","rules":[{"op":"truthy","ref":"household.dependents.qualifies_ctc"}]},{"op":"and","rules":[{"op":"any_row","ref":"deductions_credits.education_credits.students","rules":[{"op":"eq","ref":"deductions_credits.education_credits.students.credit","value":"aotc"}]},{"op":"not","rules":[{"op":"truthy","ref":"deductions_credits.education_credits.refundable_aotc_barred_under_age24"}]}]}]}]}},{"binds":"form_2350_extended_to","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"If the IRS approved your Form 2350, enter the date you asked for on its line 1.","help_lines":["Form 2350 is the request for more time to meet the bona fide residence or physical presence test.","If the IRS did not approve the request but gave you a 45-day grace period, enter the last day of that grace period, printed on its Notice to Applicant.","If the IRS refused the request with no grace period, your return has no extension."],"help_when":[[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"any_row","ref":"household.dependents","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]}]},"Leave this blank if you did not file Form 2350."],[{"op":"eq","ref":"foreign_tax.ftc_accrual_filing_date","value":"form_2350"},"If the IRS refused the request with no grace period, your return has no extension: choose a No answer to whether you asked for more time."],[{"op":"eq","ref":"foreign_tax.ftc_accrual_filing_date","value":"form_2350"},"If that date is before June 15 and on the April due date you lived and worked outside the United States and Puerto Rico, change your answer to whether you asked for more time. Choose the No answer for living and working outside the United States instead. It gives you until June 15."]],"id":"payments_refund.form_2350_extended_to","includes_united_states":false,"kind":"date","label":"What date does your Form 2350 extension run to?","label_when":[],"options":[],"placeholder":"2027-01-30","prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"household.has_spouse"},{"op":"eq","ref":"about_you.filing_status","value":"mfj"},{"op":"not","rules":[{"op":"answered","ref":"household.spouse.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.spouse_applies_for_itin"}]},{"op":"any_row","ref":"household.dependents","rules":[{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"household.dependents.ssn_or_itin_or_atin"}]},{"op":"ne","ref":"household.dependents.life_event_in_year","value":"born_and_died"}]},{"op":"truthy","ref":"household.dependents.applies_for_itin"}]}]}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"about_you.filing_for_someone_who_died"},{"op":"not","rules":[{"op":"answered","ref":"about_you.taxpayer.ssn_or_itin"}]}]},{"op":"truthy","ref":"household.taxpayer_applies_for_itin"}]}]},{"op":"truthy","ref":"household.itin_application_by_due_date"}]},{"op":"eq","ref":"foreign_tax.ftc_accrual_filing_date","value":"form_2350"}]}},{"clears":["payments_refund.refund_disbursement.routing_number"],"currency_pickable":false,"derived_from_presence":["refund_disbursement"],"help":"It arrives faster than a check. The IRS can only pay into an account inside the United States, so say no if your bank is somewhere else and they will mail you a check.","help_lines":[],"help_when":[],"id":"payments_refund.wants_direct_deposit","includes_united_states":false,"kind":"yesno","label":"{name}, should any refund go into your own bank account in the United States?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]},{"binds":"refund_disbursement.is_us_account","clears":["payments_refund.refund_disbursement.routing_number","payments_refund.refund_disbursement.account_number","payments_refund.refund_disbursement.account_type"],"currency_pickable":false,"derived_from_presence":[],"help":"Your bank statement heading says where your bank is. The IRS only pays a refund into an account at a bank inside the United States, so answer no if yours is somewhere else and we will not ask you for any account details.","help_lines":[],"help_when":[],"id":"payments_refund.refund_disbursement.is_us_account","includes_united_states":false,"kind":"yesno","label":"Is your account at a bank inside the United States?","label_when":[],"off_ramp":{"body":"A refund can only be paid straight into an account at a bank inside the United States, so yours will arrive as a check in the mail, sent to the address you gave earlier.","code":"refund_by_check","next_step":"Continue. Check that the address you gave is one where mail reaches you.","severity":"info","title":"The IRS will mail your refund as a check","when":{"op":"eq","ref":"payments_refund.refund_disbursement.is_us_account","value":false}},"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"truthy","ref":"payments_refund.wants_direct_deposit"}},{"binds":"refund_disbursement.routing_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The nine digits at the bottom left of your check, or the routing number in your banking app. A United States routing number always starts 01 to 12 or 21 to 32.","help_lines":[],"help_when":[],"id":"payments_refund.refund_disbursement.routing_number","includes_united_states":false,"kind":"text","label":"Which nine-digit routing number should we use to pay your refund into?","label_when":[],"options":[],"placeholder":"011000015","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"routing_number":{"message":"Check the nine digits at the bottom left of your check. A United States routing number starts 01 to 12 or 21 to 32, so an account outside the United States cannot be used here.","message_algorithm":"Check the nine digits at the bottom left of your check. They fail the arithmetic test every United States routing number passes, so they do not belong to any bank."}},"validators":["routing_number"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"payments_refund.wants_direct_deposit"},{"op":"eq","ref":"payments_refund.refund_disbursement.is_us_account","value":true}]}},{"binds":"refund_disbursement.account_number","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Beside the routing number at the bottom of your check, or in your banking app.","help_lines":[],"help_when":[],"id":"payments_refund.refund_disbursement.account_number","includes_united_states":false,"kind":"text","label":"What is your account number?","label_when":[],"options":[],"placeholder":"1234567890","prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validator_messages":{"bank_account_number":{"message":"Check your account number and type it again using letters, digits and hyphens only."}},"validators":["bank_account_number"],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"payments_refund.wants_direct_deposit"},{"op":"eq","ref":"payments_refund.refund_disbursement.is_us_account","value":true}]}},{"binds":"refund_disbursement.account_type","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Your bank statement heading says which.","help_lines":[],"help_when":[],"id":"payments_refund.refund_disbursement.account_type","includes_united_states":false,"kind":"choice","label":"Is your account a checking account or a savings account?","label_when":[],"options":[{"label":"Checking.","value":"checking"},{"label":"Savings.","value":"savings"}],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"payments_refund.wants_direct_deposit"},{"op":"eq","ref":"payments_refund.refund_disbursement.is_us_account","value":true}]}}],"review":true,"title":"Payments and your refund"},{"blurb":"Here is everything you told us. Fix anything that looks wrong; nothing goes to the IRS until you sign.","id":"review","nodes":[{"binds":"feie_election.claim","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The alternative is to keep that pay in your income and claim the credit for the tax paid abroad on it.","help_lines":["Your return shows which way you chose.","The exclusion is a choice made by filing Form 2555, and it stays in effect for later years until it is given up; once given up, it cannot be claimed again for the next five tax years without the IRS's approval (Instructions for Form 2555, pages 2 and 3).","Claiming the credit for tax paid abroad, the additional child tax credit or the earned income credit in a later year counts as giving it up (Publication 54, Effect of Revoking the Exclusions)."],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.compare_with_exclusion_total_tax","value":-1},{"op":"gt","ref":"context.compare_credit_only_total_tax","value":-1}]},"The table shows your return worked out both ways."],[{"op":"gt","ref":"context.compare_with_exclusion_refused","value":-1},"{context.compare_with_exclusion_refused} That is why your return with the exclusion is not available here."],[{"op":"gt","ref":"context.compare_credit_only_refused","value":-1},"{context.compare_credit_only_refused} That is why your return without the foreign earned income exclusion is not available here."],[{"op":"gt","ref":"context.compare_with_exclusion_simplified_total_tax","value":-1},"Your return with the exclusion is worked out here without the simplified limitation choice for the credit for foreign tax under the alternative minimum tax. With that choice its total tax would be {context.compare_with_exclusion_simplified_total_tax}. That choice is yours, and it is made in the first year you claim that credit."],[{"op":"gt","ref":"context.compare_credit_only_simplified_total_tax","value":-1},"Your return without the foreign earned income exclusion is worked out here without the simplified limitation choice for the credit for foreign tax under the alternative minimum tax. With that choice its total tax would be {context.compare_credit_only_simplified_total_tax}. That choice is yours, and it is made in the first year you claim that credit."],[{"op":"gt","ref":"context.compare_primary_barred","value":-1},"You gave up the exclusion within the last five years, so it is not open to you this year without the IRS's approval."],[{"op":"and","rules":[{"op":"gt","ref":"context.compare_spouse_barred","value":-1},{"op":"gt","ref":"context.compare_with_exclusion_total_tax","value":-1}]},"The figures with the exclusion count it for you only, because your spouse gave it up within the last five years."],[{"op":"gt","ref":"context.compare_both_spouses","value":-1},"These figures assume you and your spouse make the same choice; each of you answers for yourself."],[{"op":"or","rules":[{"op":"gt","ref":"context.compare_with_exclusion_total_tax","value":-1},{"op":"gt","ref":"context.compare_with_exclusion_refused","value":-1},{"op":"gt","ref":"context.compare_credit_only_total_tax","value":-1},{"op":"gt","ref":"context.compare_credit_only_refused","value":-1}]},"This is your choice. We show both so you can compare."]],"id":"review.feie_election.claim","includes_united_states":false,"kind":"yesno","label":"Are you claiming the foreign earned income exclusion this year?","label_when":[],"options":[],"prefill":{"confirm":true,"exact":false,"note":"You chose the exclusion when we asked how pay from work abroad is treated. Keep that here, or change it.","value":true,"when":{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"claim"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}},{"binds":"spouse_feie_election.claim","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"The alternative is to keep that pay in your income and claim the credit for the tax paid abroad on it.","help_lines":["Your return shows which way you chose.","The exclusion is a choice made by filing Form 2555, and it stays in effect for later years until it is given up; once given up, it cannot be claimed again for the next five tax years without the IRS's approval (Instructions for Form 2555, pages 2 and 3).","Claiming the credit for tax paid abroad, the additional child tax credit or the earned income credit in a later year counts as giving it up (Publication 54, Effect of Revoking the Exclusions)."],"help_when":[[{"op":"and","rules":[{"op":"gt","ref":"context.compare_with_exclusion_total_tax","value":-1},{"op":"gt","ref":"context.compare_credit_only_total_tax","value":-1}]},"The table shows your return worked out both ways."],[{"op":"gt","ref":"context.compare_with_exclusion_refused","value":-1},"{context.compare_with_exclusion_refused} That is why your return with the exclusion is not available here."],[{"op":"gt","ref":"context.compare_credit_only_refused","value":-1},"{context.compare_credit_only_refused} That is why your return without the foreign earned income exclusion is not available here."],[{"op":"gt","ref":"context.compare_with_exclusion_simplified_total_tax","value":-1},"Your return with the exclusion is worked out here without the simplified limitation choice for the credit for foreign tax under the alternative minimum tax. With that choice its total tax would be {context.compare_with_exclusion_simplified_total_tax}. That choice is yours, and it is made in the first year you claim that credit."],[{"op":"gt","ref":"context.compare_credit_only_simplified_total_tax","value":-1},"Your return without the foreign earned income exclusion is worked out here without the simplified limitation choice for the credit for foreign tax under the alternative minimum tax. With that choice its total tax would be {context.compare_credit_only_simplified_total_tax}. That choice is yours, and it is made in the first year you claim that credit."],[{"op":"gt","ref":"context.compare_spouse_barred","value":-1},"Your spouse gave up the exclusion within the last five years, so it is not open to them this year without the IRS's approval."],[{"op":"and","rules":[{"op":"gt","ref":"context.compare_primary_barred","value":-1},{"op":"gt","ref":"context.compare_with_exclusion_total_tax","value":-1}]},"The figures with the exclusion count it for your spouse only, because you gave it up within the last five years."],[{"op":"gt","ref":"context.compare_both_spouses","value":-1},"These figures assume you and your spouse make the same choice; each of you answers for yourself."],[{"op":"or","rules":[{"op":"gt","ref":"context.compare_with_exclusion_total_tax","value":-1},{"op":"gt","ref":"context.compare_with_exclusion_refused","value":-1},{"op":"gt","ref":"context.compare_credit_only_total_tax","value":-1},{"op":"gt","ref":"context.compare_credit_only_refused","value":-1}]},"This is your choice. We show both so you can compare."]],"id":"review.spouse_feie_election.claim","includes_united_states":false,"kind":"yesno","label":"Is your spouse claiming the foreign earned income exclusion this year?","label_when":[],"options":[],"prefill":{"confirm":true,"exact":false,"note":"You chose the exclusion when we asked how pay from work abroad is treated. Keep that here, or change it.","value":true,"when":{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"claim"}},"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]}},{"binds":"feie_election.housing_claim","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is a separate choice from the exclusion for pay, made on the same form. It leaves out of income the housing costs above a base amount, to the extent your employer's pay covered them.","help_lines":["Like the exclusion for pay, it stays in effect for later years until it is given up, and once given up it cannot be claimed again for the next five tax years without the IRS's approval (Publication 54, Effect of Revoking the Exclusions)."],"help_when":[],"id":"review.feie_election.housing_claim","includes_united_states":false,"kind":"yesno","label":"Are you claiming the foreign housing exclusion this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"where_you_lived.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"where_you_lived.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"where_you_lived.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_housing"}]}},{"binds":"spouse_feie_election.housing_claim","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"It is a separate choice from the exclusion for pay, made on the same form. It leaves out of income the housing costs above a base amount, to the extent your employer's pay covered them.","help_lines":["Like the exclusion for pay, it stays in effect for later years until it is given up, and once given up it cannot be claimed again for the next five tax years without the IRS's approval (Publication 54, Effect of Revoking the Exclusions)."],"help_when":[],"id":"review.spouse_feie_election.housing_claim","includes_united_states":false,"kind":"yesno","label":"Is your spouse claiming the foreign housing exclusion this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"or","rules":[{"op":"and","rules":[{"op":"or","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"},{"op":"and","rules":[{"op":"not","rules":[{"op":"answered","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"and","rules":[{"op":"and","rules":[{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_physical_presence"}]},{"op":"not","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"}]}]},{"op":"derived","ref":"spouse_abroad.ppt_qualifies"}]}]}]},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]},{"op":"and","rules":[{"op":"truthy","ref":"spouse_abroad.uses_bona_fide_residence"},{"op":"not","rules":[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"}]}]}]},{"op":"truthy","ref":"foreign_tax.has_spouse_housing"}]}},{"binds":"state_ties.last_state","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Optional. A state can expect a tax return from someone who used to live there. Pick the state you lived in before you moved abroad, or the one you live in now if you moved back, and we tell you what we found about it. It does not change your federal return.","help_lines":["We do not prepare state returns. Leave this blank to skip the check.","Pick the District of Columbia for Washington, DC."],"help_when":[[{"op":"eq","ref":"about_you.filing_status","value":"mfj"},"On a joint return, answer for yourself. If your spouse last lived in another state, that state's own rules apply to them."]],"id":"review.state_ties.last_state","includes_united_states":false,"kind":"choice","label":"Which United States state did you last live in?","label_when":[],"options":[{"label":"Alabama","value":"AL"},{"label":"Alaska","value":"AK"},{"label":"Arizona","value":"AZ"},{"label":"Arkansas","value":"AR"},{"label":"California","value":"CA"},{"label":"Colorado","value":"CO"},{"label":"Connecticut","value":"CT"},{"label":"Delaware","value":"DE"},{"label":"District of Columbia","value":"DC"},{"label":"Florida","value":"FL"},{"label":"Georgia","value":"GA"},{"label":"Hawaii","value":"HI"},{"label":"Idaho","value":"ID"},{"label":"Illinois","value":"IL"},{"label":"Indiana","value":"IN"},{"label":"Iowa","value":"IA"},{"label":"Kansas","value":"KS"},{"label":"Kentucky","value":"KY"},{"label":"Louisiana","value":"LA"},{"label":"Maine","value":"ME"},{"label":"Maryland","value":"MD"},{"label":"Massachusetts","value":"MA"},{"label":"Michigan","value":"MI"},{"label":"Minnesota","value":"MN"},{"label":"Mississippi","value":"MS"},{"label":"Missouri","value":"MO"},{"label":"Montana","value":"MT"},{"label":"Nebraska","value":"NE"},{"label":"Nevada","value":"NV"},{"label":"New Hampshire","value":"NH"},{"label":"New Jersey","value":"NJ"},{"label":"New Mexico","value":"NM"},{"label":"New York","value":"NY"},{"label":"North Carolina","value":"NC"},{"label":"North Dakota","value":"ND"},{"label":"Ohio","value":"OH"},{"label":"Oklahoma","value":"OK"},{"label":"Oregon","value":"OR"},{"label":"Pennsylvania","value":"PA"},{"label":"Rhode Island","value":"RI"},{"label":"South Carolina","value":"SC"},{"label":"South Dakota","value":"SD"},{"label":"Tennessee","value":"TN"},{"label":"Texas","value":"TX"},{"label":"Utah","value":"UT"},{"label":"Vermont","value":"VT"},{"label":"Virginia","value":"VA"},{"label":"Washington","value":"WA"},{"label":"West Virginia","value":"WV"},{"label":"Wisconsin","value":"WI"},{"label":"Wyoming","value":"WY"},{"label":"I never lived in a United States state.","value":"none"}],"prefills":[],"required":false,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]}},{"binds":"state_ties.lived_there_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count any part of the year, such as the months before you moved abroad.","help_lines":[],"help_when":[],"id":"review.state_ties.lived_there_this_year","includes_united_states":false,"kind":"yesno","label":"Did you live in that state at any time this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["AL","AR","AZ","CA","CO","CT","DC","DE","GA","HI","IA","IL","IN","KY","MA","MD","ME","MS","MT","NC","NE","NJ","NM","NY","OH","OK","OR","PA","SC","UT","VT","WI","WV"]}]}},{"binds":"state_ties.kept_home","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count a house or an apartment there that you own or rent, whether or not anyone lived in it while you were away.","help_lines":[],"help_when":[],"id":"review.state_ties.kept_home","includes_united_states":false,"kind":"yesno","label":"Did you keep a home in that state this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["AL","CA","CO","CT","DE","IA","KY","MA","MD","ME","MS","MT","NE","NJ","NM","NY","OH","OR","PA","UT","WI"]}]}},{"binds":"state_ties.kept_drivers_license","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if the license that state issued you was still valid at some time this year.","help_lines":[],"help_when":[],"id":"review.state_ties.kept_drivers_license","includes_united_states":false,"kind":"yesno","label":"Did you keep a driver's license from that state?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["CA","CO","IA","IN","MA","ME","MS","MT","NJ","OH","OR","PA","UT","WI"]}]}},{"binds":"state_ties.kept_voter_registration","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you were on its voter roll at any time this year, for example to vote by absentee ballot from abroad.","help_lines":[],"help_when":[],"id":"review.state_ties.kept_voter_registration","includes_united_states":false,"kind":"yesno","label":"Were you still registered to vote in that state this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["CA","CO","IA","IN","MA","ME","MS","MT","NJ","OH","OR","PA","WI"]}]}},{"binds":"state_ties.had_income_there","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"For example pay for work you did there, rent from property there or profit from a business there.","help_lines":[],"help_when":[],"id":"review.state_ties.had_income_there","includes_united_states":false,"kind":"yesno","label":"Did you have income from that state this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["AL","AR","AZ","CA","CO","CT","DE","GA","HI","IA","IL","IN","KY","MA","ME","MN","MS","MT","NC","NE","NJ","NM","NY","OH","OK","OR","PA","SC","UT","VT","WI","WV"]}]}},{"binds":"state_ties.spent_30_days_there","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count every day you were there, including visits.","help_lines":[],"help_when":[],"id":"review.state_ties.spent_30_days_there","includes_united_states":false,"kind":"yesno","label":"Did you spend 30 days or more in that state this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["WV"]}]}},{"binds":"state_ties.utah_school_dependent","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if a dependent you or your spouse claimed for the child tax credit on a federal return was enrolled in a Utah public school, kindergarten to grade 12.","help_lines":["It does not count if you are the parent the child does not live with and you are not married to the other parent.","If you are not married, answer for yourself."],"help_when":[],"id":"review.state_ties.utah_school_dependent","includes_united_states":false,"kind":"yesno","label":"Did you or your spouse claim the child tax credit for a Utah schoolchild?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["UT"]}]}},{"binds":"state_ties.utah_resident_student","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Answer yes if you or your spouse were enrolled as a resident student at a Utah state university or college at any time this year.","help_lines":["If you are not married, answer for yourself."],"help_when":[],"id":"review.state_ties.utah_resident_student","includes_united_states":false,"kind":"yesno","label":"Were you or your spouse a resident student at a Utah state college?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["UT"]}]}},{"binds":"state_ties.voted_there_this_year","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Count a vote by absentee ballot from abroad. Utah counts it when neither of you was registered to vote or voted in another state.","help_lines":["If you are not married, answer for yourself."],"help_when":[],"id":"review.state_ties.voted_there_this_year","includes_united_states":false,"kind":"yesno","label":"Did you or your spouse vote in Utah this year?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["UT"]}]}},{"binds":"state_ties.plans_to_return","clears":[],"currency_pickable":false,"derived_from_presence":[],"help":"Say yes if you mean to move back one day, even without a date. Choose Not sure if you have not decided.","help_lines":[],"help_when":[],"id":"review.state_ties.plans_to_return","includes_united_states":false,"kind":"yesno","label":"Do you plan to make that state your home again?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":true,"validators":[],"visible_when":{"op":"and","rules":[{"op":"and","rules":[{"op":"truthy","ref":"fit.lived_abroad"},{"op":"in","ref":"context.tax_year","values":[2025]}]},{"op":"in","ref":"review.state_ties.last_state","values":["AL","AR","AZ","CA","CO","CT","DE","GA","HI","IA","IL","IN","MA","MD","MS","NC","NE","NJ","NM","NY","OH","OK","OR","PA","SC","UT","WI","WV"]}]}},{"clears":[],"currency_pickable":false,"derived_from_presence":["taxpayer"],"help":"Read through your answers and use Edit to change any of them. You are the one signing, so check names and numbers against your cards and statements, and check no income is missing.","help_lines":[],"help_when":[[{"op":"eq","ref":"where_you_lived.pay_abroad_treatment","value":"credit_only"},"You chose to keep pay from work abroad in income with the credit for foreign tax, so no Form 2555 is prepared and the questions about time abroad were not asked. To change that, edit your answer on the page about where you lived."]],"id":"review.confirmed","includes_united_states":false,"kind":"yesno","label":"Are you ready to go on to signing?","label_when":[],"options":[],"prefills":[],"required":true,"suggests_currencies":false,"unanswered_allowed":false,"validators":[]}],"review":true,"title":"Check and confirm"}],"text_space_separators":"               　","trimmable_whitespace":"\t\n\u000b\f\r ","united_states_option":{"label":"United States","value":"US"},"validators":{"account_identifier":{"message":"Check the account number on your statement and type it again using ordinary letters, numbers and punctuation. A letter outside the Latin alphabet cannot be filed.","mirrors":"mef.xml_util.TEXT_TYPE_RE","note":"The account number exactly as your statement shows it. We show only its last four characters back to you.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"age_in_years":{"maximum":"130","message_bounds":"Enter the age in whole years, from 0 to 130.","minimum":"0","note":"A whole number of years from 0 to 130."},"ascii_text_100":{"max_length":100,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT2_TYPE_RE","note":"Ordinary keyboard characters only, up to a hundred of them.","pattern":"([\\x21-\\x7e] ?)*[\\x21-\\x7e]"},"bank_account_number":{"message":"Check your account number and type it again using letters, digits and hyphens only.","mirrors":"domain.tax_return._BANK_ACCOUNT_RE","note":"Up to seventeen letters, digits or hyphens.","pattern":"[A-Za-z0-9\\-]{1,17}"},"business_activity_code":{"algorithm":"business_activity_code_range","message":"Check the six-digit code in the list at the end of the Schedule C instructions and type it again using digits only.","message_algorithm":"Check the six-digit code in the list at the end of the Schedule C instructions and type it again using digits only.","mirrors":"domain.business.business_activity_code_in_range","note":"The six-digit code from the list at the end of the Schedule C instructions.","pattern":"[0-9]{6}"},"business_name":{"max_length":75,"message":"Use only letters, numbers, single spaces, a hash, hyphens, parentheses, an ampersand or an apostrophe in the business name: the IRS does not accept a period or a comma, so write Dunn Copy Inc rather than Dunn Copy, Inc.","message_too_long":"Write the business name in 75 characters or fewer.","mirrors":"domain.efile_text.BUSINESS_NAME_RE","note":"Letters, digits, hash, hyphen, parentheses, ampersand and apostrophe, with single spaces between them: the IRS does not accept a period or a comma in a business name.","pattern":"(([A-Za-z0-9#\\-()]|&|') ?)*([A-Za-z0-9#\\-()]|&|')"},"business_share_percent":{"message":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100.","mirrors":"domain.business.SoleProprietorship.owner_share_percent","note":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100.","pattern":"[0-9]{1,2}(?:\\.[0-9]+)?"},"business_use_percent":{"message":"Enter a percentage between 0 and 100, for example 80. It has to be more than 0.","mirrors":"domain.depreciation.DepreciableAsset.business_use_percent","note":"Enter a percentage between 0 and 100, for example 80. It has to be more than 0.","pattern":"(?:100(?:\\.0+)?|[0-9]{1,2}(?:\\.[0-9]+)?)"},"children_on_a_letter":{"maximum":"99","message_bounds":"Enter the number of children as a whole number from 0 to 99.","minimum":"0","note":"A whole number of children from 0 to 99."},"city_name":{"max_length":22,"message":"Use only letters and spaces for the town or city. A letter with an accent cannot be filed, so write Koln rather than Köln.","message_too_long":"Write the town or city in 22 characters or fewer, which is all the IRS form has room for.","mirrors":"domain.efile_text.CITY_RE","note":"Letters and single spaces only.","parts":["city"],"pattern":"([A-Za-z] ?)*[A-Za-z]"},"currency_amount":{"message":"Enter the amount in the fund's currency, for example 250 or 249.50.","mirrors":"domain.pfic.PficDistribution.amount","note":"An amount in the fund's currency, with up to two decimal places.","pattern":"[0-9]{1,15}(?:\\.[0-9]{1,2})?"},"currency_code":{"message":"Enter the three-letter code for the currency, for example EUR.","note":"Three letters, stored in capitals, such as EUR.","pattern":"[A-Za-z]{3}"},"day_count":{"maximum":"99999","message_bounds":"Enter the days as a whole number, with no decimals.","minimum":"0","note":"A whole number of days from 0 to 99999."},"days_in_five_years":{"maximum":"1827","message_bounds":"Enter a whole number of days between 0 and 1827, the most days 5 years hold.","minimum":"0","note":"A whole number of days from 0 to 1827."},"days_in_year":{"maximum":"366","message_bounds":"Enter a whole number of days between 0 and 366.","minimum":"0","note":"A whole number of days from 0 to 366."},"descriptive_text_100":{"max_length":100,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to a hundred characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_1000":{"max_length":1000,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to a thousand characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_20":{"max_length":20,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to twenty characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_25":{"max_length":25,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to twenty-five characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_30":{"max_length":30,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to thirty characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_35":{"max_length":35,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to thirty-five characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_50":{"max_length":50,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to fifty characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"descriptive_text_80":{"max_length":80,"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write the description more briefly: it is longer than the box on the form can hold.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to eighty characters, which is all the form's own box has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"earlier_ira_excess_years":{"message":"Give the year or years as four digits, joined by commas or and.","mirrors":"domain.tax_return._EXCESS_YEARS_RE","note":"Four-digit years joined by commas or and.","pattern":"(19|20)\\d\\d((, | and |, and )(19|20)\\d\\d)*"},"ein":{"message":"Check the number on the form and type it as two digits, a hyphen, then seven.","mirrors":"domain.identity._EIN_RE","note":"Two digits, then seven.","pattern":"[0-9]{2}-?[0-9]{7}"},"exchange_rate":{"message":"Enter the rate as a number, for example 3.75.","note":"Up to ten digits, then up to twelve after a point, such as 3.75, and not zero.","pattern":"(?=[0-9.]*[1-9])[0-9]{1,10}(\\.[0-9]{1,12})?"},"expensed_within_cost":{"algorithm":"expensed_within_cost","message_algorithm":"Reduce the amount you are deducting in full this year to no more than the business share of what the item cost.","mirrors":"domain.depreciation.DepreciableAsset._check_system_and_elections","note":"Reduce the amount you are deducting in full this year to no more than the business share of what the item cost."},"foreign_tax_id":{"max_length":16,"message":"Check the number on the statement and type it again using ordinary letters, numbers and hyphens. A letter with an accent cannot be filed.","message_too_long":"Write the number in 16 characters or fewer, which is all the form has room for.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to sixteen characters, exactly as the statement shows them.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"form_4562_activity_name":{"applies_when":{"op":"or","rules":[{"op":"truthy","ref":"income_sources.businesses.has_depreciable_assets"},{"op":"and","rules":[{"op":"truthy","ref":"income_sources.businesses.has_home_office"},{"op":"eq","ref":"income_sources.businesses.home_office.simplified_method_elected","value":false},{"op":"truthy","ref":"income_sources.businesses.home_office.home_owned"},{"op":"age_lt","ref":"income_sources.businesses.home_office.home_asset.placed_in_service_on","value":1}]}]},"max_length":40,"message_too_long":"Give the business a name of 40 characters or fewer, here and where you first listed the trade, so the two still match. The IRS form for writing off what the business owns has room for 40.","note":"Give the business a name of 40 characters or fewer, here and where you first listed the trade, so the two still match. The IRS form for writing off what the business owns has room for 40."},"form_5471_activity_code":{"message":"Check the six-digit code in the list at the end of the Form 5471 instructions and type it again using digits only.","mirrors":"domain.form_5471_activity_codes.FORM_5471_ACTIVITY_CODES","note":"The six-digit code from the list at the end of the Form 5471 instructions.","pattern":"[0-9]{6}"},"form_8858_old_reference_ids":{"message":"Type each earlier reference number in letters and digits only, with one space between two numbers.","mirrors":"domain.foreign_branch.OLD_REFERENCE_IDS_RE","note":"Letters and digits, up to 50 in each number, one space between two numbers.","pattern":"[A-Za-z0-9]{1,50}( [A-Za-z0-9]{1,50})*"},"form_8858_reference_id":{"message":"Type the reference number using letters and digits only, with no spaces or other signs.","mirrors":"domain.foreign_branch.REFERENCE_ID_RE","note":"Letters and digits only, with no spaces or other signs, up to 50 of them.","pattern":"[A-Za-z0-9]{1,50}"},"form_8919_firm_id":{"message":"Type the number as the form prints it: 12-3456789 for a business, or 123-45-6789 for a payer who is a person.","mirrors":"domain.form_8919.MisclassifiedEmployeePay._check_firm_id","note":"A business number as two digits, a hyphen and seven, or a Social Security number as three, two and four digits with hyphens.","pattern":"[0-9]{2}-[0-9]{7}|[0-9]{3}-[0-9]{2}-[0-9]{4}"},"form_count":{"maximum":"999999","message_bounds":"Enter how many of these forms you filed, from 1 to 999999, or leave it blank if you filed none.","minimum":"1","note":"A whole number of forms from 1 to 999999."},"form_percent":{"message":"Enter the percentage printed on the form, a number from 0 to 100, for example 25 or 33.333.","mirrors":"domain.income._FORM_PERCENT_RE","note":"A percentage from 0 to 100, with up to three decimal places.","pattern":"(100(\\.0{1,3})?|[0-9]{1,2}(\\.[0-9]{1,3})?)"},"fuel_cell_watts":{"maximum":"10000000","message_bounds":"Enter the capacity in watts, a whole number from 0 to 10000000.","minimum":"0","note":"A whole number of watts from 0 to 10000000."},"home_business_part_percent":{"message":"Enter a percentage between 0 and 100, for example 33.3. It has to be more than 0 and less than 100.","mirrors":"domain.income.MainHomeSale.business_part_percent","note":"Enter a percentage between 0 and 100, for example 33.3. It has to be more than 0 and less than 100.","pattern":"[0-9]{1,2}(?:\\.[0-9]+)?"},"hours_available_in_a_year":{"maximum":"8784","message_bounds":"Enter the hours as a whole number, from 1 to 8784, which is every hour of the longest year.","minimum":"1","note":"A whole number of hours from 1 to 8784."},"hours_in_a_year":{"maximum":"8784","message_bounds":"Enter the hours as a whole number, from 0 to 8784, which is every hour of the longest year.","minimum":"0","note":"A whole number of hours from 0 to 8784."},"in_care_of_name":{"max_length":33,"message":"Use only letters, numbers and spaces for the name your mail should be addressed to. The IRS does not accept a period or a comma here, so write Mrs E Soto rather than Mrs. E. Soto.","message_too_long":"Write the name in 33 characters or fewer, which is all the IRS leaves on that line once it adds its own mark.","mirrors":"domain.efile_text.IN_CARE_OF_NAME_RE","note":"Letters, digits and single spaces, and any of hash, slash, percent, hyphen, parentheses, an ampersand or an apostrophe: the IRS does not accept a period or a comma here.","parts":["in_care_of_name"],"pattern":"(([A-Za-z0-9#/%\\-()]|&|') ?)*([A-Za-z0-9#/%\\-()]|&|')"},"irc_subsection_20":{"max_length":20,"message":"Write the subsection in ordinary letters, numbers and parentheses.","message_too_long":"Write it in 20 characters or fewer, which is all the IRS form has room for.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to twenty characters, which is all the IRS form has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"iso_country_code":{"message":"Choose the country from the list, or type its two-letter code, for example DE.","mirrors":"domain.countries.IRS_ONLY_VALUE_PREFIX","note":"Two letters, or one of the delivered IRS codes written as IRS: and two letters.","pattern":"(?:IRS:)?[A-Za-z]{2}"},"issued_taxpayer_id":{"algorithm":"taxpayer_id_range","message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one.","mirrors":"domain.identity.taxpayer_id_is_issued","note":"Nine digits in a range the IRS issues: an area of 001 to 899 other than 666, or a 9xx number issued as an ITIN.","pattern":"[0-9]{3}-?[0-9]{2}-?[0-9]{4}"},"issued_taxpayer_id_or_atin":{"algorithm":"taxpayer_id_range_with_atin","message":"Enter the nine digits from the card, for example 400-12-3456.","message_algorithm":"Check the nine digits on the card or the IRS letter and type them again. The IRS does not issue a number beginning 000, 666 or 900 to 999 as a Social Security number, nor one ending 0000, and the number printed as an example on tax forms is not a real one.","mirrors":"domain.identity.taxpayer_id_is_issued","note":"Nine digits in a range the IRS issues, including an adoption number.","pattern":"[0-9]{3}-?[0-9]{2}-?[0-9]{4}"},"joint_owner_count":{"maximum":"999","message_bounds":"Enter how many people hold the account with you, from 1 to 999, not counting yourself.","minimum":"1","note":"A whole number of other holders from 1 to 999."},"land_below_cost":{"algorithm":"land_below_cost","message_algorithm":"Check the land share: it has to be less than the whole cost of the building and its land, because the building itself is what gets written off.","mirrors":"domain.depreciation.DepreciableAsset._check_land_value","note":"Check the land share: it has to be less than the whole cost of the building and its land, because the building itself is what gets written off."},"miles_in_a_year":{"maximum":"999999999999","message_bounds":"Enter the miles as a whole number, with no decimals.","minimum":"0","note":"A whole number of miles from 0 to 999999999999."},"months_in_a_lifetime":{"maximum":"1560","message_bounds":"Enter the number of monthly payments, a whole number from 1 to 1560.","minimum":"1","note":"A whole number of monthly payments from 1 to 1560."},"months_one_to_twelve":{"maximum":"12","message_bounds":"Enter a whole number of months between 1 and 12.","minimum":"1","note":"A whole number of months from 1 to 12."},"months_zero_to_twelve":{"maximum":"12","message_bounds":"Enter a whole number of months between 0 and 12.","minimum":"0","note":"A whole number of months from 0 to 12."},"narrative_text":{"max_length":9000,"message":"Use ordinary letters, numbers and punctuation here. A letter outside the Latin alphabet cannot be filed.","message_too_long":"Write it in 9,000 characters or fewer, which is all the form has room for.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Ordinary letters, numbers and punctuation, up to nine thousand characters.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"nine_digit_tin":{"message":"Enter the nine digits from the card, for example 400-12-3456.","mirrors":"domain.identity._TAXPAYER_ID_RE","note":"Nine digits, hyphens optional.","pattern":"[0-9]{3}-?[0-9]{2}-?[0-9]{4}"},"nine_digit_tin_or_ein":{"message":"Check the number and type its nine digits again: a Social Security number, or an employer number written as two digits, a hyphen, then seven.","mirrors":"domain.credits.CareProvider._check","note":"Nine digits: either a Social Security number, or an employer number written as two digits then seven.","pattern":"(?:[0-9]{3}-?[0-9]{2}-?[0-9]{4})|(?:[0-9]{2}-?[0-9]{7})"},"non_negative_money":{"message":"Enter zero or more.","note":"Zero or more."},"non_positive_money":{"message":"Enter the loss as a negative number, for example -3000, or zero.","note":"Zero or less."},"not_after_first_use":{"algorithm":"not_after_first_use","message_algorithm":"Check this date: you cannot have bought it after the day you started using it.","mirrors":"domain.depreciation.DepreciableAsset._check_conditional_requirements","note":"Check this date: you cannot have bought it after the day you started using it."},"not_after_tax_year":{"algorithm":"not_after_tax_year","message_algorithm":"Check this date: it has to fall on or before the last day of the year this return is for.","note":"Check this date: it has to fall on or before the last day of the year this return is for."},"not_before_first_use":{"algorithm":"not_before_first_use","message_algorithm":"Check this date: it cannot fall before the day you started using it.","mirrors":"domain.depreciation.DepreciableAsset._check_conditional_requirements","note":"Check this date: it cannot fall before the day you started using it."},"not_before_tax_year":{"algorithm":"not_before_tax_year","message_algorithm":"Check this date: it has to fall within the year this return is for.","note":"Check this date: it has to fall within the year this return is for."},"occupation":{"max_length":35,"message":"Write the job in ordinary letters and numbers. A letter with an accent cannot be filed.","message_too_long":"Write the job in 35 characters or fewer, which is all the IRS form has room for.","mirrors":"domain.efile_text.OCCUPATION_RE","note":"Ordinary keyboard characters only, up to thirty-five of them.","pattern":"([\\x21-\\x7e] ?)*[\\x21-\\x7e]"},"payments_in_a_lifetime":{"maximum":"1560","message_bounds":"Enter the number of payments, a whole number from 0 to 1560.","minimum":"0","note":"A whole number of payments from 0 to 1560."},"percent_of_hundred":{"maximum":"100","message":"Enter a percentage from 0 to 100, for example 75.","message_bounds":"Enter a percentage from 0 to 100, for example 75.","minimum":"0","mirrors":"domain.income.Wage.foreign_portion_percent","note":"A number from 0 to 100, with up to two decimal places.","pattern":"(?:100(?:\\.0{1,2})?|[0-9]{1,2}(?:\\.[0-9]{1,2})?)"},"person_name":{"algorithm":"person_name_conventions","message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","mirrors":"domain.efile_text.PERSON_NAME_RE","note":"Letters, hyphens and single spaces. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, a suffix written 3rd is filed as III, and a letter with an accent cannot be filed at all.","pattern":"([A-Za-z0-9'’.,()\\-] ?)*[A-Za-z0-9'’.,()\\-]"},"person_name_part":{"algorithm":"person_name_conventions","max_length":20,"message":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_algorithm":"Write the name in plain letters, hyphens and spaces, the way it appears on the Social Security card. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, and a suffix written 3rd is filed as III; a letter with an accent, and any other number, cannot go on the return at all.","message_too_long":"Write the name in 20 characters or fewer, which is all the IRS form has room for.","mirrors":"domain.efile_text.PERSON_NAME_RE","note":"Letters, hyphens and single spaces, up to twenty of them. An apostrophe, a period, a comma or parentheses are dropped from the name the IRS holds, a suffix written 3rd is filed as III, and a letter with an accent cannot be filed at all.","pattern":"([A-Za-z0-9'’.,()\\-] ?)*[A-Za-z0-9'’.,()\\-]"},"pfic_reference_id":{"message":"Type the reference number using letters and digits only, with no spaces or other signs.","mirrors":"domain.pfic.REFERENCE_ID_RE","note":"Letters and digits only, with no spaces or other signs, up to 50 of them.","pattern":"[A-Za-z0-9]{1,50}"},"pfic_rules_year_range":{"maximum":"2099","message_bounds":"Enter a four-digit year between 1987 and 2099.","minimum":"1987","note":"A year between 1987 and 2099."},"phone_ten_digits":{"message":"Enter ten digits with no spaces or parentheses, for example 2065550100.","note":"Exactly ten digits.","pattern":"[0-9]{10}"},"plan_contribution_rate_percent":{"message":"Enter the percentage your plan states, from 0 to 25, for example 25 or 8.5.","mirrors":"domain.income.SelfEmployedPlanContribution.contribution_rate_percent","note":"Enter the percentage your plan states, from 0 to 25, for example 25 or 8.5.","pattern":"(?:25(?:\\.0+)?|(?:1[0-9]|2[0-4]|[0-9])(?:\\.[0-9]+)?)"},"plan_service_years":{"message":"Enter a number of years, for example 12.5.","mirrors":"domain.assets.ForeignPlanFacts.promised_pension_years_in_plan","note":"Enter a number of years, for example 12.5.","pattern":"[0-9]{1,2}(?:\\.[0-9]+)?"},"positive_money":{"message":"Enter an amount of more than zero.","note":"More than zero."},"printable_text":{"message":"Use ordinary letters, numbers and punctuation in the description. A letter outside the Latin alphabet cannot be filed.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Ordinary letters, numbers and punctuation.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"prior_within_cost":{"algorithm":"prior_within_cost","message_algorithm":"Check the figure for earlier years: it cannot be more than what the item cost without its land.","mirrors":"domain.depreciation.DepreciableAsset._check_system_and_elections","note":"Check the figure for earlier years: it cannot be more than what the item cost without its land."},"qmid":{"message":"Enter the four-character code: a letter, a digit, a letter and a digit, for example A1B2.","mirrors":"domain.adjustments.QMID_PATTERN","note":"Four characters: a letter, a digit, a letter and a digit.","pattern":"[A-Za-z][0-9][A-Za-z][0-9]"},"rental_share_percent":{"message":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100.","mirrors":"domain.income.RentalIncome.ownership_percent","note":"Enter a percentage between 0 and 100, for example 50. It has to be more than 0 and less than 100.","pattern":"[0-9]{1,2}(?:\\.[0-9]+)?"},"routing_number":{"algorithm":"aba_check_digit","message":"Check the nine digits at the bottom left of your check. A United States routing number starts 01 to 12 or 21 to 32, so an account outside the United States cannot be used here.","message_algorithm":"Check the nine digits at the bottom left of your check. They fail the arithmetic test every United States routing number passes, so they do not belong to any bank.","mirrors":"domain.tax_return.routing_number_check_digit_ok","note":"Nine digits starting 01 to 12 or 21 to 32, and passing the banking check digit.","pattern":"(0[1-9]|1[0-2]|2[1-9]|3[0-2])[0-9]{7}"},"share_count":{"message":"Enter the number of shares, for example 120 or 35.5.","mirrors":"domain.pfic.PficBlock.shares","note":"A number of shares, whole or with up to six decimal places.","pattern":"[0-9]{1,12}(?:\\.[0-9]{1,6})?"},"share_count_or_zero":{"maximum":"999999999","message_bounds":"Enter the shares as a whole number from 0 to 999999999.","minimum":"0","note":"A whole number of shares from 0 to 999999999."},"shares_received":{"maximum":"999999999","message_bounds":"Enter the shares as a whole number from 1 to 999999999.","minimum":"1","note":"A whole number of shares from 1 to 999999999."},"short_description_20":{"max_length":20,"message":"Use ordinary letters, numbers and spaces in the label.","message_too_long":"Write the label in 20 characters or fewer, which is all the line on the form has room for: Property tax rather than Property tax (predial).","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"A short label of up to twenty characters, which is all the form's own line has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"six_digit_pin":{"message":"Check the six digits in your IRS letter and type them again.","note":"Exactly six digits.","pattern":"[0-9]{6}"},"square_feet":{"maximum":"999999","message_bounds":"Enter the floor area as a whole number of square feet, from 1 to 999999.","minimum":"1","note":"A whole number of square feet from 1 to 999999."},"state_identifier":{"max_length":16,"message":"Check the number in box 15 of the form and type it again using ordinary letters, numbers and hyphens.","message_too_long":"Write the number in 16 characters or fewer, which is all the form has room for.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to sixteen characters, exactly as the form shows them.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"street_address":{"max_length":35,"message":"Use only letters, numbers, hyphens, slashes and spaces here: the IRS does not accept periods or commas in an address, so write St instead of St. and leave out the comma before an apartment number.","message_too_long":"Write the address line in 35 characters or fewer. If it will not fit, put the rest on the second line.","mirrors":"domain.efile_text.STREET_ADDRESS_RE","note":"Letters, digits, hyphens and slashes, with single spaces between them: the IRS does not accept periods or commas in an address.","parts":["line1","line2"],"pattern":"[A-Za-z0-9]( ?[A-Za-z0-9\\-/])*"},"tax_home_city":{"max_length":35,"message":"Write the name of the place in ordinary letters, numbers and punctuation, the accented letters used in Spanish, and single spaces between words, which is what Form 2555 line 9 takes.","message_too_long":"Write a shorter name for the place: Form 2555 line 9 has room for 35 characters for the city or town and the name of the country together.","mirrors":"domain.efile_text.TEXT_TYPE_RE","note":"Up to thirty-five characters for the city or town and the country's name together, which is all Form 2555 line 9 has room for.","pattern":"([!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü] ?)*[!-~£§ÁÉÍÑÓ×ÚÜáéíñóúü]"},"tax_year_range":{"maximum":"2099","message_bounds":"Enter a four-digit year between 1960 and 2099.","minimum":"1960","note":"A year between 1960 and 2099."},"vin":{"message":"Check the identification number and type it again using capital letters and digits only.","mirrors":"domain.deductions._VIN_RE","note":"Up to seventeen capital letters and digits.","pattern":"[A-Z0-9]{1,17}"},"w2_box12_code":{"message":"Check the letter code printed in box 12 and type it again.","mirrors":"domain.income.W2_BOX12_CODES","note":"One of the letter codes printed in box 12, such as D or DD.","pattern":"[11][11]|[Aa][Aa]|[Bb][Bb]|[Dd][Dd]|[Ee][Ee]|[Ff][Ff]|[Gg][Gg]|[Hh][Hh]|[Ii][Ii]|[Aa]|[Bb]|[Cc]|[Dd]|[Ee]|[Ff]|[Gg]|[Hh]|[Jj]|[Kk]|[Ll]|[Mm]|[Nn]|[Pp]|[Qq]|[Rr]|[Ss]|[Tt]|[Vv]|[Ww]|[Yy]|[Zz]"},"whole_percent":{"maximum":"100","message_bounds":"Enter the percentage as a whole number from 0 to 100.","minimum":"0","note":"A whole percentage from 0 to 100."},"year_month":{"message":"Write it as four digits for the year, a hyphen, then two for the month, for example 2019-04.","mirrors":"domain.deductions._YEAR_MONTH_RE","note":"A four-digit year and a two-digit month.","pattern":"[1-9][0-9]{3}-((0[1-9])|(1[0-2]))"}},"year_end_currencies":{"2018":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"74.576","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"107.05","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"485.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"310.0","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"37.642","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.416","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.706","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"84.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.707","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"1790.0","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.361","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.85","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"3.88","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"10.661","value":"BWP"},{"label":"BYN - New Ruble (Belarus)","rate":"2.16","value":"BYN"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.362","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"1630.0","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.984","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"693.08","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"6.876","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"3245.0","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"603.5","value":"CRC"},{"label":"CUP - Peso (Cuba)","rate":"1.0","value":"CUP"},{"label":"CVE - Escudo (Cape Verde)","rate":"94.88","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"21.941","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.517","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"49.94","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"117.898","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"17.89","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"28.04","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.872","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.108","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.781","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"2.67","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"4.825","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"50.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"9076.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.715","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.832","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"25.0","value":"HNL"},{"label":"HRK - Kuna (Croatia)","rate":"6.31","value":"HRK"},{"label":"HTG - Gourde (Haiti)","rate":"77.118","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"280.17","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"14440.0","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.749","value":"ILS"},{"label":"INR - Rupee (India)","rate":"69.8","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1138.0","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"116.11","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"126.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"109.85","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"101.8","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"69.8","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4103.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"428.14","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1114.49","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.303","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"375.15","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"8535.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"1500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"182.6","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"156.71","value":"LRD"},{"label":"LYD - Dinar (Libya)","rate":"1.386","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"9.53","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"16.993","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"3470.2","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"53.5","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"1535.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"2642.92","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"36.0","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"34.15","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"733.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"19.654","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.13","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"61.53","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"14.35","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"361.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"32.3","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"8.68","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"111.6","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.49","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.375","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.284","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"52.49","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"138.6","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"3.753","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"5956.0","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.64","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.069","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"103.39","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"69.68","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"890.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"7.752","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"13.55","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"47.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"8.938","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.361","value":"SGD"},{"label":"SLL - Leone (Sierra Leone)","rate":"8620.0","value":"SLL"},{"label":"SOS - Shilling (Somali)","rate":"575.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"7.52","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"153.7","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"21.535","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"515.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"14.35","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"32.35","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"9.35","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"3.009","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.173","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"5.283","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.77","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"30.588","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2295.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"27.7","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3705.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"32.32","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"8310.0","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"563.98","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"23190.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"111.69","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.535","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"603.87","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"568.65","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"480.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"14.35","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"11.9","value":"ZMW"}],"2019":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"77.625","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"108.21","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"475.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"475.0","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"59.87","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.425","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.741","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"85.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.741","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"1850.0","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.345","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.83","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"4.475","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"10.549","value":"BWP"},{"label":"BYN - New Ruble (Belarus)","rate":"2.34","value":"BYN"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.3","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"1650.0","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.966","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"851.71","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"6.961","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"4021.0","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"569.65","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CVE - Escudo (Cape Verde)","rate":"99.291","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"22.165","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.652","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"52.66","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"118.78","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"16.0","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"31.8","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.89","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.142","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.758","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"2.87","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"5.66","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"51.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"9380.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.69","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.786","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"25.0","value":"HNL"},{"label":"HRK - Kuna (Croatia)","rate":"6.49","value":"HRK"},{"label":"HTG - Gourde (Haiti)","rate":"87.655","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"294.29","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"13895.0","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.454","value":"ILS"},{"label":"INR - Rupee (India)","rate":"71.0","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1138.0","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"135.13","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"136.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"108.53","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"101.25","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"69.6","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4051.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"439.06","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1153.7","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.303","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"381.18","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"8865.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"1500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"181.3","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"186.99","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"15.574","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"1.396","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"9.597","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"17.1","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"3627.2","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"54.76","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"1475.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"2733.52","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"37.0","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"36.2","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"760.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"22.491","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.089","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"60.85","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"15.574","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"361.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"33.8","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"10.243","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"113.75","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.65","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.314","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.311","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"50.64","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"154.85","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"3.789","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"6442.3301","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.64","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.256","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"104.92","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"74.938","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"925.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"8.065","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"13.62","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"51.5","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"9.301","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.345","value":"SGD"},{"label":"SLL - Leone (Sierra Leone)","rate":"9639.5898","value":"SLL"},{"label":"SOS - Shilling (Somali)","rate":"575.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"7.52","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"160.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"22.122","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"435.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"15.574","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"29.77","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"9.65","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"2.772","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.209","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"5.942","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.697","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"29.942","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2293.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"26.6","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3660.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"43.41","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"9500.0","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"70675.74","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"23171.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"112.8","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.537","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"578.12","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"582.0","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"480.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"15.574","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"16.09","value":"ZMW"},{"label":"ZWL - Rtgs (Zimbabwe)","rate":"16.28","value":"ZWL"}],"2020":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"77.09","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"100.35","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"515.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"649.6","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"89.25","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.294","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.594","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"85.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.594","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"1930.61","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.322","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.81","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"5.194","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"10.799","value":"BWP"},{"label":"BYN - New Ruble (Belarus)","rate":"2.598","value":"BYN"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.275","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"1966.48","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.881","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"709.75","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"6.54","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"3414.5","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"609.1","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CVE - Escudo (Cape Verde)","rate":"89.83","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"20.754","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.065","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"58.14","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"132.212","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"15.69","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"39.181","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.815","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.004","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.732","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"3.27","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"5.81","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"52.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"9990.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.78","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.753","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"25.0","value":"HNL"},{"label":"HRK - Kuna (Croatia)","rate":"5.95","value":"HRK"},{"label":"HTG - Gourde (Haiti)","rate":"71.606","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"296.76","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"14028.0","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.213","value":"ILS"},{"label":"INR - Rupee (India)","rate":"73.034","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1458.0","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"127.11","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"150.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"103.08","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"109.1","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"82.65","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4051.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"400.62","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1087.66","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.304","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"421.27","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"9280.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"1500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"185.0","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"4.451","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"14.673","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"1.333","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"8.917","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"17.08","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"3824.8","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"50.13","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"1326.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"2849.77","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"37.0","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"39.55","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"820.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"19.913","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.02","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"74.2","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"14.673","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"385.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"34.9","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"8.53","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"117.0","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.383","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.619","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.509","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"48.173","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"159.75","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"3.713","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"6891.96","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.64","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"3.966","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"95.8","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"74.46","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"950.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"7.734","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"20.91","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"378.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"8.172","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.322","value":"SGD"},{"label":"SLL - Leone (Sierra Leone)","rate":"9997.0","value":"SLL"},{"label":"SOS - Shilling (Somali)","rate":"575.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"14.29","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"177.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"20.051","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"1256.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"14.673","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"29.92","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"11.325","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"2.683","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.198","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"7.424","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.698","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"28.074","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2314.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"28.3","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3649.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"42.14","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"10471.92","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"1496565.185","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"23070.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"106.23","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.444","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"529.26","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"529.0","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"480.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"14.673","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"21.14","value":"ZMW"},{"label":"ZWL - Rtgs (Zimbabwe)","rate":"79.742","value":"ZWL"}],"2021":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"103.4","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"105.95","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"485.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"562.44","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"107.75","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.375","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.724","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"86.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.724","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"1989.1","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.352","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.82","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"5.668","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"11.71","value":"BWP"},{"label":"BYN - New Ruble (Belarus)","rate":"2.544","value":"BYN"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.277","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"1987.8","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.914","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"842.5","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"6.373","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"4030.43","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"638.27","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CUP - Peso (Cuba)","rate":"24.0","value":"CUP"},{"label":"CVE - Escudo (Cape Verde)","rate":"97.22","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"21.417","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.556","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"56.79","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"138.284","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"15.68","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"49.132","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.882","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.103","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.74","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"3.075","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"6.05","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"52.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"9234.2","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.7","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.799","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"24.254","value":"HNL"},{"label":"HRK - Kuna (Croatia)","rate":"6.45","value":"HRK"},{"label":"HTG - Gourde (Haiti)","rate":"99.771","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"326.32","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"14195.28","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.099","value":"ILS"},{"label":"INR - Rupee (India)","rate":"74.343","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1458.54","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"129.98","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"155.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"115.04","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"113.05","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"84.791","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4051.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"434.73","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1188.92","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.302","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"436.88","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"11148.8","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"1500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"202.75","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"143.7","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"15.882","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"4.587","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"9.271","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"17.637","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"3902.0","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"54.23","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"1769.5","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"2848.63","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"37.0","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"43.75","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"920.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"20.531","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.175","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"63.2","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"15.882","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"405.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"35.5","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"8.778","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"119.35","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.46","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.969","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.509","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"51.03","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"177.97","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"4.053","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"6854.0","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.64","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.361","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"103.58","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"74.999","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"1000.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"7.886","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"13.33","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"449.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"9.025","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.352","value":"SGD"},{"label":"SLL - Leone (Sierra Leone)","rate":"11221.7","value":"SLL"},{"label":"SOS - Shilling (Somali)","rate":"575.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"19.531","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"421.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"21.623","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"2511.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"15.882","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"33.4","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"11.28","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"2.876","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.229","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"12.956","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.759","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"27.707","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2302.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"27.322","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3537.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"44.45","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"10805.7","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"4.578","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"22765.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"111.22","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.565","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"578.24","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"581.84","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"580.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"15.882","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"16.632","value":"ZMW"},{"label":"ZWL - Rtgs (Zimbabwe)","rate":"105.949","value":"ZWL"}],"2022":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"89.11","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"106.5","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"400.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"503.65","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"183.0","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.471","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.83","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"105.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.83","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"2045.3","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.34","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.86","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"5.286","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"12.739","value":"BWP"},{"label":"BYN - New Ruble (Belarus)","rate":"2.518","value":"BYN"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.354","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"2012.0","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.923","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"851.5","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"6.897","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"4845.83","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"591.36","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CUP - Peso (Cuba)","rate":"24.0","value":"CUP"},{"label":"CVE - Escudo (Cape Verde)","rate":"103.16","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"22.102","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.959","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"55.72","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"136.467","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"24.74","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"53.339","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.936","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.176","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.83","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"2.665","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"9.8","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"61.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"8554.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.84","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.797","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"24.552","value":"HNL"},{"label":"HRK - Kuna (Croatia)","rate":"6.87","value":"HRK"},{"label":"HTG - Gourde (Haiti)","rate":"145.0","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"374.63","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"15528.42","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.518","value":"ILS"},{"label":"INR - Rupee (India)","rate":"82.599","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1458.53","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"141.61","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"150.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"131.83","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"123.25","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"85.68","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4051.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"461.6","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1252.61","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.306","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"462.54","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"17217.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"1500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"363.0","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"153.5","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"16.948","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"4.817","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"10.48","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"19.08","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"4360.0","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"57.56","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"2100.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"3443.37","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"37.0","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"43.85","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"1035.49","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"19.546","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.4","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"63.24","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"16.948","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"440.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"36.15","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"9.831","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"132.25","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.575","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.786","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.431","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"55.606","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"226.4","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"4.38","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"7309.61","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.64","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.627","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"109.69","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"71.481","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"1060.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"7.949","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"12.87","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"576.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"10.386","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.34","value":"SGD"},{"label":"SLE - Leone (Sierra Leone)","rate":"18.8","value":"SLE"},{"label":"SOS - Shilling (Somali)","rate":"565.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"31.714","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"669.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"23.062","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"2510.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"16.948","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"34.52","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"10.16","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"3.094","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.261","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"18.711","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.765","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"30.648","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2329.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"36.569","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3715.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"39.95","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"11224.32","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"17.236","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"23610.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"119.9","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.607","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"613.79","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"614.84","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"580.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"16.948","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"18.1","value":"ZMW"},{"label":"ZWL - Rtgs (Zimbabwe)","rate":"654.66","value":"ZWL"}],"2023":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"70.54","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"93.23","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"400.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"842.5","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"827.75","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.472","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.769","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"113.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.769","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"2850.0","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.32","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.86","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"4.852","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"13.387","value":"BWP"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.326","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"2660.0","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.838","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"880.0","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"7.104","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"3873.0","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"519.22","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CUP - Peso (Cuba)","rate":"24.0","value":"CUP"},{"label":"CVE - Escudo (Cape Verde)","rate":"99.75","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"21.731","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.744","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"57.9","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"134.051","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"30.9","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"55.997","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.905","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.165","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.786","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"2.665","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"11.9","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"64.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"8511.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.815","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.811","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"24.624","value":"HNL"},{"label":"HTG - Gourde (Haiti)","rate":"131.23","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"345.78","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"15372.69","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.619","value":"ILS"},{"label":"INR - Rupee (India)","rate":"83.162","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1308.0","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"136.04","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"154.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"141.47","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"156.5","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"89.062","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4051.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"443.49","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1299.22","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.307","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"456.29","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"20476.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"15000.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"323.8","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"189.0","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"18.427","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"4.754","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"9.855","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"17.25","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"4564.0","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"55.45","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"3380.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"3410.69","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"39.16","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"43.87","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"1700.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"16.949","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.59","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"63.25","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"18.427","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"910.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"36.6","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"10.166","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"133.05","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.585","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.675","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.727","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"55.451","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"276.2","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"3.924","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"7249.99","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.645","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.499","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"105.92","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"89.067","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"1250.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"8.065","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"13.473","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"830.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"10.031","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.32","value":"SGD"},{"label":"SLE - Leone (Sierra Leone)","rate":"22.7","value":"SLE"},{"label":"SOS - Shilling (Somali)","rate":"568.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"36.723","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"1070.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"22.142","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"8585.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"18.427","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"34.33","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"10.93","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"3.064","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.26","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"29.547","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.749","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"30.641","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2505.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"38.089","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3775.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"39.02","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"12333.77","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"35.841","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"24260.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"116.0","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.653","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"593.41","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"589.0","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"528.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"18.427","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"25.71","value":"ZMW"},{"label":"ZWL - Rtgs (Zimbabwe)","rate":"5801.47","value":"ZWL"}],"2024":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.673","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"70.35","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"93.85","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"390.0","value":"AMD"},{"label":"ANG - Guilder (Netherlands Antilles)","rate":"1.78","value":"ANG"},{"label":"AOA - Kwanza (Angola)","rate":"912.0","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"1052.5","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.612","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.88","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"119.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.88","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"2900.0","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.363","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.86","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"6.184","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"13.967","value":"BWP"},{"label":"BYN - New Ruble (Belarus)","rate":"3.443","value":"BYN"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.438","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"2843.0","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.905","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"992.6","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"7.299","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"4402.49","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"506.0","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CUP - Peso (Cuba)","rate":"24.0","value":"CUP"},{"label":"CVE - Escudo (Cape Verde)","rate":"105.99","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"23.538","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"7.17","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"60.71","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"135.103","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"50.79","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"125.383","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.961","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.289","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.797","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"2.78","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"14.65","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"70.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"8602.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.7","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.766","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"25.315","value":"HNL"},{"label":"HRK - Kuna (Croatia)","rate":"0.961","value":"HRK"},{"label":"HTG - Gourde (Haiti)","rate":"130.193","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"395.32","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"16067.13","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.647","value":"ILS"},{"label":"INR - Rupee (India)","rate":"85.577","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1309.0","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"138.19","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"159.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"156.85","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"128.85","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"86.999","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4015.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"473.29","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1473.27","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.308","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"524.6","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"21744.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"89500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"293.0","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"183.0","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"18.85","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"4.904","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"10.103","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"18.3","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"4620.0","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"58.86","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"3596.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"3420.0","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"39.714","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"46.93","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"1751.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"20.704","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.468","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"63.27","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"18.85","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"1540.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"36.6","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"11.322","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"136.98","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.781","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.757","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"3.992","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"58.025","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"278.4","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"4.108","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"7793.72","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.645","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.779","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"112.32","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"108.0","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"1340.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"8.065","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"14.355","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"1987.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"11.006","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.363","value":"SGD"},{"label":"SLE - Leone (Sierra Leone)","rate":"22.59","value":"SLE"},{"label":"SOS - Shilling (Somali)","rate":"568.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"35.192","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"3900.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"23.479","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"12625.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"18.85","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"34.33","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"10.85","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"3.18","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.356","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"35.365","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.766","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"32.709","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2400.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"42.042","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3674.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"43.66","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"12899.9","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"51.897","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"25480.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"116.0","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.74","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"630.55","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"626.0","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"528.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"18.85","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"27.775","value":"ZMW"},{"label":"ZWG - Gold (Zimbabwe)","rate":"25.025","value":"ZWG"},{"label":"ZWL - Rtgs (Zimbabwe)","rate":"13.635","value":"ZWL"}],"2025":[{"label":"USD - US dollar","value":"USD"},{"label":"AED - Dirham (United Arab Emirates)","rate":"3.672","value":"AED"},{"label":"AFN - Afghani (Afghanistan)","rate":"65.96","value":"AFN"},{"label":"ALL - Lek (Albania)","rate":"81.85","value":"ALL"},{"label":"AMD - Dram (Armenia)","rate":"380.0","value":"AMD"},{"label":"AOA - Kwanza (Angola)","rate":"912.286","value":"AOA"},{"label":"ARS - Peso (Argentina)","rate":"1480.0","value":"ARS"},{"label":"AUD - Dollar (Australia)","rate":"1.495","value":"AUD"},{"label":"AZN - Manat (Azerbaijan)","rate":"1.7","value":"AZN"},{"label":"BAM - Marka (Bosnia)","rate":"1.664","value":"BAM"},{"label":"BBD - Dollar (Barbados)","rate":"2.02","value":"BBD"},{"label":"BDT - Taka (Bangladesh)","rate":"123.0","value":"BDT"},{"label":"BGN - Lev New (Bulgaria)","rate":"1.664","value":"BGN"},{"label":"BHD - Dinar (Bahrain)","rate":"0.377","value":"BHD"},{"label":"BIF - Franc (Burundi)","rate":"3000.0","value":"BIF"},{"label":"BMD - Dollar (Bermuda)","rate":"1.0","value":"BMD"},{"label":"BND - Dollar (Brunei)","rate":"1.285","value":"BND"},{"label":"BOB - Boliviano (Bolivia)","rate":"6.85","value":"BOB"},{"label":"BRL - Real (Brazil)","rate":"5.477","value":"BRL"},{"label":"BSD - Dollar (Bahamas)","rate":"1.0","value":"BSD"},{"label":"BWP - Pula (Botswana)","rate":"12.136","value":"BWP"},{"label":"BZD - Dollar (Belize)","rate":"2.0","value":"BZD"},{"label":"CAD - Dollar (Canada)","rate":"1.369","value":"CAD"},{"label":"CDF - Congolese Franc (Democratic Republic Of Congo)","rate":"2215.0","value":"CDF"},{"label":"CHF - Franc (Switzerland)","rate":"0.792","value":"CHF"},{"label":"CLP - Peso (Chile)","rate":"900.35","value":"CLP"},{"label":"CNY - Renminbi (China)","rate":"6.998","value":"CNY"},{"label":"COP - Peso (Colombia)","rate":"3773.62","value":"COP"},{"label":"CRC - Colon (Costa Rica)","rate":"493.36","value":"CRC"},{"label":"CUC - Chavito (Cuba)","rate":"1.0","value":"CUC"},{"label":"CUP - Peso (Cuba)","rate":"24.0","value":"CUP"},{"label":"CVE - Escudo (Cape Verde)","rate":"93.81","value":"CVE"},{"label":"CZK - Koruna (Czech Republic)","rate":"20.101","value":"CZK"},{"label":"DJF - Franc (Djibouti)","rate":"177.0","value":"DJF"},{"label":"DKK - Krone (Denmark)","rate":"6.355","value":"DKK"},{"label":"DOP - Peso (Dominican Republic)","rate":"62.76","value":"DOP"},{"label":"DZD - Dinar (Algeria)","rate":"128.921","value":"DZD"},{"label":"EGP - Pound (Egypt)","rate":"47.6","value":"EGP"},{"label":"ERN - Nakfa (Eritrea)","rate":"15.0","value":"ERN"},{"label":"ETB - Birr (Ethiopia)","rate":"154.664","value":"ETB"},{"label":"EUR - Euro (Cyprus, Euro Zone)","rate":"0.851","value":"EUR"},{"label":"FJD - Dollar (Fiji)","rate":"2.23","value":"FJD"},{"label":"GBP - Pound (United Kingdom)","rate":"0.743","value":"GBP"},{"label":"GEL - Lari (Georgia)","rate":"2.665","value":"GEL"},{"label":"GHS - Cedi (Ghana)","rate":"10.4","value":"GHS"},{"label":"GMD - Dalasi (Gambia)","rate":"72.0","value":"GMD"},{"label":"GNF - Franc (Guinea)","rate":"8717.0","value":"GNF"},{"label":"GTQ - Quetzal (Guatemala)","rate":"7.66","value":"GTQ"},{"label":"GYD - Dollar (Guyana)","rate":"215.0","value":"GYD"},{"label":"HKD - Dollar (Hong Kong)","rate":"7.784","value":"HKD"},{"label":"HNL - Lempira (Honduras)","rate":"26.326","value":"HNL"},{"label":"HTG - Gourde (Haiti)","rate":"130.55","value":"HTG"},{"label":"HUF - Forint (Hungary)","rate":"327.22","value":"HUF"},{"label":"IDR - Rupiah (Indonesia)","rate":"16649.99","value":"IDR"},{"label":"ILS - Shekel (Israel)","rate":"3.191","value":"ILS"},{"label":"INR - Rupee (India)","rate":"89.854","value":"INR"},{"label":"IQD - Dinar (Iraq)","rate":"1309.5","value":"IQD"},{"label":"IRR - Rial (Iran)","rate":"42000.0","value":"IRR"},{"label":"ISK - Krona (Iceland)","rate":"125.11","value":"ISK"},{"label":"JMD - Dollar (Jamaica)","rate":"159.0","value":"JMD"},{"label":"JOD - Dinar (Jordan)","rate":"0.708","value":"JOD"},{"label":"JPY - Yen (Japan)","rate":"156.61","value":"JPY"},{"label":"KES - Shilling (Kenya)","rate":"128.9","value":"KES"},{"label":"KGS - Som (Kyrgyzstan)","rate":"87.412","value":"KGS"},{"label":"KHR - Riel (Cambodia)","rate":"4001.0","value":"KHR"},{"label":"KMF - Franc (Comoros)","rate":"418.24","value":"KMF"},{"label":"KRW - Won (Korea)","rate":"1443.75","value":"KRW"},{"label":"KWD - Dinar (Kuwait)","rate":"0.308","value":"KWD"},{"label":"KYD - Dollar (Cayman Islands)","rate":"0.82","value":"KYD"},{"label":"KZT - Tenge (Kazakhstan)","rate":"506.28","value":"KZT"},{"label":"LAK - Kip (Laos)","rate":"21503.0","value":"LAK"},{"label":"LBP - Pound (Lebanon)","rate":"89500.0","value":"LBP"},{"label":"LKR - Rupee (Sri Lanka)","rate":"309.4","value":"LKR"},{"label":"LRD - Dollar (Liberia)","rate":"177.0","value":"LRD"},{"label":"LSL - Maloti (Lesotho)","rate":"16.546","value":"LSL"},{"label":"LYD - Dinar (Libya)","rate":"5.402","value":"LYD"},{"label":"MAD - Dirham (Morocco)","rate":"9.101","value":"MAD"},{"label":"MDL - Leu (Moldova)","rate":"16.69","value":"MDL"},{"label":"MGA - Ariary (Madagascar)","rate":"4470.0","value":"MGA"},{"label":"MKD - Denar (Republic Of North Macedonia)","rate":"52.16","value":"MKD"},{"label":"MMK - Kyat (Myanmar)","rate":"3658.0","value":"MMK"},{"label":"MNT - Tugrik (Mongolia)","rate":"3557.0","value":"MNT"},{"label":"MRU - Ouguiya (Mauritania)","rate":"39.799","value":"MRU"},{"label":"MUR - Rupee (Mauritius)","rate":"46.1","value":"MUR"},{"label":"MVR - Rufiyaa (Maldives)","rate":"15.42","value":"MVR"},{"label":"MWK - Kwacha (Malawi)","rate":"1751.0","value":"MWK"},{"label":"MXN - Peso (Mexico)","rate":"17.956","value":"MXN"},{"label":"MYR - Ringgit (Malaysia)","rate":"4.056","value":"MYR"},{"label":"MZN - Metical (Mozambique)","rate":"63.27","value":"MZN"},{"label":"NAD - Dollar (Namibia)","rate":"16.546","value":"NAD"},{"label":"NGN - Naira (Nigeria)","rate":"1450.0","value":"NGN"},{"label":"NIO - Cordoba (Nicaragua)","rate":"36.6","value":"NIO"},{"label":"NOK - Krone (Norway)","rate":"10.072","value":"NOK"},{"label":"NPR - Rupee (Nepal)","rate":"143.79","value":"NPR"},{"label":"NZD - Dollar (New Zealand)","rate":"1.733","value":"NZD"},{"label":"OMR - Rial (Oman)","rate":"0.385","value":"OMR"},{"label":"PEN - Sol (Peru)","rate":"3.362","value":"PEN"},{"label":"PGK - Kina (Papua New Guinea)","rate":"4.124","value":"PGK"},{"label":"PHP - Peso (Philippines)","rate":"58.911","value":"PHP"},{"label":"PKR - Rupee (Pakistan)","rate":"279.8","value":"PKR"},{"label":"PLN - Zloty (Poland)","rate":"3.59","value":"PLN"},{"label":"PYG - Guarani (Paraguay)","rate":"6554.61","value":"PYG"},{"label":"QAR - Riyal (Qatar)","rate":"3.64","value":"QAR"},{"label":"RON - New Leu (Romania)","rate":"4.334","value":"RON"},{"label":"RSD - Dinar (Serbia)","rate":"99.71","value":"RSD"},{"label":"RUB - Ruble (Russia)","rate":"81.996","value":"RUB"},{"label":"RWF - Franc (Rwanda)","rate":"1450.0","value":"RWF"},{"label":"SAR - Riyal (Saudi Arabia)","rate":"3.75","value":"SAR"},{"label":"SBD - Dollar (Solomon Islands)","rate":"7.905","value":"SBD"},{"label":"SCR - Rupee (Seychelles)","rate":"13.813","value":"SCR"},{"label":"SDG - Pound (Sudan)","rate":"2400.0","value":"SDG"},{"label":"SEK - Krona (Sweden)","rate":"9.197","value":"SEK"},{"label":"SGD - Dollar (Singapore)","rate":"1.285","value":"SGD"},{"label":"SLE - Leone (Sierra Leone)","rate":"23.7","value":"SLE"},{"label":"SOS - Shilling (Somali)","rate":"567.0","value":"SOS"},{"label":"SRD - Dollar (Suriname)","rate":"37.807","value":"SRD"},{"label":"SSP - Sudanese Pound (South Sudan)","rate":"4600.0","value":"SSP"},{"label":"STN - New Dobras (Sao Tome & Principe)","rate":"20.842","value":"STN"},{"label":"SYP - Pound (Syria)","rate":"11000.0","value":"SYP"},{"label":"SZL - Lilangeni (Eswatini)","rate":"16.546","value":"SZL"},{"label":"THB - Baht (Thailand)","rate":"31.66","value":"THB"},{"label":"TJS - Somoni (Tajikistan)","rate":"9.2","value":"TJS"},{"label":"TMT - New Manat (Turkmenistan)","rate":"3.491","value":"TMT"},{"label":"TND - Dinar (Tunisia)","rate":"2.867","value":"TND"},{"label":"TOP - Pa'Anga (Tonga)","rate":"2.354","value":"TOP"},{"label":"TRY - New Lira (Turkey)","rate":"42.951","value":"TRY"},{"label":"TTD - Dollar (Trinidad & Tobago)","rate":"6.768","value":"TTD"},{"label":"TWD - Dollar (Taiwan)","rate":"31.324","value":"TWD"},{"label":"TZS - Shilling (Tanzania)","rate":"2440.0","value":"TZS"},{"label":"UAH - Hryvnia (Ukraine)","rate":"42.195","value":"UAH"},{"label":"UGX - Shilling (Uganda)","rate":"3615.0","value":"UGX"},{"label":"UYU - Peso (Uruguay)","rate":"39.14","value":"UYU"},{"label":"UZS - Som (Uzbekistan)","rate":"11999.41","value":"UZS"},{"label":"VES - Bolivar Soberano (Venezuela)","rate":"300.618","value":"VES"},{"label":"VND - Dong (Vietnam)","rate":"26295.0","value":"VND"},{"label":"VUV - Vatu (Vanuatu)","rate":"119.13","value":"VUV"},{"label":"WST - Tala (Western Samoa)","rate":"2.708","value":"WST"},{"label":"XAF - Cfa Franc (Cameroon, Central African Republic, Chad, Congo, Equatorial Guinea, Gabon)","rate":"556.44","value":"XAF"},{"label":"XCD - East Caribbean Dollar (Antigua & Barbuda, Grenada, St. Lucia)","rate":"2.7","value":"XCD"},{"label":"XCG - Caribbean Guilder (Curacao)","rate":"1.78","value":"XCG"},{"label":"XOF - Cfa Franc (Benin, Burkina Faso, Cote D'Ivoire, Guinea Bissau, Mali, Niger, Senegal, Togo)","rate":"553.75","value":"XOF"},{"label":"YER - Rial (Yemen)","rate":"528.0","value":"YER"},{"label":"ZAR - Rand (South Africa)","rate":"16.546","value":"ZAR"},{"label":"ZMW - New Kwacha (Zambia)","rate":"22.0","value":"ZMW"},{"label":"ZWG - Gold (Zimbabwe)","rate":"25.071","value":"ZWG"}],"2026":[{"label":"USD - US dollar","value":"USD"}]}}