The reclassification account was used to distribute the amounts and accounts used in the credit memo and the invoice. The distribution is using different funds with different required to balance properties. To avoid this, create separate invoices with credit memo applications using the same fund so this functionality does not need to come into play.