Description
Add calendar days and return discountDeadline.
Financial records use explicit dates, periods, entitlement flags and policy boundaries. Numeric membership or age checks can establish consistency with a supplied rule without determining legal rights or the actual contract's meaning.
Add calendar days and return discountDeadline.
When to use this tool
Use Finance: Cash Discount Deadline Date Offset when you need a financial timing or policy-record diagnostic.
How to use the tool and how it works
- Enter invoiceDate, discountDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Require a real Gregorian invoiceDate and integer discountDays 0-3650. Add calendar days and return discountDeadline.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| invoiceDate | Real Gregorian date in YYYY-MM-DD, years 0001-9999. | Required. Text. Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units. |
| discountDays | Whole calendar days to add, from zero through 3650; output must stay in years 0001-9999. | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Object containing the calculated members; expand to inspect the fields below. | Required. Object. |
| result.discountDeadline | Resulting Gregorian YYYY-MM-DD; no business-day adjustment. | Calculated result member: string. |
{
"input": {
"invoiceDate": "2024-02-28",
"discountDays": 2
},
"output": {
"result": {
"discountDeadline": "2024-03-01"
}
}
} Limitations and assumptions
- This uses calendar rather than business days, without holidays, timezone cutoffs or a determination of contractual deadline inclusion and entitlement.
- Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review the governing instrument or agreement and source records. Use the appropriate calendar, day-count and professional interpretation when actual entitlement or obligations are at issue.
References
Similar or alternative tools
- Invoice Currency Conversion Date Gap
Return invoiceDay-minus-rateDay, futureDated, and withinSuppliedAge only for a nonfuture rate within the maximum.
- Bill Latefee Grace Boundary
Compare daysLate at or above grace when inclusive, or strictly above otherwise.