Description
Calculate supplied cash share and noncash remainder of a sale.
Agribusiness accounts distinguish packages, deposits, commissions, fixed fees, moisture-normalized mass and signed credits. Minimum charges can apply at zero use, while a return-credit fee can exceed gross credit. Supplied contract terms and unit definitions do not verify transactions or legal entitlement.
Calculate supplied cash share and noncash remainder of a sale.
When to use this tool
Use Farm Market Sale Split Payment when you already have cashPayment, totalSale and need to calculate supplied cash share and noncash remainder of a sale.
How to use the tool and how it works
- Enter cashPayment, totalSale. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read fraction, remainder. Use the output convention below.
Require totalSale>0 and cashPayment in [0,total]; return cash/total and total-cash.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| cashPayment | Cash Payment | Required. Finite number; minimum 0. |
| totalSale | Total Sale | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fraction | Fraction | Required. Finite number. |
| remainder | Remainder | Required. Finite number. |
{
"input": {
"cashPayment": 30,
"totalSale": 120
},
"output": {
"fraction": 0.25,
"remainder": 90
}
} Limitations and assumptions
- The remainder does not identify any particular payment method. No transaction, settlement, accounting treatment or legal requirement is verified.
- 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
Check original orders, invoices, weighing records and agreements. Use complete contractual, accounting and appropriate financial assessment when local package counts, settlement balances or price adjustments cannot establish an actual obligation.
References
Similar or alternative tools
- Farm Customer Prepaid Balance
Update supplied prepaid customer credit.
- Produce Order Returnable Package Deposit
Calculate supplied charged, returned and outstanding package deposits.