What happens to my pre-existing data if I delete or update my chart of accounts/GL codes?

Any invoices reconciled or processed will retain their original GL code, if new GL codes are added or deleted.

Check out this article Adding an Account Code/GL code for more information.