Problem:
This document is a discount, partial or final invoice
Solution:
These invoices can only be processed if a complete calculation of the totals is present (net amount, tax rate, tax amount, gross amount).
The outstanding balance still exists and is clearly marked as the sum to be paid.