Lockbox BAI2 record type '4', credit memo and deduction formats.
The format is incorrect when the bank send the credit memo amount in the deduction amount field. The credit memo amount should be presented in the same manner as the invoice payment amount. The deduction amount field is immediately to the right of the invoice payment amount field. When the credit memo amount is presented incorrectly in the field specified for deduction instead of payment, the result would be that the amount is twice the original amount instead of balance to zero. This is because there are separate logics for payments/credits and deductions.