If the invoice is wrong, it can be invalidated directly if it is in the current month; If it's cross-month, then make normal bookkeeping first, do the output tax treatment, and then re-issue the red-ink invoice next month. (Before issuing red-ink invoices, you must obtain the Notice of Issuing Red-ink VAT Invoices issued by the Inland Revenue Department.) You don't need to pay taxes again in this way.