← Back to Pack Library
Jurisdictionslibraryuncertifiedv2026.12.0

us-il

Illinois employment compliance library pack: Form IL-W-4 state withholding certificate, Day and Temporary Labor Services Act employment notice (820 ILCS 175/10), and annual sexual harassment prevention training (775 ILCS 5/2-109).

Verify locally with CLI
Validate schema & rules
pnpm ir check packs/us-il/pack.json
Run pack scenarios
pnpm ir test packs/us-il/pack.json
3Requirements
1Concepts
7Scenarios

Requirements (3)

Compliance and operational rules declared in this pack's policies, with authority classification, legal citations, and due/renewal schedules.

Illinois Form IL-W-4 — Employee's Illinois Withholding Allowance Certificate

il_w4
statutedocumentil_tax
Dueemployee: engagement/start_date (on day)
Citations
  • Illinois Income Tax Act withholding (confirm)

Illinois Day and Temporary Laborer Employment Notice

il_temp_laborer_notice
statutedocumentil_notices
Dueemployer: engagement/start_date (on day) · employee: engagement/start_date (on day)
Citations
  • 820 ILCS 175/10

Illinois Sexual Harassment Prevention Training

il_harassment_training
statutedocumentil_training
Dueemployee: engagement/start_date (+30d)
Expires1 year
Renew within30 days
Citations
  • 775 ILCS 5/2-109

Concepts (1)

Typed domain facts introduced by this pack that policies evaluate against.

ConceptTypeChoices / Description
engagement/is_temporary_laborerboolean

Whether the principal is a day or temporary laborer placed at a third-party client under the Illinois Day and Temporary Labor Services Act (820 ILCS 175)

Scenarios (7)

Executable compliance test cases verified against this pack by pnpm ir test.

il-w2-temp-laborer-applies
as of 2026-12-01

New US W-2 day or temporary laborer placed in Illinois requires Form IL-W-4, the Day and Temporary Laborer Employment Notice, and annual sexual harassment prevention training.

Given facts
work/location_country=USwork/location_state=ILengagement/classification=w2engagement/is_temporary_laborer=trueengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
+ il_w4+ il_temp_laborer_notice+ il_harassment_trainingil_w4: availableil_temp_laborer_notice: availableil_harassment_training: available
il-w2-non-temp-hire
as of 2026-12-01

Illinois W-2 direct hire who is not a day or temporary laborer requires Form IL-W-4 and sexual harassment prevention training, but not the Day and Temporary Laborer Employment Notice.

Given facts
work/location_country=USwork/location_state=ILengagement/classification=w2engagement/is_temporary_laborer=falseengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
+ il_w4+ il_harassment_training− il_temp_laborer_noticeil_w4: availableil_harassment_training: available
non-il-w2-exempt
as of 2026-12-01

US W-2 temporary laborer working in Wisconsin does not trigger Illinois-specific requirements.

Given facts
work/location_country=USwork/location_state=WIengagement/classification=w2engagement/is_temporary_laborer=trueengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
− il_w4− il_temp_laborer_notice− il_harassment_training
il-1099-non-temp-exempt
as of 2026-12-01

1099 independent contractor in Illinois who is not a temporary laborer is exempt from W-2 IL-W-4, temporary laborer notice, and employee harassment training requirements.

Given facts
work/location_country=USwork/location_state=ILengagement/classification=1099engagement/is_temporary_laborer=falseengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
− il_w4− il_temp_laborer_notice− il_harassment_training
missing-facts-tentative
as of 2026-12-011 step

When engagement/classification and engagement/is_temporary_laborer are unknown for an Illinois engagement, all three requirements are tentative and blocked on missing facts until supplied.

Given facts
work/location_country=USwork/location_state=ILengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
+ il_w4+ il_temp_laborer_notice+ il_harassment_trainingil_w4: blocked_on_factsil_temp_laborer_notice: blocked_on_factsil_harassment_training: blocked_on_facts
due-dates-and-overdue
as of 2026-12-012 steps

IL-W-4 and the Day and Temporary Laborer Employment Notice are due on start date (2026-12-07) and become overdue on 2026-12-08, while annual harassment training is due 30 days after start (2027-01-06) and becomes overdue on 2027-01-07.

Given facts
work/location_country=USwork/location_state=ILengagement/classification=w2engagement/is_temporary_laborer=trueengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
+ il_w4+ il_temp_laborer_notice+ il_harassment_trainingil_w4: availableil_temp_laborer_notice: availableil_harassment_training: available
rehire-reuse-and-annual-renewal
as of 2026-12-012 steps

Illinois W-2 temporary laborer rehire reuses prior IL-W-4 and prior harassment training for the same employer while requiring a fresh employment notice; entering the 30-day renewal window opens renewal, and advancing past 1-year expiry requires fresh training.

Given facts
work/location_country=USwork/location_state=ILengagement/classification=w2engagement/is_temporary_laborer=trueengagement/start_date=2026-12-07engagement/reviewer=usr_hr_01engagement/employer_id=emp_il_01
Expected outcomes
+ il_w4+ il_temp_laborer_notice+ il_harassment_training− il_harassment_training:renewalil_w4: completeil_temp_laborer_notice: availableil_harassment_training: complete

Pack JSON

Show raw packs/us-il/pack.json
{
  "format": 1,
  "name": "us-il",
  "version": "2026.12.0",
  "kind": "library",
  "description": "Illinois employment compliance library pack: Form IL-W-4 state withholding certificate, Day and Temporary Labor Services Act employment notice (820 ILCS 175/10), and annual sexual harassment prevention training (775 ILCS 5/2-109).",
  "requires": [
    {
      "name": "staffing-core",
      "range": "^2026.12"
    }
  ],
  "concepts": [
    {
      "key": "engagement/is_temporary_laborer",
      "type": "boolean",
      "description": "Whether the principal is a day or temporary laborer placed at a third-party client under the Illinois Day and Temporary Labor Services Act (820 ILCS 175)"
    }
  ],
  "templates": [
    {
      "key": "us_il_w4",
      "version": "2026.1.0",
      "title": "Illinois Form IL-W-4 — Employee's Illinois Withholding Allowance Certificate",
      "roles": [
        {
          "name": "employee",
          "kind": "person",
          "label": "Employee"
        }
      ],
      "sections": [
        {
          "id": "withholding_certificate",
          "role": "employee",
          "title": "Illinois Withholding Allowances",
          "fields": [
            {
              "id": "basic_allowances",
              "type": "number",
              "label": "Total Basic Allowances (Line 1)",
              "required": true
            },
            {
              "id": "additional_allowances",
              "type": "number",
              "label": "Total Additional Allowances (Line 2)",
              "required": false
            },
            {
              "id": "additional_withholding",
              "type": "number",
              "label": "Additional Amount to Withhold Each Pay Period (Line 3)",
              "required": false
            },
            {
              "id": "exempt_withholding",
              "type": "boolean",
              "label": "Claim Exemption from Illinois Withholding",
              "required": false
            }
          ],
          "signature": {
            "id": "employee_signature",
            "attestation": "I certify that I am entitled to the number of withholding allowances claimed on this Illinois Form IL-W-4.",
            "covers": [
              "withholding_certificate"
            ]
          }
        }
      ]
    },
    {
      "key": "us_il_dtlsa_employment_notice",
      "version": "2026.1.0",
      "title": "Illinois Day and Temporary Laborer Employment Notice (820 ILCS 175/10)",
      "roles": [
        {
          "name": "employer",
          "kind": "user",
          "label": "Agency Representative"
        },
        {
          "name": "employee",
          "kind": "person",
          "label": "Temporary Laborer",
          "after": [
            "employer"
          ]
        }
      ],
      "sections": [
        {
          "id": "assignment_terms",
          "role": "employer",
          "title": "Assignment and Wage Disclosures",
          "fields": [
            {
              "id": "agency_name",
              "type": "text",
              "label": "Day and Temporary Labor Service Agency Name",
              "required": true
            },
            {
              "id": "client_company_name",
              "type": "text",
              "label": "Third-Party Client Name",
              "required": true
            },
            {
              "id": "worksite_address",
              "type": "text",
              "label": "Worksite Address",
              "required": true
            },
            {
              "id": "nature_of_work",
              "type": "text",
              "label": "Nature of Work to Be Performed",
              "required": true
            },
            {
              "id": "wages_offered",
              "type": "text",
              "label": "Wages Offered and Overtime Rate",
              "required": true
            },
            {
              "id": "schedule_and_duration",
              "type": "text",
              "label": "Terms of Transportation, Schedule, and Expected Duration",
              "required": true
            },
            {
              "id": "meals_and_equipment",
              "type": "text",
              "label": "Meals and Equipment Provided (and Any Cost)",
              "required": true
            }
          ]
        },
        {
          "id": "acknowledgment",
          "role": "employee",
          "title": "Laborer Acknowledgment of Receipt",
          "readable": [
            "assignment_terms"
          ],
          "fields": [
            {
              "id": "received_date",
              "type": "date",
              "label": "Date Received",
              "required": true
            }
          ],
          "signature": {
            "id": "employee_signature",
            "attestation": "I acknowledge receipt of this written employment notice pursuant to the Illinois Day and Temporary Labor Services Act (820 ILCS 175/10).",
            "covers": [
              "assignment_terms",
              "acknowledgment"
            ]
          }
        }
      ]
    },
    {
      "key": "us_il_harassment_training",
      "version": "2026.1.0",
      "title": "Illinois Sexual Harassment Prevention Training Attestation (775 ILCS 5/2-109)",
      "roles": [
        {
          "name": "employee",
          "kind": "person",
          "label": "Employee"
        }
      ],
      "sections": [
        {
          "id": "training_completion",
          "role": "employee",
          "title": "Annual Training Completion Record",
          "fields": [
            {
              "id": "completed_date",
              "type": "date",
              "label": "Completion Date",
              "required": true
            },
            {
              "id": "training_program",
              "type": "text",
              "label": "Training Program or Provider (e.g. IDHR Model Program)",
              "required": true
            }
          ],
          "signature": {
            "id": "employee_signature",
            "attestation": "I attest that I have completed the annual Illinois sexual harassment prevention training required under the Illinois Human Rights Act (775 ILCS 5/2-109).",
            "covers": [
              "training_completion"
            ]
          }
        }
      ]
    }
  ],
  "policies": [
    {
      "key": "us-il",
      "version": "2026.12.0",
      "facts": {
        "work/location_country": {
          "type": "choice",
          "options": [
            "US",
            "CA",
            "GB",
            "MX",
            "OTHER"
          ]
        },
        "work/location_state": {
          "type": "choice",
          "options": [
            "AL",
            "AK",
            "AZ",
            "AR",
            "CA",
            "CO",
            "CT",
            "DE",
            "DC",
            "FL",
            "GA",
            "HI",
            "ID",
            "IL",
            "IN",
            "IA",
            "KS",
            "KY",
            "LA",
            "ME",
            "MD",
            "MA",
            "MI",
            "MN",
            "MS",
            "MO",
            "MT",
            "NE",
            "NV",
            "NH",
            "NJ",
            "NM",
            "NY",
            "NC",
            "ND",
            "OH",
            "OK",
            "OR",
            "PA",
            "PR",
            "RI",
            "SC",
            "SD",
            "TN",
            "TX",
            "UT",
            "VT",
            "VA",
            "WA",
            "WV",
            "WI",
            "WY"
          ]
        },
        "engagement/classification": {
          "type": "choice",
          "options": [
            "w2",
            "1099"
          ]
        },
        "engagement/start_date": {
          "type": "date"
        },
        "engagement/reviewer": {
          "type": "string"
        },
        "engagement/employer_id": {
          "type": "string"
        },
        "engagement/is_temporary_laborer": {
          "type": "boolean"
        }
      },
      "stages": [
        {
          "id": "il_tax",
          "title": "Illinois Tax Withholding"
        },
        {
          "id": "il_notices",
          "title": "Illinois Statutory Notices"
        },
        {
          "id": "il_training",
          "title": "Illinois Mandatory Training"
        }
      ],
      "requirements": {
        "il_w4": {
          "title": "Illinois Form IL-W-4 — Employee's Illinois Withholding Allowance Certificate",
          "kind": "document",
          "template": "us_il_w4",
          "stage": "il_tax",
          "parties": {
            "employee": "subject"
          },
          "due": {
            "employee": {
              "relative_to": "engagement/start_date",
              "days": 0
            }
          },
          "reuse": {
            "same": [
              "engagement/employer_id"
            ],
            "outcome": "satisfies"
          },
          "on_unknown": "wait",
          "cites": [
            "Illinois Income Tax Act withholding (confirm)"
          ],
          "authority": "statute"
        },
        "il_temp_laborer_notice": {
          "title": "Illinois Day and Temporary Laborer Employment Notice",
          "kind": "document",
          "template": "us_il_dtlsa_employment_notice",
          "stage": "il_notices",
          "parties": {
            "employer": "engagement/reviewer",
            "employee": "subject"
          },
          "due": {
            "employer": {
              "relative_to": "engagement/start_date",
              "days": 0
            },
            "employee": {
              "relative_to": "engagement/start_date",
              "days": 0
            }
          },
          "on_unknown": "wait",
          "cites": [
            "820 ILCS 175/10"
          ],
          "authority": "statute"
        },
        "il_harassment_training": {
          "title": "Illinois Sexual Harassment Prevention Training",
          "kind": "document",
          "template": "us_il_harassment_training",
          "stage": "il_training",
          "parties": {
            "employee": "subject"
          },
          "due": {
            "employee": {
              "relative_to": "engagement/start_date",
              "days": 30
            }
          },
          "reuse": {
            "same": [
              "engagement/employer_id"
            ],
            "max_age_days": 365,
            "outcome": "satisfies"
          },
          "expires": {
            "years": 1
          },
          "renew_within": {
            "days": 30
          },
          "on_unknown": "wait",
          "cites": [
            "775 ILCS 5/2-109"
          ],
          "authority": "statute"
        }
      },
      "policies": [
        {
          "id": "us-il-w4-w2",
          "title": "Illinois Form IL-W-4 for W-2 employees working in Illinois",
          "when": {
            "all": [
              {
                "fact": "work/location_country",
                "operator": "equal",
                "value": "US"
              },
              {
                "fact": "work/location_state",
                "operator": "equal",
                "value": "IL"
              },
              {
                "fact": "engagement/classification",
                "operator": "equal",
                "value": "w2"
              }
            ]
          },
          "require": [
            "il_w4"
          ],
          "optional": false,
          "cites": [
            "Illinois Income Tax Act withholding (confirm)"
          ]
        },
        {
          "id": "us-il-temp-laborer-notice",
          "title": "Illinois Day and Temporary Laborer Employment Notice for day or temporary laborers placed in Illinois",
          "when": {
            "all": [
              {
                "fact": "work/location_country",
                "operator": "equal",
                "value": "US"
              },
              {
                "fact": "work/location_state",
                "operator": "equal",
                "value": "IL"
              },
              {
                "fact": "engagement/is_temporary_laborer",
                "operator": "equal",
                "value": true
              }
            ]
          },
          "require": [
            "il_temp_laborer_notice"
          ],
          "optional": false,
          "cites": [
            "820 ILCS 175/10"
          ]
        },
        {
          "id": "us-il-harassment-training-w2",
          "title": "Illinois annual sexual harassment prevention training for W-2 employees working in Illinois",
          "when": {
            "all": [
              {
                "fact": "work/location_country",
                "operator": "equal",
                "value": "US"
              },
              {
                "fact": "work/location_state",
                "operator": "equal",
                "value": "IL"
              },
              {
                "fact": "engagement/classification",
                "operator": "equal",
                "value": "w2"
              }
            ]
          },
          "require": [
            "il_harassment_training"
          ],
          "optional": false,
          "cites": [
            "775 ILCS 5/2-109"
          ]
        }
      ]
    }
  ],
  "scenarios": [
    {
      "name": "il-w2-temp-laborer-applies",
      "description": "New US W-2 day or temporary laborer placed in Illinois requires Form IL-W-4, the Day and Temporary Laborer Employment Notice, and annual sexual harassment prevention training.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "IL",
        "engagement/classification": "w2",
        "engagement/is_temporary_laborer": true,
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "expect": {
        "required": [
          "il_w4",
          "il_temp_laborer_notice",
          "il_harassment_training"
        ],
        "not_required": [],
        "states": {
          "il_w4": "available",
          "il_temp_laborer_notice": "available",
          "il_harassment_training": "available"
        },
        "missing_facts": []
      }
    },
    {
      "name": "il-w2-non-temp-hire",
      "description": "Illinois W-2 direct hire who is not a day or temporary laborer requires Form IL-W-4 and sexual harassment prevention training, but not the Day and Temporary Laborer Employment Notice.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "IL",
        "engagement/classification": "w2",
        "engagement/is_temporary_laborer": false,
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "expect": {
        "required": [
          "il_w4",
          "il_harassment_training"
        ],
        "not_required": [
          "il_temp_laborer_notice"
        ],
        "states": {
          "il_w4": "available",
          "il_harassment_training": "available"
        },
        "missing_facts": []
      }
    },
    {
      "name": "non-il-w2-exempt",
      "description": "US W-2 temporary laborer working in Wisconsin does not trigger Illinois-specific requirements.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "WI",
        "engagement/classification": "w2",
        "engagement/is_temporary_laborer": true,
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "expect": {
        "required": [],
        "not_required": [
          "il_w4",
          "il_temp_laborer_notice",
          "il_harassment_training"
        ],
        "missing_facts": []
      }
    },
    {
      "name": "il-1099-non-temp-exempt",
      "description": "1099 independent contractor in Illinois who is not a temporary laborer is exempt from W-2 IL-W-4, temporary laborer notice, and employee harassment training requirements.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "IL",
        "engagement/classification": "1099",
        "engagement/is_temporary_laborer": false,
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "expect": {
        "required": [],
        "not_required": [
          "il_w4",
          "il_temp_laborer_notice",
          "il_harassment_training"
        ],
        "missing_facts": []
      }
    },
    {
      "name": "missing-facts-tentative",
      "description": "When engagement/classification and engagement/is_temporary_laborer are unknown for an Illinois engagement, all three requirements are tentative and blocked on missing facts until supplied.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "IL",
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "expect": {
        "required": [
          "il_w4",
          "il_temp_laborer_notice",
          "il_harassment_training"
        ],
        "not_required": [],
        "states": {
          "il_w4": "blocked_on_facts",
          "il_temp_laborer_notice": "blocked_on_facts",
          "il_harassment_training": "blocked_on_facts"
        },
        "missing_facts": [
          "engagement/classification",
          "engagement/is_temporary_laborer"
        ]
      },
      "steps": [
        {
          "name": "supply-classification-and-temp-flag",
          "set_facts": {
            "engagement/classification": "w2",
            "engagement/is_temporary_laborer": true
          },
          "expect": {
            "required": [
              "il_w4",
              "il_temp_laborer_notice",
              "il_harassment_training"
            ],
            "not_required": [],
            "states": {
              "il_w4": "available",
              "il_temp_laborer_notice": "available",
              "il_harassment_training": "available"
            },
            "missing_facts": []
          }
        }
      ]
    },
    {
      "name": "due-dates-and-overdue",
      "description": "IL-W-4 and the Day and Temporary Laborer Employment Notice are due on start date (2026-12-07) and become overdue on 2026-12-08, while annual harassment training is due 30 days after start (2027-01-06) and becomes overdue on 2027-01-07.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "IL",
        "engagement/classification": "w2",
        "engagement/is_temporary_laborer": true,
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "expect": {
        "required": [
          "il_w4",
          "il_temp_laborer_notice",
          "il_harassment_training"
        ],
        "not_required": [],
        "states": {
          "il_w4": "available",
          "il_temp_laborer_notice": "available",
          "il_harassment_training": "available"
        },
        "missing_facts": []
      },
      "steps": [
        {
          "name": "day-after-start-date-overdue",
          "as_of": "2026-12-08",
          "expect": {
            "required": [
              "il_w4",
              "il_temp_laborer_notice",
              "il_harassment_training"
            ],
            "not_required": [],
            "states": {
              "il_w4": "overdue",
              "il_temp_laborer_notice": "overdue",
              "il_harassment_training": "available"
            },
            "missing_facts": []
          }
        },
        {
          "name": "past-30-day-training-due-date",
          "as_of": "2027-01-07",
          "expect": {
            "required": [
              "il_w4",
              "il_temp_laborer_notice",
              "il_harassment_training"
            ],
            "not_required": [],
            "states": {
              "il_w4": "overdue",
              "il_temp_laborer_notice": "overdue",
              "il_harassment_training": "overdue"
            },
            "missing_facts": []
          }
        }
      ]
    },
    {
      "name": "rehire-reuse-and-annual-renewal",
      "description": "Illinois W-2 temporary laborer rehire reuses prior IL-W-4 and prior harassment training for the same employer while requiring a fresh employment notice; entering the 30-day renewal window opens renewal, and advancing past 1-year expiry requires fresh training.",
      "policy_set": "us-il",
      "as_of": "2026-12-01",
      "facts": {
        "work/location_country": "US",
        "work/location_state": "IL",
        "engagement/classification": "w2",
        "engagement/is_temporary_laborer": true,
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_hr_01",
        "engagement/employer_id": "emp_il_01"
      },
      "evidence": [
        {
          "id": "doc_prior_il_w4",
          "template": "us_il_w4",
          "template_version": "2026.1.0",
          "status": "completed",
          "completed_at": "2025-06-15",
          "facts": {
            "engagement/employer_id": "emp_il_01"
          }
        },
        {
          "id": "doc_prior_il_harassment",
          "template": "us_il_harassment_training",
          "template_version": "2026.1.0",
          "status": "completed",
          "completed_at": "2026-01-10",
          "facts": {
            "engagement/employer_id": "emp_il_01"
          }
        }
      ],
      "expect": {
        "required": [
          "il_w4",
          "il_temp_laborer_notice",
          "il_harassment_training"
        ],
        "not_required": [
          "il_harassment_training:renewal"
        ],
        "states": {
          "il_w4": "complete",
          "il_temp_laborer_notice": "available",
          "il_harassment_training": "complete"
        },
        "missing_facts": []
      },
      "steps": [
        {
          "name": "enter-30-day-renewal-window",
          "as_of": "2026-12-15",
          "expect": {
            "required": [
              "il_w4",
              "il_temp_laborer_notice",
              "il_harassment_training",
              "il_harassment_training:renewal"
            ],
            "not_required": [],
            "states": {
              "il_w4": "complete",
              "il_temp_laborer_notice": "overdue",
              "il_harassment_training": "complete",
              "il_harassment_training:renewal": "available"
            },
            "missing_facts": []
          }
        },
        {
          "name": "advance-past-1-year-training-expiry",
          "as_of": "2027-01-15",
          "expect": {
            "required": [
              "il_w4",
              "il_temp_laborer_notice",
              "il_harassment_training"
            ],
            "not_required": [
              "il_harassment_training:renewal"
            ],
            "states": {
              "il_w4": "complete",
              "il_temp_laborer_notice": "overdue",
              "il_harassment_training": "overdue"
            },
            "missing_facts": []
          }
        }
      ]
    }
  ]
}

Forma Lisp

Show Forma Lisp source us-il.forma
(pack us-il
  :format 1
  :version "2026.12.0"
  :kind "library"
  :description "Illinois employment compliance library pack: Form IL-W-4 state withholding certificate, Day and Temporary Labor Services Act employment notice (820 ILCS 175/10), and annual sexual harassment prevention training (775 ILCS 5/2-109).")

;; ── Pack Dependencies ──────────────────────────────────────────────────────

(require-pack staffing-core :range "^2026.12")

;; ── Concepts ───────────────────────────────────────────────────────────────

(concept "engagement/is_temporary_laborer"
  :type "boolean"
  :description "Whether the principal is a day or temporary laborer placed at a third-party client under the Illinois Day and Temporary Labor Services Act (820 ILCS 175)")

;; ── Document Templates ─────────────────────────────────────────────────────

(template us_il_w4
  :version "2026.1.0"
  :title "Illinois Form IL-W-4 — Employee's Illinois Withholding Allowance Certificate"
  :roles [{:name "employee" :kind "person" :label "Employee"}]
  :sections
    [{:id "withholding_certificate"
       :role "employee"
       :title "Illinois Withholding Allowances"
       :fields
        [{:id "basic_allowances"
           :type "number"
           :label "Total Basic Allowances (Line 1)"
           :required true}
         {:id "additional_allowances"
           :type "number"
           :label "Total Additional Allowances (Line 2)"
           :required false}
         {:id "additional_withholding"
           :type "number"
           :label "Additional Amount to Withhold Each Pay Period (Line 3)"
           :required false}
         {:id "exempt_withholding"
           :type "boolean"
           :label "Claim Exemption from Illinois Withholding"
           :required false}]
       :signature
        {:id "employee_signature"
         :attestation "I certify that I am entitled to the number of withholding allowances claimed on this Illinois Form IL-W-4."
         :covers ["withholding_certificate"]}}])

(template us_il_dtlsa_employment_notice
  :version "2026.1.0"
  :title "Illinois Day and Temporary Laborer Employment Notice (820 ILCS 175/10)"
  :roles
    [{:name "employer" :kind "user" :label "Agency Representative"}
     {:name "employee" :kind "person" :label "Temporary Laborer" :after ["employer"]}]
  :sections
    [{:id "assignment_terms"
       :role "employer"
       :title "Assignment and Wage Disclosures"
       :fields
        [{:id "agency_name"
           :type "text"
           :label "Day and Temporary Labor Service Agency Name"
           :required true}
         {:id "client_company_name"
           :type "text"
           :label "Third-Party Client Name"
           :required true}
         {:id "worksite_address" :type "text" :label "Worksite Address" :required true}
         {:id "nature_of_work"
           :type "text"
           :label "Nature of Work to Be Performed"
           :required true}
         {:id "wages_offered"
           :type "text"
           :label "Wages Offered and Overtime Rate"
           :required true}
         {:id "schedule_and_duration"
           :type "text"
           :label "Terms of Transportation, Schedule, and Expected Duration"
           :required true}
         {:id "meals_and_equipment"
           :type "text"
           :label "Meals and Equipment Provided (and Any Cost)"
           :required true}]}
     {:id "acknowledgment"
       :role "employee"
       :title "Laborer Acknowledgment of Receipt"
       :readable ["assignment_terms"]
       :fields [{:id "received_date" :type "date" :label "Date Received" :required true}]
       :signature
        {:id "employee_signature"
         :attestation "I acknowledge receipt of this written employment notice pursuant to the Illinois Day and Temporary Labor Services Act (820 ILCS 175/10)."
         :covers ["assignment_terms" "acknowledgment"]}}])

(template us_il_harassment_training
  :version "2026.1.0"
  :title "Illinois Sexual Harassment Prevention Training Attestation (775 ILCS 5/2-109)"
  :roles [{:name "employee" :kind "person" :label "Employee"}]
  :sections
    [{:id "training_completion"
       :role "employee"
       :title "Annual Training Completion Record"
       :fields
        [{:id "completed_date" :type "date" :label "Completion Date" :required true}
         {:id "training_program"
           :type "text"
           :label "Training Program or Provider (e.g. IDHR Model Program)"
           :required true}]
       :signature
        {:id "employee_signature"
         :attestation "I attest that I have completed the annual Illinois sexual harassment prevention training required under the Illinois Human Rights Act (775 ILCS 5/2-109)."
         :covers ["training_completion"]}}])

;; ── Compliance Policy Sets ─────────────────────────────────────────────────

(policy-set us-il
  :version "2026.12.0"
  :facts
    {"work/location_country" {:type "choice" :options ["US" "CA" "GB" "MX" "OTHER"]}
     "work/location_state"
      {:type "choice"
       :options
        ["AL"
         "AK"
         "AZ"
         "AR"
         "CA"
         "CO"
         "CT"
         "DE"
         "DC"
         "FL"
         "GA"
         "HI"
         "ID"
         "IL"
         "IN"
         "IA"
         "KS"
         "KY"
         "LA"
         "ME"
         "MD"
         "MA"
         "MI"
         "MN"
         "MS"
         "MO"
         "MT"
         "NE"
         "NV"
         "NH"
         "NJ"
         "NM"
         "NY"
         "NC"
         "ND"
         "OH"
         "OK"
         "OR"
         "PA"
         "PR"
         "RI"
         "SC"
         "SD"
         "TN"
         "TX"
         "UT"
         "VT"
         "VA"
         "WA"
         "WV"
         "WI"
         "WY"]}
     "engagement/classification" {:type "choice" :options ["w2" "1099"]}
     "engagement/start_date" {:type "date"}
     "engagement/reviewer" {:type "string"}
     "engagement/employer_id" {:type "string"}
     "engagement/is_temporary_laborer" {:type "boolean"}}
  :stages
    [{:id "il_tax" :title "Illinois Tax Withholding"}
     {:id "il_notices" :title "Illinois Statutory Notices"}
     {:id "il_training" :title "Illinois Mandatory Training"}]
  :requirements
    {:il_w4
      {:title "Illinois Form IL-W-4 — Employee's Illinois Withholding Allowance Certificate"
       :kind "document"
       :template "us_il_w4"
       :stage "il_tax"
       :parties {:employee "subject"}
       :due {:employee {:relative_to "engagement/start_date" :days 0}}
       :reuse {:same ["engagement/employer_id"] :outcome "satisfies"}
       :on_unknown "wait"
       :cites ["Illinois Income Tax Act withholding (confirm)"]
       :authority "statute"}
     :il_temp_laborer_notice
      {:title "Illinois Day and Temporary Laborer Employment Notice"
       :kind "document"
       :template "us_il_dtlsa_employment_notice"
       :stage "il_notices"
       :parties {:employer "engagement/reviewer" :employee "subject"}
       :due
        {:employer {:relative_to "engagement/start_date" :days 0}
         :employee {:relative_to "engagement/start_date" :days 0}}
       :on_unknown "wait"
       :cites ["820 ILCS 175/10"]
       :authority "statute"}
     :il_harassment_training
      {:title "Illinois Sexual Harassment Prevention Training"
       :kind "document"
       :template "us_il_harassment_training"
       :stage "il_training"
       :parties {:employee "subject"}
       :due {:employee {:relative_to "engagement/start_date" :days 30}}
       :reuse {:same ["engagement/employer_id"] :max_age_days 365 :outcome "satisfies"}
       :expires {:years 1}
       :renew_within {:days 30}
       :on_unknown "wait"
       :cites ["775 ILCS 5/2-109"]
       :authority "statute"}}
  :policies
    [{:id "us-il-w4-w2"
       :title "Illinois Form IL-W-4 for W-2 employees working in Illinois"
       :when
        {:all
          [{:fact "work/location_country" :operator "equal" :value "US"}
           {:fact "work/location_state" :operator "equal" :value "IL"}
           {:fact "engagement/classification" :operator "equal" :value "w2"}]}
       :require ["il_w4"]
       :optional false
       :cites ["Illinois Income Tax Act withholding (confirm)"]}
     {:id "us-il-temp-laborer-notice"
       :title "Illinois Day and Temporary Laborer Employment Notice for day or temporary laborers placed in Illinois"
       :when
        {:all
          [{:fact "work/location_country" :operator "equal" :value "US"}
           {:fact "work/location_state" :operator "equal" :value "IL"}
           {:fact "engagement/is_temporary_laborer" :operator "equal" :value true}]}
       :require ["il_temp_laborer_notice"]
       :optional false
       :cites ["820 ILCS 175/10"]}
     {:id "us-il-harassment-training-w2"
       :title "Illinois annual sexual harassment prevention training for W-2 employees working in Illinois"
       :when
        {:all
          [{:fact "work/location_country" :operator "equal" :value "US"}
           {:fact "work/location_state" :operator "equal" :value "IL"}
           {:fact "engagement/classification" :operator "equal" :value "w2"}]}
       :require ["il_harassment_training"]
       :optional false
       :cites ["775 ILCS 5/2-109"]}])

;; ── Declarative Scenarios ──────────────────────────────────────────────────

(scenario il-w2-temp-laborer-applies
  :description "New US W-2 day or temporary laborer placed in Illinois requires Form IL-W-4, the Day and Temporary Laborer Employment Notice, and annual sexual harassment prevention training."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "IL"
     "engagement/classification" "w2"
     "engagement/is_temporary_laborer" true
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :expect
    {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
     :not_required []
     :states
      {:il_w4 "available"
       :il_temp_laborer_notice "available"
       :il_harassment_training "available"}
     :missing_facts []})

(scenario il-w2-non-temp-hire
  :description "Illinois W-2 direct hire who is not a day or temporary laborer requires Form IL-W-4 and sexual harassment prevention training, but not the Day and Temporary Laborer Employment Notice."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "IL"
     "engagement/classification" "w2"
     "engagement/is_temporary_laborer" false
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :expect
    {:required ["il_w4" "il_harassment_training"]
     :not_required ["il_temp_laborer_notice"]
     :states {:il_w4 "available" :il_harassment_training "available"}
     :missing_facts []})

(scenario non-il-w2-exempt
  :description "US W-2 temporary laborer working in Wisconsin does not trigger Illinois-specific requirements."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "WI"
     "engagement/classification" "w2"
     "engagement/is_temporary_laborer" true
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :expect
    {:required []
     :not_required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
     :missing_facts []})

(scenario il-1099-non-temp-exempt
  :description "1099 independent contractor in Illinois who is not a temporary laborer is exempt from W-2 IL-W-4, temporary laborer notice, and employee harassment training requirements."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "IL"
     "engagement/classification" "1099"
     "engagement/is_temporary_laborer" false
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :expect
    {:required []
     :not_required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
     :missing_facts []})

(scenario missing-facts-tentative
  :description "When engagement/classification and engagement/is_temporary_laborer are unknown for an Illinois engagement, all three requirements are tentative and blocked on missing facts until supplied."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "IL"
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :expect
    {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
     :not_required []
     :states
      {:il_w4 "blocked_on_facts"
       :il_temp_laborer_notice "blocked_on_facts"
       :il_harassment_training "blocked_on_facts"}
     :missing_facts ["engagement/classification" "engagement/is_temporary_laborer"]}
  :steps
    [{:name "supply-classification-and-temp-flag"
       :set_facts {"engagement/classification" "w2" "engagement/is_temporary_laborer" true}
       :expect
        {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
         :not_required []
         :states
          {:il_w4 "available"
           :il_temp_laborer_notice "available"
           :il_harassment_training "available"}
         :missing_facts []}}])

(scenario due-dates-and-overdue
  :description "IL-W-4 and the Day and Temporary Laborer Employment Notice are due on start date (2026-12-07) and become overdue on 2026-12-08, while annual harassment training is due 30 days after start (2027-01-06) and becomes overdue on 2027-01-07."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "IL"
     "engagement/classification" "w2"
     "engagement/is_temporary_laborer" true
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :expect
    {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
     :not_required []
     :states
      {:il_w4 "available"
       :il_temp_laborer_notice "available"
       :il_harassment_training "available"}
     :missing_facts []}
  :steps
    [{:name "day-after-start-date-overdue"
       :as_of "2026-12-08"
       :expect
        {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
         :not_required []
         :states
          {:il_w4 "overdue"
           :il_temp_laborer_notice "overdue"
           :il_harassment_training "available"}
         :missing_facts []}}
     {:name "past-30-day-training-due-date"
       :as_of "2027-01-07"
       :expect
        {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
         :not_required []
         :states
          {:il_w4 "overdue"
           :il_temp_laborer_notice "overdue"
           :il_harassment_training "overdue"}
         :missing_facts []}}])

(scenario rehire-reuse-and-annual-renewal
  :description "Illinois W-2 temporary laborer rehire reuses prior IL-W-4 and prior harassment training for the same employer while requiring a fresh employment notice; entering the 30-day renewal window opens renewal, and advancing past 1-year expiry requires fresh training."
  :policy-set "us-il"
  :as-of "2026-12-01"
  :facts
    {"work/location_country" "US"
     "work/location_state" "IL"
     "engagement/classification" "w2"
     "engagement/is_temporary_laborer" true
     "engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_hr_01"
     "engagement/employer_id" "emp_il_01"}
  :evidence
    [{:id "doc_prior_il_w4"
       :template "us_il_w4"
       :template_version "2026.1.0"
       :status "completed"
       :completed_at "2025-06-15"
       :facts {"engagement/employer_id" "emp_il_01"}}
     {:id "doc_prior_il_harassment"
       :template "us_il_harassment_training"
       :template_version "2026.1.0"
       :status "completed"
       :completed_at "2026-01-10"
       :facts {"engagement/employer_id" "emp_il_01"}}]
  :expect
    {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
     :not_required ["il_harassment_training:renewal"]
     :states
      {:il_w4 "complete"
       :il_temp_laborer_notice "available"
       :il_harassment_training "complete"}
     :missing_facts []}
  :steps
    [{:name "enter-30-day-renewal-window"
       :as_of "2026-12-15"
       :expect
        {:required
          ["il_w4"
           "il_temp_laborer_notice"
           "il_harassment_training"
           "il_harassment_training:renewal"]
         :not_required []
         :states
          {:il_w4 "complete"
           :il_temp_laborer_notice "overdue"
           :il_harassment_training "complete"
           "il_harassment_training:renewal" "available"}
         :missing_facts []}}
     {:name "advance-past-1-year-training-expiry"
       :as_of "2027-01-15"
       :expect
        {:required ["il_w4" "il_temp_laborer_notice" "il_harassment_training"]
         :not_required ["il_harassment_training:renewal"]
         :states
          {:il_w4 "complete"
           :il_temp_laborer_notice "overdue"
           :il_harassment_training "overdue"}
         :missing_facts []}}])