How to Automate Invoice Processing with an Email Parser
Build an invoice email workflow one supplier at a time: upload a sample, confirm fields, test forwarding, review exceptions and export checked data.

Quick Answer: Start with one invoice attachment, confirm the fields, and check the result. Save the setup as a workflow, enable email attachment processing, and test a forwarded message. Add automatic forwarding only after the test works. Keep a person responsible for missing documents, duplicate invoices and anything that needs approval.
Automated invoice processing is easier to understand when you begin with one supplier. You know what its invoices look like, which information matters and who should review the result. Once that small process works, you can decide what to add next.
This tutorial covers capture and extraction. It doesn't turn an extracted invoice into an approved payment. Your normal approval, supplier and payment checks still apply.
What this setup should produce
The first goal is a reviewed invoice record with the supplier, invoice number, date, currency and amount. You may also need tax, due date and purchase order reference. Choose these before connecting more messages.
Use a fictional invoice or a document you're allowed to process. The sample in this tutorial is INV-2026-2087 from Harbor Office Supplies. Its total is USD 1,170.00, including USD 20.00 shipping. It is a teaching example, not a real bill.
Write down who will check the output. A process can extract every field correctly and still leave you with unpaid bills if nobody owns the next step.
Where this fits in the invoice process
Invoice processing has several steps. This UpParser setup handles receiving forwarded documents and extracting fields. The remaining checks stay with your team or the systems you already use.
| Step | What happens | Who does it |
|---|---|---|
| 1. Receive | The invoice email arrives | The email parser setup (forwarding) |
| 2. Extract | The fields are read from the invoice | The email parser setup |
| 3. Check | A person compares the result with the invoice | You |
| 4. Match | The invoice is compared with the purchase order or delivery, if you use them | You or your accounting system |
| 5. Approve | The right person says the bill is correct | You |
| 6. Pay | The bill is scheduled and paid | You or your payment system |
| 7. Record | The bill is saved in your books, and the invoice file is filed | You or your accounting system |
Some tools claim a fully hands-off process. In practice, steps 3 to 6 still need people or rules you set up, especially for new suppliers, large amounts and changed bank details.
Step 1: Open the invoice parser
Open the UpParser Invoice Parser and select Choose a file. Use a saved invoice attachment for the first test. Sign in when asked.

Start here before setting up email intake. A file test is easier to check because you can separate extraction problems from forwarding problems.
If the source is an image, open it first and make sure the invoice number and total are readable. Automation can't recover information that isn't visible in the document.
Step 2: Upload one representative invoice
Pick an invoice that looks like the ones you usually receive. Don't choose the cleanest file in your archive if most of your daily work involves scans or long product tables.
For now, upload only the invoice. Leave the supplier's brochure and terms sheet out. You'll test extra attachments later, once you understand the basic result.
Keep a short note of the filename and expected invoice number. That gives you a simple way to confirm that the displayed result belongs to the correct document.
Step 3: Confirm the fields you need
Review the suggested fields after uploading. Fields are the pieces of information that become your spreadsheet columns. Remove anything you don't need and add anything essential to your process.
For a small invoice processing automation test, start with supplier, invoice number, invoice date, due date, currency and total. Add purchase order reference if your team uses it when matching a bill to an order.
Don't use one field called “reference” for every number on the page. In our example, INV-2026-2087 is the invoice number and PO-2026-1042 is the purchase order reference. Keeping them separate prevents a common checking problem.
An optional instruction could say: “Use the date printed on the invoice. Keep purchase order number separate from invoice number. Leave values blank when they aren't shown.”
Step 4: Check the first extraction
Run extraction and compare the result with the source. Read the invoice number, supplier and total before looking at less important fields. Then check the date and currency.
For the fictional sample, subtotal 1,150.00 plus shipping 20.00 equals total 1,170.00. Tax is zero. These are expected source values, not a claim about tested extraction results.
If the output uses the email date, an old quoted amount or the purchase order total, correct the field instructions and test again. Save a setup only after its fields mean what you need them to mean.
The screenshot below is UpParser's public demonstration with a different fictional invoice. It illustrates reviewing fields against the source; it is not a new test result for INV-2026-2087.

Step 5: Save a workflow
Save the confirmed setup for reuse. A workflow keeps the extraction instructions and fields together so you don't have to define the same columns for every new invoice.
Choose a useful name. “Harbor supplier invoices” is easier to recognize than “Test 3.” If several people work in the account, the name should make sense to the next person too.
Before moving on, run a second invoice through the same setup. Choose a second invoice that already has a different invoice number and amount; don't alter a real invoice to create a test. Check that the result follows the new document rather than repeating values from the first example.
Step 6: Enable email attachment processing
Open the saved workflow's email intake settings. Use the receiving address supplied for that workflow and enable processing for invoice attachments. Choose body processing too only when the body contains information you actually need.
UpParser's Email Parser documentation describes forwarding as the intake method. This doesn't give the tool direct access to monitor an IMAP, POP3 or Exchange inbox.
Keep the receiving address private to the people who need it. Use the address from your own workflow; don't copy a sample address from an article or screenshot.
Which emails should you forward?
Forward only invoice emails. Your mailbox also holds contracts, personal messages and passwords that should never leave it. A few simple rules help:
- Pick the senders. Start with one known supplier.
- Pick the subject. Look for words such as "invoice" in the subject, and test them on your own emails.
- Use a shared invoices mailbox, if your company has one. Then your team does not have to forward from personal inboxes.
- Leave out unrelated messages. Exclude statements, quotes and marketing without an invoice. A reminder may contain a copy of an earlier invoice, so check it for duplicates.
Step 7: Forward one test message
Forward an email containing the sample invoice to the workflow's receiving address. Send a single test first. Don't enable a broad rule that forwards your whole mailbox.
Check that the intended document appears and that its result uses the fields you saved. Count the relevant attachments, not just messages. One email can contain two invoices, while another contains none.
If the message doesn't produce the expected document, check the destination address and attachment settings. An invoice link in a message isn't the same as an attached invoice file.
One invoice, one record
If an email has three different invoice attachments, your working data should identify three invoices, each with its own invoice number and total. An invoice may also have several line-item rows. Check that the totals were not added together, and that none were skipped.
What if the email has no attachment?
First check whether the invoice details are in the email body or available through the supplier's download link. If you still need a missing invoice file, write back and ask. A short message is enough:
"Hello, we received your email about invoice [number], but the invoice file was not attached. Could you please send it as a PDF? Thank you."
Record it on your exceptions list until the file arrives.
Step 8: Add a narrow forwarding rule
Once the manual forward works, arrange automatic forwarding for the messages you intend to process. A filter based on a known supplier and invoice-related subject can be a starting point, but test it against your own messages.
Gmail requires verification of a new forwarding destination. Follow Google's current forwarding instructions, including verification and any account restrictions. This guide doesn't assume the receiving service can complete that step automatically.
Keep the original email available while testing. You need a source to compare when a supplier sends a correction or somebody asks where a number came from.
If automatic forwarding is blocked
Some company email systems block automatic forwarding to addresses outside the company. If your rule does not work, ask the person who manages your email what is allowed. They may be able to approve one rule for invoices, or suggest another way. Do not look for ways around a security setting.
Keep it safe
An automatic forwarding rule sends a copy of every matching email outside your mailbox. Keep these habits:
- Limit the rule to specific suppliers and invoice words.
- Keep the receiving address private.
- Check the rule once a month to make sure it still forwards only what you meant.
- Remove or change the rule when the person who set it up leaves.
- Ask where the data is stored and how to delete it.
- Do not use the setup for emails with passwords or personal messages.
Step 9: Review and download the results
Assign a person to review new results and handle exceptions. Check missing invoice numbers, unusual currencies, changed payment details and amounts that don't agree with the source.
Download Excel or CSV when the data is ready for the next task. An exported file isn't automatically ready for every accounting system. Follow that system's own import format and approval process.
The manual versus automated data entry guide can help you compare the time spent reviewing with the time previously spent copying values.
Before you import into your accounting system
Run through this list first:
- Do the column names match what the system asks for?
- Are dates in the format the system expects?
- Are amounts numbers, with the right signs and decimals?
- Does each supplier name match the supplier already in your system?
- Is the currency correct?
- Are there duplicate rows?
- Is each invoice one row (or one set of line rows), with the total in the right place?
If your accounting system supports importing supplier bills, follow its own sample file and instructions. Test one invoice first. A general export is not automatically a native import template or a direct sync.
Test the cases that cause extra work
Try a duplicate invoice, a corrected invoice and a message with an extra non-invoice attachment. Record what happened in each case. Don't assume the workflow automatically knows which version your team should pay.
Use supplier plus invoice number as a starting point for duplicate review. Check amounts and revision notes too. A supplier's credit note or replacement invoice may need different handling from an accidental resend.
Then try a scan and an invoice with several pages. Check whether the fields still identify the invoice itself and whether the product table includes its final page.
An Example Four-Week Rollout
You don't need to switch everything at once. This is an example schedule, not a required timeline. Move at your own pace and keep testing when a step needs more work.
| Week | What to do | Move on when |
|---|---|---|
| 1 | One supplier. Upload by hand. Check every field | The fields are right and you understand the results |
| 2 | Forward test emails from that supplier. Add a narrow rule | The right documents are processed, and nothing else |
| 3 | Add two or three more suppliers. Start the exceptions list | The exceptions list is short, and each item has an owner |
| 4 | Review the numbers below and decide what to add next | You trust the process, and the team knows who does what |
Check that it is working
Track a few simple numbers each week:
| What to track | Why |
|---|---|
| Invoices received and invoices processed | Shows if any were missed |
| Share that needed a fix | Shows how well the setup fits your suppliers |
| Minutes to review and fix each invoice | Compare with your old way of typing them in |
| Duplicates found and missed in the test set | Shows where duplicate checks still need work |
| Exceptions still open, and how old they are | Shows if anything is stuck |
If you are unsure whether the effort pays off, compare the time per invoice before and after. Use your own numbers. Figures you read on vendor websites are not a guide to your invoices.
Keep the automated invoice processing system manageable
Start with one owner and one place to collect exceptions. A short review list can show the invoice number, problem, person responsible and next action. It doesn't need to become another complicated project.
Here is a separate fictional exceptions list. These rows are examples of issues a team might track, not results from the earlier sample:
| Invoice | Problem | Owner | Next action | Status |
|---|---|---|---|---|
| INV-2026-2099 | Total does not match the lines | Anna | Ask supplier for a corrected copy | Open |
| INV-2026-2101 | No attachment | Ben | Reply to supplier | Waiting |
Name a backup person for when the owner is away. Agree on an internal follow-up target, such as reviewing each open exception within three working days. Resolving it may depend on the supplier.
Review the setup when a supplier changes its layout or when your team changes the columns it needs. Keep a small set of sample invoices so you can check an edited workflow before using it widely.
For larger team handoffs, continue with the automated invoice processing guide. Adding more messages should follow a working review process, rather than replacing one.
FAQ
Does an email parser approve invoices?
Extraction and approval are separate tasks. The parser can collect fields, but your team still needs to decide whether a bill is valid and approved.
Should I process the email body too?
Only when it contains useful information. A greeting or long quoted thread may add noise when the invoice attachment already contains everything you need.
Can I start without automatic forwarding?
Yes. Upload attachments or forward a few messages manually while checking your fields. This makes the first test easier to understand.
Which steps does this email parser setup automate?
This setup automates receiving forwarded invoices and extracting fields. Checking, matching, approval, payment and recording remain in your team's existing process.
What should I forward to the parser?
Only invoice emails, starting with one supplier. Do not forward your whole mailbox.
What if my company blocks automatic forwarding?
Ask the person who manages your email what is allowed. They may be able to approve one rule, or suggest another route.
What if an email has several invoices?
Each invoice should become its own record, with its own number and total. Check that none were combined or skipped.
What if the supplier forgot the attachment?
Reply and ask for the invoice as a PDF. Keep it on your exceptions list until it arrives.
How do I know it is working?
Track invoices received and processed, the share that needed a fix, review time, duplicates caught and open exceptions. Compare with how you worked before.
Can I send the results straight into my accounting system?
Export Excel or CSV, then check whether your accounting system supports supplier-bill import in your plan and region. Follow its required format and test one invoice. You may need to prepare the file or enter the bill manually; this tutorial does not provide a direct sync.
About the Author
Dylan Dan is the founder of UpParser and the team behind it. He led the team in developing all of the website's data extraction workflows and is a data extraction and processing expert with years of experience. He writes UpParser guides on extracting, organizing, and checking data from invoices, bank statements, receipts, and other documents. His published guides cover invoice processing, spreadsheet preparation, and invoice OCR error checks.