1 Test 1: General balance Check the balance: Debit sum = Credit sum 3 Test 3: Movement lines Check if movement lines are balanced and have the same date and period 0 or am.date!=ml.date or (am.date!=ml.date) """ cr.execute(sql) res = cr.dictfetchall() if res: res.insert(0,_('* The test failed for these movement lines:')) result = res ]]> 5 Test 5.1 : Payable and Receivable accountant lines of reconciled invoices Check that reconciled invoice for Sales/Purchases has reconciled entries for Payable and Receivable Accounts 6 Test 5.2 : Reconcilied invoices and Payable/Receivable accounts Check that reconciled account moves, that define Payable and Receivable accounts, are belonging to reconciled invoices 7 Test 6 : Invoices status Check that paid/reconciled invoices are not in 'Open' state 8 Test 7 : Closing balance on bank statements Check on bank statement that the Closing Balance = Starting Balance + sum of statement lines 0.000000001;") result = cr.dictfetchall() if result: result.insert(0,_('* Unbalanced bank statement that need to be checked: ')) ]]>