Invoice due date from net terms
invoice_dueDue date for Net-N payment terms (calendar days, invoice date = day 0). Optional roll-forward past weekends and, with a jurisdiction or custom calendar, public holidays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone that defines "today" (e.g. Africa/Kampala). Default UTC. | UTC |
| net | Yes | ||
| roll | No | ||
| workweek | No | Working week. Default mon-fri (Sat+Sun weekend). | |
| invoiceDate | No | ISO date YYYY-MM-DD, or "today" (resolved in tz) | today |
| jurisdiction | No | Holiday jurisdiction id: US, GB, GB-SCT, GB-NIR, IE, FR, CA, AU, UG (alias UK for GB). No default: omit for no holiday calendar. | |
| customHolidays | No | Custom organizational holiday calendar as ISO dates (mutually exclusive with jurisdiction) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) | |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |