Skip to main content

Import an invoice by email

Vendor invoices usually arrive by email. Instead of downloading each PDF and uploading it in the DoiT console, you can forward the email to an address that belongs to your organization, or ask the vendor to send invoices there. Each attached PDF goes through the same steps as Import a PDF invoice: DoiT reads the invoice, picks or creates a DataHub dataset, and adds the cost.

Required permission​

  • Anyone who can open General settings can see and copy the address.
  • DataHub Admin, to reset the address, turn email import off or on, and review invoices that weren't imported automatically.

Your organization must also be entitled to DataHub. There is no setup step: the address exists for every entitled organization.

Find your address​

  1. Sign in to the DoiT console.

  2. Select the gear icon in the top navigation bar, and then select General settings.

  3. Under Import invoices by email, copy the address. It looks like [email protected].

Caution

Anyone who has the address can send invoices to it. Share it only with people and vendors who should. If it reaches someone it shouldn't, reset it.

Send an invoice​

  • Attach the PDF to a new email, or forward the email the invoice arrived in. Forwarding with the attachments and forwarding the original message as an attachment both work.
  • You can attach up to 5 PDFs to one email. Each PDF is imported as a separate invoice.
  • Each PDF must be up to 4.5 MB and 20 pages, and must not be password-protected.
  • DoiT reads only the attached PDFs. The subject, the message text, and other attachments are ignored.

What happens to the invoice​

It depends on who sent the email.

SenderResult
A DataHub Admin of your organization, sending from their own work addressThe invoice is imported automatically and attributed to that user.
Anyone else, such as a vendor, a shared mailbox, or a colleague without the DataHub Admin permissionThe invoice is read and waits for review. Nothing is added to DataHub until a DataHub Admin opens it and selects Import invoice.

DoiT treats an email as coming from a DataHub Admin only when the receiving mail service confirms that the sender's domain really sent it. An email that only claims to be from an admin waits for review and is marked as an unverified sender.

An automatically imported invoice goes through the same checks as an import through the API. If the lines don't add up to the invoice total, no exchange rate exists, a key value was read with low confidence, or a line amount is far above the invoice total, nothing is written and the invoice waits for review. See When an invoice can't be imported.

See the result​

DoiT doesn't reply to the email. To see what happened:

  • Invoice imports on the DataHub page lists every emailed invoice. The Uploaded by column shows the sender's address with Email below it, or Email, unverified sender. Select its file name to review it. Invoices from senders other than a DataHub Admin have the status In review until someone imports or cancels them.
  • Last email received under the address in General settings shows when the most recent email arrived and what happened to it. This is where you see emails that didn't produce an import, for example because no PDF was attached.
Last email receivedMeaning
invoice receivedThe PDF was accepted and appears in Invoice imports.
no PDF attachedThe email had no PDF attachment.
file too large (limit 4.5 MB)A PDF was larger than 4.5 MB. Other PDFs in the same email were still processed.
more than 5 PDFs attached, the first 5 were processedSend the remaining PDFs in another email.
already receivedThe same file was emailed in the last few days.
invoice already imported or in progressThe same file was already imported, or is being imported.
daily limit reachedToday's limit of emailed invoices was reached. Send the invoice again tomorrow, or upload it in the console.
file isn't a valid PDFThe attachment has a PDF name or type but isn't a PDF.

Duplicate invoices​

The rules in Duplicate invoices apply. An identical file is not read again. An invoice with the same vendor and invoice number as an earlier import is not imported automatically; a DataHub Admin can open it from Invoice imports and choose Overwrite existing data. An emailed invoice never overwrites an earlier import on its own.

Reset the address or turn email import off​

Only a DataHub Admin can do this, in General settings under Import invoices by email.

  • Reset address creates a new address. The old address stops working immediately, so update it wherever you forward invoices from and tell vendors who use it.
  • The Email import switch turns the address off. Emails sent while it is off are discarded. Turning it back on restores the same address.

Limits​

LimitValue
PDFs per email5
PDF size4.5 MB and 20 pages each
Email size30 MB
Emailed invoices per day20, counted within the 50 invoices per day allowed in total