On Invoice edit Amount Due is displayed correctly with added Write Off.
To check this, the user needs to do the next steps:
- Create SO, add some Items -> Save and Process;
- Reopen SO, check Items -> Create Invoice -> Save and Approve;
- Open Payments list, select Customer, find created Invoice -> Add some Payment and Write Off;
- Open Invoice and look to the Order Totals.