If you need to edit an invoice that has already been archived, you'll first have to make sure the following user role is enabled:
> Settings
> Users
> Click on a user and go to Archive > Edit archived supplier document details
Now you can go to your Archive
Click on the invoice you want to edit, then click on Edit properties
If the imported file was a UBL, you'll only be able to edit the supplier. If the imported file was a PDF, you'll be able to edit all of the invoice's data. Once the necessary changes were made, click Save.
Note:
you can only edit accounts payable. Accounts receivable can't be edited.