Just not sure you want to correct it in PPI (Posted Purchase Invoice) or in VAT Entry.
Actually, this case can happen to my customers as well. So, we created another screen called “Undate Vendor Invoice No”, which pool data from VAT Entry Table and allow the users to correct that error.
However, we did in this way because our VAT reports are retrive the data from VAT entry table.