Two situations, one principle
A newly licensed company starts with a near-empty balance sheet: share capital, perhaps a founder loan, the bank balance and any deposits or setup costs. A company migrating from another system starts with a full trial balance at a cut-off date, including receivables, payables, stock, fixed assets and VAT balances.
The principle is the same in both cases. Pick a single cut-off date, ideally the first day of a month and of a VAT period. Every balance is stated as at the close of the previous day. Debits must equal credits. If they do not, do not post a balancing figure to a suspense account and forget it; find the gap.