To elaborate,
Correct the entry in Books as per GSTR 1 information (incorrect information submitted).
Additionally, in subsequent return period,
In GSTR 1, include the difference amount as credit note, so that, both Sales and Credit note transaction will be correct
Now, correct your net amount in GSTR 3B of subsequent period