This error is caused by the default document type not being set against the supplier in question. To resolve this, you will need to do the following:
Navigate to Suppliers
Find the affected supplier and press the green pencil button to edit
Under Supplier Rules, set the Default Document Type to Purchase Ledger Entry
Press Update
Once done, if you send the invoice back to Processing, you can then re-process it through and export it.
