If a document is linked to an invoice, it will show an "Invoice" tag. You cannot delete tagged documents from Files. Instead, go to Get Paid > To be Requested to edit the invoice and remove the attachment. Once the document is untagged, you can delete it from Files.

Note: You must be a Fincent user on the Starting, Growing, or Thriving plan to access "Files."