Invoice due date from net payment terms

get/api/v1/invoice-due

Request

  • Base URL: https://tilwhen.com
  • URL: https://tilwhen.com/api/v1/invoice-due
  • Auth: none declared

Query parameters

datestring

Strict ISO YYYY-MM-DD, or the literal "today" (resolved in tz).

Invoice date; defaults to today.

netinteger required
roll'1' | '0' | 'true' | 'false'

Roll a weekend/holiday due date forward to the next business day. Any other value is a 400 rather than a silent "no".

cal'US' | 'GB' | 'GB-SCT' | 'GB-NIR' | 'CA' | 'AU' | 'UG' | 'UK'

Holiday jurisdiction (ISO 3166-1/-2; UK is a legacy alias for GB).

customstring
ww'mon-fri' | 'sun-thu' | 'mon-sat'
tzstring

IANA timezone name; defaults to UTC.

Example:Africa/Kampala

Response

The answer plus its auditable receipt

answerobject required

Changes

No recorded changes to this operation across all 1 revision of this API.