/api/v1/calculate-deadline
Calculate preliminary notice and lien filing deadlines from invoice/project details.
| Field | Type | Required | Description |
|---|---|---|---|
| invoice_date | string | Yes | Date in YYYY-MM-DD format |
| state | string | Yes | US state code (2 letters) |
| role | string | Yes | supplier, contractor, or subcontractor |
{
"preliminary_notice": {
"required": true,
"deadline": "2025-02-04",
"days_from_now": 20
},
"lien_filing": {
"deadline": "2025-04-15",
"days_from_now": 90
},
"warnings": [
"If Notice of Completion is filed, deadline can shorten to 30 days"
],
"statute_citations": [
"Cal. Civ. Code §8204(a)",
"Cal. Civ. Code §8414"
]
}