Description
Variable fee=max(minimum,saleValue*rate); add fixed fee and subtract total from sale value for proceeds.
Agribusiness records use explicit price bases, commissions, returns, minimum charges, credits and tax assumptions. A supplied arithmetic rule can reconcile a scenario while actual acceptance, contractual rights and legal liability require the governing agreement. Signed residual balances can be useful evidence of overpayment or inconsistent inputs.
Variable fee=max(minimum,saleValue*rate); add fixed fee and subtract total from sale value for proceeds.
When to use this tool
Use Farm Auction Vendor Fee Floor when checking the stated caller-defined price, fee, return or settlement convention.
How to use the tool and how it works
- Enter saleValue, rate, minimumFee, fixedFee. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read variableFee, totalFee, netProceeds. Use the output convention below.
Require nonnegative sale value, rate and minimum/fixed fees. Variable fee=max(minimum,saleValue*rate); add fixed fee and subtract total from sale value for proceeds.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| saleValue | Sale Value | Required. Finite number; minimum 0. |
| rate | Caller-supplied rate on the currency, quantity and time basis specified above. | Required. Finite number; minimum 0. |
| minimumFee | Minimum Fee | Required. Finite number; minimum 0. |
| fixedFee | Fixed Fee | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| variableFee | Variable Fee | Required. Finite number. |
| totalFee | Total Fee | Required. Finite number. |
| netProceeds | Net Proceeds | Required. Finite number. |
{
"input": {
"saleValue": 1000,
"rate": 0.02,
"minimumFee": 30,
"fixedFee": 5
},
"output": {
"variableFee": 30,
"totalFee": 35,
"netProceeds": 965
}
} Limitations and assumptions
- Minimum fee can apply to zero sales and produce negative proceeds; actual auction rules or tax treatment are not determined.
- 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
Inspect original transaction records and applicable contracts/tax rules with the responsible financial/legal professionals for actual settlement or enforcement.
References
Similar or alternative tools
- Harvest Contractor Minimum Callout Gap
Supplement=max(0,minimum-workCharge); total=max(minimum,workCharge)+travelCharge.
- Agriculture Service Standby Hour Charge
Billable standby=max(0,standby-free); multiply by standby rate and add workHours*workRate for total.