Compliance IL-1040-X (2023)
Validation Checks by Instafill.ai
1
Validates taxpayer and spouse SSNs are complete 9-digit values and not masked
Checks that the taxpayer SSN is exactly 9 digits (allowing optional hyphens) and contains no letters, asterisks, or partial/masked values. If filing jointly, the spouse SSN must also be present and meet the same format rules. This is required because the form explicitly states the entire SSN(s) must be provided and SSNs are the primary identifier for matching the amended return to the original filing. If validation fails, block submission and prompt for a corrected SSN entry.
2
Ensures filing status selection is exactly one option and consistent with spouse fields
Validates that exactly one filing status checkbox is selected (Single, Married filing jointly, Married filing separately, Widowed, or Head of household). If a married status is selected, spouse name, spouse year of birth, and spouse SSN must be provided; if Single/Head of household is selected, spouse identity fields should be blank. This prevents ambiguous filing status and downstream calculation/eligibility errors. If validation fails, require the user to correct the filing status or complete/clear spouse fields accordingly.
3
Validates year-of-birth fields are plausible and support age-based exemption checkboxes
Checks that taxpayer and spouse year of birth are 4-digit years within a reasonable range (e.g., not in the future and not unrealistically old). If the “65 or older” checkbox is selected for the taxpayer/spouse, the year of birth must indicate age 65+ during tax year 2023; if not 65+, the checkbox should not be selected. This ensures the additional exemption amount is only claimed when eligible. If validation fails, flag the mismatch and require correction of either the year of birth or the age checkbox selection.
4
Validates residency status selection and required Schedule NR attachment dependency
Ensures that the Nonresident and Part-year resident checkboxes are not both selected, and that if either is selected, Schedule NR is indicated/attached and Line 11/Line 12 follow the nonresident instructions. For residents (neither box checked), Line 11 must be computed as Line 9 minus Line 10 and Line 12 must be computed as Line 11 × 4.95%. This is important because residency drives the tax computation method and required schedules. If validation fails, prevent submission until residency selection and related lines/attachments are corrected.
5
Validates required personal information completeness for mailing address (domestic vs foreign)
Checks that mailing address, city, state, and ZIP/postal code are present for U.S. addresses, and that if a foreign nation is provided, it is not abbreviated and the address fields follow foreign-address rules (e.g., state may be blank, postal code may be alphanumeric). This ensures the Department can mail notices/refunds and reduces returned mail. If validation fails, require completion of missing address components or correction of foreign nation formatting.
6
Validates phone number fields are numeric and correctly segmented (area code + 7-digit number)
Checks that daytime phone number area code is exactly 3 digits and the main part is exactly 7 digits; applies the same rule to firm phone and third-party designee phone when provided. This prevents invalid contact numbers that impede issue resolution and identity verification. If validation fails, prompt the filer to correct the phone number format before submission.
7
Validates date fields use MM/DD/YYYY and are logically valid calendar dates
Checks that signature dates, paid preparer signature date, federal change accepted date (if applicable), NOL accepted date (if applicable), and original filing date are valid dates in MM/DD/YYYY (or month/day/year components where split). Also validates that month is 1–12 and day is valid for the month (including leap-year rules). Accurate dates are critical for statute-of-limitations and processing timelines. If validation fails, reject the date entry and require a corrected date.
8
Ensures amended-return reason selection is made and required supporting dates/attachments are present
Validates that at least one reason checkbox is selected (Federal change accepted, NOL accepted, or State change). If Federal change accepted is selected, the federal acceptance date must be provided and a copy of federal finalization must be indicated/attached; if NOL accepted is selected, the NOL acceptance date must be provided. This is important because amended returns require a documented basis and supporting documentation. If validation fails, block submission until the reason, dates, and required attachments are provided.
9
Validates federal amended form indicator consistency with attachments (Form 1040X/1045)
Checks that exactly one of “Yes” or “No” is selected for whether a federal Form 1040X or 1045 was filed. If “Yes” is selected, the system should require an attachment indicator for the federal 1040X/1045 copy; if “No,” the attachment should not be required. This prevents missing documentation that can delay or invalidate the amendment. If validation fails, require the user to correct the selection and/or provide the attachment.
10
Validates arithmetic for income and subtraction totals (Lines 4, 8, 9)
Recomputes Line 4 as Line 1 + Line 2 + Line 3, Line 8 as Line 5 + Line 6 + Line 7, and Line 9 as Line 4 − Line 8, using the corrected figures. This ensures the base income is internally consistent and prevents downstream tax miscalculation. If the entered totals do not match computed totals (within rounding rules), flag the discrepancy and require correction or auto-calculate the totals.
11
Validates exemption allowance calculations and dependent schedule dependency (Line 10)
Checks that Line 10 equals the sum of Lines 10a–10d, and that Lines 10b and 10c equal $1,000 multiplied by the number of checked boxes (You/Spouse) for 65+ and legally blind, respectively. If Line 10d (dependents) is greater than zero, require Schedule IL-E/EIC attachment indicator and ensure filing status supports dependent claims where applicable. This prevents overstatement of exemptions and ensures required schedules are included. If validation fails, require recalculation and/or missing schedule attachment.
12
Validates resident vs nonresident net income and tax computation rules (Lines 11–14)
For residents, verifies Line 11 = Line 9 − Line 10 and Line 12 = Line 11 × 0.0495; for nonresidents/part-year residents, verifies that Line 11 and Line 12 are sourced from Schedule NR and that Schedule NR is attached. Also enforces that Line 14 (Income tax) = Line 12 + Line 13 and cannot be less than zero. This ensures the correct tax base and rate are applied and prevents negative tax amounts. If validation fails, require correction of the computation method or missing schedule.
13
Validates nonrefundable credits do not exceed tax and totals are consistent (Lines 18–19)
Checks that Line 18 equals Line 15 + Line 16 + Line 17 and that Line 18 is not greater than Line 14, as required by the form. Verifies Line 19 = Line 14 − Line 18 and is not negative. This prevents claiming nonrefundable credits beyond allowable limits and ensures correct tax after credits. If validation fails, cap credits or require corrected entries before submission.
14
Validates total tax rollups and immutability rule for use tax (Lines 21, 23, 24)
Verifies Line 23 = Line 19 + Line 20 + Line 21 + Line 22 and Line 24 equals Line 23. Additionally enforces the rule that Line 21 (use tax) cannot be changed from what was originally reported; if the system has access to the original return value, it must match exactly, otherwise require an explicit confirmation and/or block changes. This is important to comply with form instructions and prevent unauthorized adjustments. If validation fails, require correction of totals and/or revert Line 21 to the original value.
15
Validates payments/refundable credits totals and overpayment/underpayment logic (Lines 31–38)
Checks that Line 31 equals the sum of Lines 25–30, and then enforces mutual exclusivity and correctness of Line 32 vs Line 33 based on whether Line 31 is greater than Line 24. Validates Line 35 = Line 32 − Line 34 when applicable, Line 37 = Line 35 − Line 36, and Line 38 follows the form’s conditional rules using Lines 32, 33, and 34. This prevents contradictory outcomes (e.g., both overpayment and underpayment) and ensures the refund/amount due is computed correctly. If validation fails, require recalculation or auto-compute dependent lines.
16
Validates refund method selection and direct deposit banking information
Ensures exactly one refund method is selected (direct deposit or paper check) when Line 36 (refund requested) is greater than zero. If direct deposit is selected, routing number must be 9 digits and pass the ABA checksum, account number must be present and within acceptable length/character rules, and exactly one of Checking or Savings must be selected. This reduces rejected deposits and misdirected refunds. If validation fails, require corrected banking details or switch to paper check.