Description
Count paid plus commitments only when countCommitments=true; return cap-counted amount as signed headroom.
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.
Count paid plus commitments only when countCommitments=true; return cap-counted amount as signed headroom.
When to use this tool
Use Payment Cap Headroom when checking the stated caller-defined policy budget, payment or valuation convention.
How to use the tool and how it works
- Enter suppliedCap, paid, committed, countCommitments. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read countedPayment, headroom. Use the output convention below.
Require nonnegative supplied cap, paid and committed amounts. Count paid plus commitments only when countCommitments=true; return cap-counted amount as signed headroom.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| suppliedCap | Supplied Cap | Required. Finite number; minimum 0. |
| paid | Paid | Required. Finite number; minimum 0. |
| committed | Committed | Required. Finite number; minimum 0. |
| countCommitments | Count Commitments | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| countedPayment | Counted Payment | Required. Finite number. |
| headroom | Supplied cap minus counted payment; negative balances are retained. | Required. Finite number. |
{
"input": {
"suppliedCap": 100,
"paid": 60,
"committed": 20,
"countCommitments": true
},
"output": {
"countedPayment": 80,
"headroom": 20
}
} Limitations and assumptions
- Negative headroom is retained; the counting policy and cap are supplied rather than legal or accounting determinations.
- 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 Payment Recovery Installment Balance
Return remaining principal, min(installment,remaining) and max(0,remaining-installment).
- Rural Grant Match Fund Headroom Term
Compute requiredMatch=cost*fraction, signed headroom=available-required and fundingGap=max(0,-headroom).