Description
Return invoiceDay-minus-rateDay, futureDated, and withinSuppliedAge only for a nonfuture rate within the maximum.
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.
Return invoiceDay-minus-rateDay, futureDated, and withinSuppliedAge only for a nonfuture rate within the maximum.
When to use this tool
Use Invoice Currency Conversion Date Gap when you need a financial timing or policy-record diagnostic.
How to use the tool and how it works
- Enter invoiceDay, rateDay, maxAgeDays. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read ageDays, futureDated, withinSuppliedAge. Inspect futureDated, withinSuppliedAge before interpreting the associated values.
Require nonnegative integer maxAgeDays. Return invoiceDay-minus-rateDay, futureDated, and withinSuppliedAge only for a nonfuture rate within the maximum.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| invoiceDay | Invoice Day | Required. Safe integer. |
| rateDay | Rate Day | Required. Safe integer. |
| maxAgeDays | Max Age Days | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| ageDays | Age Days | Required. Safe integer. |
| futureDated | Future Dated | Required. Boolean. |
| withinSuppliedAge | Within Supplied Age | Required. Boolean. |
{
"input": {
"invoiceDay": 100,
"rateDay": 98,
"maxAgeDays": 3
},
"output": {
"ageDays": 2,
"futureDated": false,
"withinSuppliedAge": true
}
} Limitations and assumptions
- These are numeric day coordinates, not parsed dates or business-day counts. No actual FX rate, policy approval or accounting validity is established.
- 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
- Finance: Foreigncurrency Fee Deduction Order
Deduct foreign fee before conversion or domestic fee afterward; foreign fee cannot exceed gross foreign amount.
- Inflation Index Publication Lag Label
Return publicationMonth-minus-referenceMonth and flag a future reference when the difference is negative.