Why can't I edit balance due, paid amount, or stock on hand?

These are calculated automatically and never edited directly.

Short answer

Fields like balance due, applied amounts, and on-hand quantity are derived from underlying transactions, not entered by hand. Record the underlying event (a payment, a stock movement) and the calculated field updates itself, which guarantees it always ties out.

See also