Skip to content

Main content

Finance: Cash Discount Deadline Date Offset Tool

Resolve a calendar-day cash-discount deadline excluding the invoice day, without business-day adjustment or legal payment advice.

Loading tool…

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

  1. Enter invoiceDate, discountDays. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
invoiceDateReal Gregorian date in YYYY-MM-DD, years 0001-9999.Required. Text. Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units.
discountDaysWhole calendar days to add, from zero through 3650; output must stay in years 0001-9999.Required. Safe integer.
Output fieldInterpretationReturned shape
resultObject containing the calculated members; expand to inspect the fields below.Required. Object.
result.discountDeadlineResulting Gregorian YYYY-MM-DD; no business-day adjustment.Calculated result member: string.
json
{
  "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

  1. Calculation and input contract: finance/cash-discount-deadline-date-offset — tool.io

Similar or alternative tools