QuickBooks Online bills from PDF: what works line by line
A QuickBooks Online bill line is either a category line or an item line, and there’s no draft to park it in. What that means for turning supplier PDFs into bills, and where to put the approval.
Turning a supplier PDF into a QuickBooks Online bill looks simple until you get to the lines. Every line on a QuickBooks bill has to be one of two kinds, and once a bill is saved it’s a live payable. Both facts change how you should automate it.
Two kinds of bill line
In Intuit’s API, a bill line is either an AccountBasedExpenseLineDetail or an ItemBasedExpenseLineDetail. On screen these are the two sections of a bill: category details and item details.
Category lines carry an expense account, an amount, a description, a tax code and, where your plan has them, a class or location. Use them for anything you don’t track as a product: utilities, services, repairs, subscriptions.
Item lines carry a product or service from your list, a quantity, a unit price and an amount. Use them for stock you buy and resell, or for parts you bill on to customers. If you track inventory, item lines are what move the quantity on hand.
So the first decision for each line on a supplier PDF is which kind it is. A wholesaler’s invoice can contain both: twelve stock lines that are items and a delivery charge that’s a category. A tool that turns every line into a category line will get the total right and your stock wrong.
Mapping their line to your item
For item lines, the supplier’s description and code rarely match yours. Their “HEX BOLT M12X80 ZP” is your “HXB-M12-080”. Someone has to make that match the first time, and the automation should remember it after. When a supplier sends a code it hasn’t seen, the right move is a flag that names the closest match and asks. The wrong move is a quiet guess, because a wrong item is a wrong stock count and maybe a wrong reorder.
Units need the same care. If the supplier invoices in boxes of 100 and you stock singles, the quantity and unit price both need converting, and the line amount must still match the PDF.
There’s no draft bill
This is the part that catches people. Outside QuickBooks Online Advanced’s approval workflows (or Bill Pay Elite in the US), a saved bill is a live bill in accounts payable. There’s no draft state to park it in while someone checks it.
Xero lets an automation create a draft and a person approve it later. In QuickBooks Online, on most plans, the approving has to happen before the bill is created. In practice that means one of two setups:
- You’re on Advanced and use bill approval workflows. Intuit’s help explains how to set conditions and approvers, and bills that need approval show as tasks. An automation can create the bill and the workflow holds it until it’s approved. Check your plan and the workflow’s conditions first.
- You’re on any other plan. The automation prepares the bill on a separate review screen, shows it beside the PDF, and creates it in QuickBooks only when a person approves. The approver’s name and the time go in the log.
The second setup is what I build for most firms, because it works on every plan and keeps the check in one place.
Duplicates
QuickBooks Online has a setting, in Account and settings, Advanced, to warn when a bill number has already been used for that vendor. Intuit’s community answers note it works per vendor, not across vendors. Turn it on. Then make the automation check before it creates anything: same vendor, same bill number, same amount. A probable duplicate is a flag, never a second bill.
Purchase orders
Purchase orders in QuickBooks Online are only in Plus and Advanced, and have to be switched on in Account and settings, under Expenses. If you use them, the automation should look up open purchase orders for the vendor and check each bill line against the order line: same item, quantity no more than ordered or received, price inside the tolerance you’ve agreed. Any line that doesn’t fit gets flagged with the order number and the difference.
Tax on each line
Each line takes its own tax code. On a UK VAT company that means standard, reduced, zero, exempt or no VAT, plus any reverse charge your firm uses. The automation should read the VAT rate printed against each line, pick the matching code, and check that the VAT it calculates matches the VAT on the invoice to the penny. A difference of a few pence is often rounding on a per-line basis versus a per-invoice basis. A bigger difference is a flag.
Attach the PDF
Each bill should carry the original document. Through the API that’s an Attachable linked to the bill. Your team then opens the bill and sees the invoice it came from, which is what an auditor or your accountant will ask for.
Limits worth knowing
Intuit allows 500 requests a minute per company and 10 at a time, and says the limits may change. A firm entering a few hundred bills a month won’t come close, but an integration that reloads the whole vendor and item list on every run can. Fetch lists once and cache them.
A setup that works line by line
- PDFs land in one inbox or folder. Statements and remittances are filed, not entered.
- Each invoice is read: vendor, date, bill number, every line, VAT and total.
- Arithmetic checked: lines plus VAT equal the total.
- Duplicate check against existing bills for that vendor.
- Each line typed as category or item, mapped to your account or product, tax code set, checked against the open PO if there is one.
- Anything that doesn’t fit is flagged with the reason. Any change to bank details stops the invoice for a named person.
- A person approves the prepared bill beside the PDF.
- Only then is the bill created in QuickBooks Online, with the PDF attached and the approval logged.
Test it before you trust it
Take 20 of your own supplier PDFs, weighted towards the ones that take longest. Agree in writing which fields must be right, score header fields and lines separately, and count the errors that weren’t flagged on their own. Those are the ones that reach your books unseen.
The free check runs 10 of your own supplier invoices into draft entries with you on a 20-minute call, so you see each line typed, coded and flagged. It’s free for three firms. See the free check, or start with the 12 checks before you automate your purchase ledger.
Sources
- Intuit Developer, QuickBooks Online Accounting API, Bill entity: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/bill
- Intuit Developer, Attachable entity: https://developer.intuit.com/app/developer/qbo/docs/api/accounting/all-entities/attachable
- Intuit Developer, “API call limits and throttles”: https://developer.intuit.com/app/developer/qbo/docs/learn/limits-and-throttles
- QuickBooks help, “Set up and use bill approval and payment release workflows”: https://quickbooks.intuit.com/learn-support/en-us/help-article/manage-workflows/set-use-bill-approval-payment-release-workflows/L1IOLL9hv_US_en_US
- QuickBooks help, “Create and send purchase orders in QuickBooks Online” (Plus and Advanced only): https://quickbooks.intuit.com/learn-support/en-uk/help-article/purchase-orders/create-send-purchase-orders-quickbooks-online/L2mVpjOoq_GB_en_GB
- QuickBooks Community, duplicate bill number warning (per vendor): https://quickbooks.intuit.com/learn-support/en-us/reports-and-accounting/how-do-i-set-the-bill-no-to-tell-me-this-number-has-already-been/00/656333
General guidance, not tax or accounting advice. Plan features vary by country and change; checked on 28 November 2026.