Skip to content

Main content

Aid Grant Exchange Rate Date Flag Tool

Calculate aid grant exchange rate date flag from explicit caller-supplied inputs.

Loading tool…

Description

Subtract rateDay from grantDay for lagDays.

Trade-finance arithmetic combines supplied fees, exchange factors, timing windows, and reporting bases. A local consistency result does not establish document compliance, contract rights, or bank acceptance.

Subtract rateDay from grantDay for lagDays.

When to use this tool

Use Aid Grant Exchange Rate Date Flag when you need one transparent cross-border cost or timing component.

How to use the tool and how it works

  1. Enter grantDay, rateDay, allowedLag. 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 lagDays, acceptableUnderLag. Inspect acceptableUnderLag before interpreting the associated values.

Subtract rateDay from grantDay for lagDays. Mark acceptableUnderLag only for a nonfuture rate date within allowedLag.1

Input fieldMeaning and unitsAccepted input
grantDayGrant DayRequired. Safe integer.
rateDayRate DayRequired. Safe integer.
allowedLagAllowed LagRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
lagDaysLag DaysRequired. Safe integer.
acceptableUnderLagAcceptable Under LagRequired. Boolean.
json
{
  "input": {
    "grantDay": 100,
    "rateDay": 98,
    "allowedLag": 3
  },
  "output": {
    "lagDays": 2,
    "acceptableUnderLag": true
  }
}

Limitations and assumptions

  • The lag limit is caller supplied; no exchange rate is fetched or approved for accounting or grant compliance.
  • 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 complete transaction, contract, bank terms, and applicable accounting policies before acting on a partial calculation.

References

  1. Calculation and input contract: international-relations/aid-grant-exchange-rate-date-flag — tool.io

Similar or alternative tools