This record shows up when we refund enough transactions that it takes
the data out of our deposit account, and not just out of other settled
transactions. Turns out this is the first time it's happend, but the
handling is straight forward.
elif t == 'MerchantPayout':
# Amount directly into our checking account
acctrows.append((settings.ACCOUNTING_ADYEN_PAYOUT_ACCOUNT, accstr, -amount, None))
- elif t == 'DepositCorrection':
+ elif t == 'DepositCorrection' or t == 'Balancetransfer':
# Modification of our deposit account - in either direction!
acctrows.append((settings.ACCOUNTING_ADYEN_MERCHANT_ACCOUNT, accstr, -amount, None))
elif t == 'InvoiceDeduction':