To fix a duplicate invoice entry in GSTR-1, you must use the Amendment to B2B Invoices (Table 9A) in a subsequent return to correct or nullify the duplicate entry. Because a demand has already been raised, you must also submit a formal reply to the tax department's notice with a reconciliation statement to prove the error was purely clerical, which will help avoid penalties.