Description
Update supplied prepaid customer credit.
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.
Update supplied prepaid customer credit.
When to use this tool
Use Farm Customer Prepaid Balance when you already have openingCredit, addedCredit, chargedAmount and need to update supplied prepaid customer credit.
How to use the tool and how it works
- Enter openingCredit, addedCredit, chargedAmount. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read remainingCredit. Use the output convention below.
Require opening, added and charged amounts>=0; return opening+added-charged.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| openingCredit | Opening Credit | Required. Finite number; minimum 0. |
| addedCredit | Added Credit | Required. Finite number; minimum 0. |
| chargedAmount | Charged Amount | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| remainingCredit | Remaining Credit | Required. Finite number. |
{
"input": {
"openingCredit": 100,
"addedCredit": 50,
"chargedAmount": 80
},
"output": {
"remainingCredit": 70
}
} Limitations and assumptions
- Negative balances are retained. No funds, transaction, customer identity, entitlement or actual payment status 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 Market Sale Split Payment
Calculate supplied cash share and noncash remainder of a sale.
- Farm Product Return Credit
Calculate supplied product-return gross and net credit.