Updating debtors balances

good day i am trying to update the debtors(customers)
opening balances getting them from the old erpnext system to the new one. please help.

Perhaps this could be good start: Opening Invoices Creation Tool

and you can refer to this as well: Opening Balance in Accounts