Earlier, there was an error when copying and pasting a purchase invoice with the setting Raise an error on duplicate supplier reference number in the Purchase invoices (AP301000) window. This has now been fixed and you will get a warning when you paste and and an error on saving if you do not change the supplier reference.