Skip to content

Main content

Farm Customer Prepaid Balance

Update one supplied farm customer prepaid balance with explicit credit additions and charges, preserving overdrafts.

Loading tool…

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

  1. Enter openingCredit, addedCredit, chargedAmount. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read remainingCredit. Use the output convention below.

Require opening, added and charged amounts>=0; return opening+added-charged.1

Input fieldMeaning and unitsAccepted input
openingCreditOpening CreditRequired. Finite number; minimum 0.
addedCreditAdded CreditRequired. Finite number; minimum 0.
chargedAmountCharged AmountRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
remainingCreditRemaining CreditRequired. Finite number.
json
{
  "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

  1. Calculation and input contract: agribusiness/farm-customer-prepaid-balance — tool.io

Similar or alternative tools