A purchase invoice can be quickly imported by Drag & Drop.
Go to the Accounts Payable or Accounts Receivable menu
Drag and drop a file anywhere in the window
After import, the invoice will appear in your list of documents currently in progress.