To edit a beginning balance in QuickBooks Online, navigate to the Chart of Accounts, find the specific bank or credit card account, and select View register. Locate the initial entry labeled \"Opening Balance,\" click it, and update the amount to match your bank statement. Save the changes to ensure accurate reconciliation.