Description
Return remaining principal, min(installment,remaining) and max(0,remaining-installment).
Agricultural policy budgets distinguish supplied reference prices, eligible bases, marginal rates, match shares, caps and tax assumptions. Arithmetic can reconcile a stated scenario without determining what a real program permits or what anyone is owed. Percentage numbers, fractional rates and currency-per-unit rates must remain distinct.
Return remaining principal, min(installment,remaining) and max(0,remaining-installment).
When to use this tool
Use Farm Payment Recovery Installment Balance when checking the stated caller-defined policy budget, payment or valuation convention.
How to use the tool and how it works
- Enter principal, recovered, installment. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read remaining, nextRecovery, afterNext. Use the output convention below.
Require nonnegative principal/installment and recovered within principal. Return remaining principal, min(installment,remaining) and max(0,remaining-installment).1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| principal | Principal | Required. Finite number; minimum 0. |
| recovered | Recovered | Required. Finite number; minimum 0. |
| installment | Installment | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remaining | Signed or clamped remainder under the exact convention specified above. | Required. Finite number. |
| nextRecovery | Next Recovery | Required. Finite number. |
| afterNext | After Next | Required. Finite number. |
{
"input": {
"principal": 1000,
"recovered": 700,
"installment": 200
},
"output": {
"remaining": 300,
"nextRecovery": 200,
"afterNext": 100
}
} Limitations and assumptions
- No interest, fees, collection authority or repayment agreement is inferred.
- 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
Consult current authoritative program/tax documents and qualified financial/legal professionals for actual eligibility, obligations and entitlements.
References
Similar or alternative tools
- Farm Subsidy Co Financing Local Share
Allocate cost to those fractions and the local remainder.
- Payment Cap Headroom
Count paid plus commitments only when countCommitments=true; return cap-counted amount as signed headroom.