ERROR
An attempt has been made to enter a null value into a column that requires data. Please correct to ensure that only valid values are entered for the column.
SOLUTION
Please Validate the receipt class definition in bank account tab bank charge account is defined properly.
Step 1. Navigate to Responsibility: Receivables Manager
Step 2. Navigation to: Setup > Receipts > Classes
Step 3. Query Receipt Class used in Receipt creation
Step 4. Check for the Payment Method
Step 5. Go to Bank Accounts > Account should be defined for bank charges