Calculate mechanics lien deadlines
calculate_lien_deadlineCalculate US construction lien and preliminary notice deadlines from an invoice date and state, with days remaining and rollover warnings for all 50 states plus DC.
Instructions
Calculates the preliminary notice deadline and the lien filing deadline for a US construction invoice. Needs the invoice or delivery date and the state. Returns dates, days remaining, and any warnings such as weekend or holiday rollover. Covers all 50 states plus DC. Not legal advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Your role on the project, e.g. "supplier", "contractor", "subcontractor". | |
| state | Yes | Two-letter US state code, e.g. "TX", "CA", "DC". | |
| notice_date | No | Date a preliminary notice was actually sent, YYYY-MM-DD, if one was. | |
| invoice_date | Yes | Invoice or delivery date in YYYY-MM-DD format. | |
| project_type | No | Usually "Commercial" or "Residential". Changes the deadline in some states. |