After you release a correction invoice, the customer balance in Customer details (AR402000) is now correct. Previously, the balance from the customer history did not match the balance by documents, because the credit memo created by the correction was counted twice.