Turn emailed vendor invoices into QuickBooks bills (n8n)
Watch an AP inbox, pull the fields out of PDF invoices with AI, and create a bill in QuickBooks Online for review.
n8nAccounts payableIntermediateHuman check: Highn8n: Gmail, QuickBooks Online, OpenAI
~3-5 hrs/month (estimate)
Intermediate
Steps
- Add a Gmail Trigger node on a dedicated label (e.g.
AP/Inbox) with 'Download Attachments' on. - Use an IF node to keep only items with a PDF attachment.
- Add Extract From File (operation: Extract From PDF) to turn the PDF into text.
- Send the text to the OpenAI node (Message a Model) and ask for JSON: vendor, invoice number, date, due date, total, line items.
- Look up the vendor with QuickBooks Online → Vendor → Get All (filter by name). Route to a 'new vendor' branch if nothing matches.
- Create the bill with QuickBooks Online → Bill → Create, mapping the AI fields.
- Move the email to an
AP/Processedlabel so it isn't picked up twice.
Keep a human check here: High risk
Node and module names match n8n's docs as of Oct 2026. Apps rename triggers and actions sometimes, so check yours in the editor. Try it with test data or a sandbox company first.
Build it
Try n8n. We may earn a commission if you sign up, at no cost to you. Disclosure
Related recipes
Send supplier invoices to Xero as draft bills (Make)
Watch an Outlook folder, extract invoice data with AI, and create a draft bill in Xero.
MakeAccounts payableIntermediateHuman check: HighSaves ~3-5 hrs/month
Post new BILL invoices to Slack for approval (Zapier)
Get a Slack message with the vendor, amount, and due date each time a bill lands in BILL.
ZapierAccounts payableBeginnerHuman check: LowSaves ~1-2 hrs/month
Flag possible duplicate vendor invoices (n8n)
Once a week, scan recent bills for the same vendor and amount, or the same invoice number, and email a list of suspects.
n8nAccounts payableIntermediateHuman check: MediumSaves ~1-2 hrs/month
One new finance automation recipe every week
Free. Tested workflows for QuickBooks, Xero, BILL, and more.
We'll ask you to confirm your email. Unsubscribe anytime.