Connect QuickBooks Online to n8n: invoices without retyping

Updated

Short answer: n8n has a built-in QuickBooks Online node that can create customers, invoices and estimates, and email invoices from QuickBooks. You connect it through your own Intuit developer app with OAuth2, test in a sandbox company first, keep a person approving before anything reaches a customer, and check for an existing record before every create. Set it up that way and an approved quote becomes a sent invoice without anyone typing it twice.

This guide is for the owner, office manager or bookkeeper who copies each approved quote into QuickBooks by hand. Every copy is a chance for a wrong amount or a missing invoice. If you are still choosing between n8n and Zapier, read n8n vs Zapier for a small business first. Here we assume you've picked n8n, or want to know what it takes.

What the n8n QuickBooks node can and can't do

According to n8n's documentation, the QuickBooks Online node supports these resources and operations:

ResourceOperations
BillCreate, Delete, Get, Get All, Update
CustomerCreate, Get, Get All, Update
EmployeeCreate, Get, Get All, Update
EstimateCreate, Delete, Get, Get All, Send, Update
InvoiceCreate, Delete, Get, Get All, Send, Update, Void
ItemGet, Get All
PaymentCreate, Delete, Get, Get All, Send, Update, Void
PurchaseGet, Get All
TransactionGet Report
VendorCreate, Get, Get All, Update

That covers the common invoicing path: find or create the customer, create the invoice, send it, record the payment. "Get All" also takes a filter written in QuickBooks' query language, for example a WHERE clause on the customer's display name, so you can search before you create.

The gaps matter just as much:

  • No trigger. There is no QuickBooks trigger node, so nothing in n8n fires on its own when an invoice is paid. Run a scheduled workflow that searches for records changed since the last run, or have Intuit send webhooks to an n8n Webhook node.
  • Items are read-only. The node can't create products or services. Your bookkeeper sets them up in QuickBooks, which is usually where they belong anyway.
  • Some records aren't covered. Sales receipts, credit memos, journal entries and attachments have no node operations.

For anything on that list, n8n's docs point to the HTTP Request node. You pick the same QuickBooks credential under Predefined Credential Type and call the QuickBooks API directly, so you don't create a second login.

Connect it: your Intuit developer app, sandbox first

n8n connects to QuickBooks through OAuth2, and it needs an app registered with Intuit. That app is yours. It holds the keys that let n8n into your books, so the business should own it (more on that in the security section).

  1. Create an Intuit developer account at developer.intuit.com, signed in with an email the business controls.
  2. Create an app for QuickBooks Online and choose the accounting scope (com.intuit.quickbooks.accounting). That's the only scope n8n's QuickBooks credential asks for.
  3. Start a QuickBooks credential in n8n. n8n shows an OAuth Redirect URL. Add it to the app's redirect URIs in Intuit's developer portal. Intuit only redirects to addresses that start with https and doesn't allow IP addresses, so a self-hosted n8n needs a proper domain with a certificate.
  4. Copy the development keys. In the app, open Keys and credentials, choose Development and copy the Client ID and Client Secret into n8n. Paste them straight into the credential form. They don't belong in an email or a chat.
  5. Set Environment to Sandbox and connect. You'll be sent to Intuit to approve access for the sandbox company.

n8n's own docs recommend starting with Sandbox for a new app. Intuit's sandbox company comes with sample data, so you can create test customers and invoices without touching real books.

When the workflow is ready for real data, switch to production keys. Intuit shows the production Client ID and Secret only after you complete its Production Key questionnaire and it's approved, so allow time for that. Then create a second n8n credential set to Production, and have a QuickBooks admin at your company approve the connection.

Worked example: approved quote to sent invoice

An illustrative company, not a client: an eight-person print shop that quotes banners and signs. Quotes are approved in their CRM. Today the office manager retypes each one into QuickBooks, about 150 a month. All names and numbers below are sample data.

The workflow:

Stepn8n nodeWhat it does
1WebhookThe CRM calls n8n when a quote is marked accepted, with the quote number, customer, billing email and line items
2Data table or CRM lookupStops if this quote number already has a QuickBooks invoice
3QuickBooks: Customer, Get AllSearches for the customer by display name
4QuickBooks: Customer, CreateOnly if step 3 found nothing
5QuickBooks: Item, Get AllMatches each quote line to a product or service in QuickBooks; an unknown item stops the run and alerts a person
6QuickBooks: Invoice, CreateCreates the invoice, not sent yet
7Gmail: Send and Wait for ApprovalEmails the office manager a summary with QuickBooks' total, with Approve and Decline buttons
8QuickBooks: Invoice, SendOn approval, QuickBooks emails the invoice to the customer's billing address
9CRM updateWrites the QuickBooks invoice number back on the quote

Say quote Q-1042 is accepted for Sample Customer LLC (billing@example.com): two 3 x 6 ft banners and one installation. Steps 2 to 5 find no earlier invoice, create the customer because it's new, and match all three lines to existing items. Step 6 creates the invoice, and QuickBooks applies tax from your sales tax settings. The approval email then shows the customer, the lines and the total exactly as QuickBooks calculated them.

The approval comes after the invoice is created so the person approving sees QuickBooks' own number, tax included, instead of the CRM's estimate of it. Nothing reaches the customer until they click Approve. If they decline, the invoice stays unsent in QuickBooks and the bookkeeper fixes it or voids it.

You could route the approval through Slack instead of email. n8n's Slack approvals record who responded and can be limited to named approvers. n8n's Gmail approval links work for anyone who has the link, so send them to a person, not a shared inbox.

Some teams only want approval above an amount. Add an If node before step 7 so a $180 reorder goes straight out and a $6,000 job waits for a person. Our quote and invoice automation works the same way: a person approves quotes above a limit or outside the rules before anything goes out. We run SMC Frame's own invoicing and pricing on automated workflows too.

Errors and duplicates

Most problems in an accounting workflow fall into two groups: a call that failed and should be tried again, and a call that must never run twice.

When a step fails

  • Brief outages. Turn on Retry On Fail in the QuickBooks node's settings. n8n allows up to five tries, at most five seconds apart.
  • Rate limits. When QuickBooks returns HTTP 429, Intuit says to wait 60 seconds before retrying. Retry On Fail can't wait that long, so send the error to a Wait node set to a minute, then try again.
  • Bad data. A duplicate name, a missing item or a closed accounting period won't fix itself on retry. Set the node's On Error option to "Continue (using error output)" and route those errors to a person with the quote number and QuickBooks' error message.
  • Anything else. Give every workflow an error workflow that starts with n8n's Error Trigger and alerts a named person with a link to the failed run.

Stopping double customers and double invoices

  • Search before you create. Steps 3 and 4 in the example are a search and a create for this reason.
  • Use unique display names. QuickBooks requires display names to be unique, so a second "Sample Customer LLC" fails instead of creating a twin. Pick a naming rule with your bookkeeper and keep it.
  • Store QuickBooks IDs. Save the QuickBooks customer ID on the CRM contact and the invoice ID on the quote. The next run checks the stored ID first, which is faster and cheaper than searching.
  • Ignore repeated webhooks. Forms and CRMs sometimes send the same event twice. n8n's Remove Duplicates node can drop items processed in earlier executions, keyed on the quote number.
  • Make retries safe. Intuit supports a requestid parameter on write requests. Send the same request ID again and QuickBooks returns the original response instead of creating a second invoice. It has to be unique per company and at most 50 characters. n8n's QuickBooks node doesn't list this option, so if retries worry you, create the invoice with the HTTP Request node and use something like the quote number as the request ID.

QuickBooks API limits that matter

From Intuit's limits page for the QuickBooks Online REST API:

LimitValue
Requests per company500 per minute
Requests per company and app10 per second
Batch requests40 per minute per company and app; recommended maximum of 30 items per batch
Results per query1,000; larger lists need paging
Request timeout120 seconds
Sandbox email40 emails per day per sandbox company

A small business rarely gets near these. The places to watch are nightly jobs that loop over hundreds of records, and the sandbox email cap, which you can hit while testing the Send step.

Intuit also meters API use through its App Partner Program. Every app starts in the Builder tier, which has no fee. Creating and updating records counts as "Core" calls, which are unmetered. Reads and reports count as "CorePlus" calls, capped at 500,000 a month on Builder; above that they're blocked until the next month. Sandbox calls aren't metered. The paid Silver tier lifts the cap for $300 a month.

For scale: the example above makes two or three reads per invoice. At 150 invoices a month, that's under 500 CorePlus calls, a tiny fraction of the free allowance.

Security: who owns the app, and keeping the connection alive

Who owns what

  • The business owns the Intuit developer account and the app. Create them under a company email address, then add your developer or agency as a team member. If the app lives in a freelancer's personal account, the keys to your books leave with them.
  • Secrets live in one place. The Client Secret goes into the n8n credential and nowhere else. If it ends up in an email or a chat, treat it as exposed.
  • One scope. The n8n credential asks only for accounting access. It still covers all of your accounting data, so limit who can edit the workflow and who can read its run history in n8n.
  • Admins approve the connection. Have a QuickBooks admin at your company click Connect. Anyone with that role can also disconnect the app at any time, which ends n8n's access.

How the tokens behave

Intuit's authorization FAQ sets out the rules:

  • The access token lasts one hour. n8n refreshes it with the refresh token.
  • The refresh token lasts 100 days, and the clock resets every time it's used. Its value also changes about every 24 hours, and the old value stops working.
  • All refresh tokens have a hard limit of five years. After that, someone has to sign in and approve the app again.

What breaks the connection in practice:

  • A quiet workflow. If nothing calls QuickBooks for 100 days, the connection expires. For a workflow that only runs at year-end, add a weekly scheduled read so the token stays in use.
  • Parallel refreshes. Intuit warns that two refreshes at the same moment can invalidate the token. Use one credential per QuickBooks company and avoid bursts of simultaneous runs.
  • Disconnects and expiry. When this happens, QuickBooks calls return authorization errors (401 or invalid_grant). Your error workflow should name these clearly, so the person who gets the alert knows to reconnect instead of retrying. Put the five-year date on a calendar too.

If you self-host n8n

n8n encrypts stored credentials with an encryption key. Set your own key, keep it backed up somewhere other than the server, and never commit it to a code repository. Run logs hold customer names, emails and invoice amounts, so decide how long n8n keeps them. Self-hosting brings its own upkeep; the section on n8n Cloud or self-hosted in our n8n vs Zapier guide covers the trade-off.

When Zapier or QuickBooks itself is enough

You may not need n8n at all.

  • QuickBooks may already do it. QuickBooks Online lets you turn an estimate into an invoice and send payment reminders, and most plans can set up recurring invoices. On QuickBooks Online Advanced you can also build custom workflows for approvals and reminders. Check what your plan includes before building anything.
  • Your other tools may have a QuickBooks app. Many CRMs and online stores have their own QuickBooks integration. If it creates the customer and invoice the way your bookkeeper wants, use it. We build a custom connection when the built-in one misses your items, taxes or steps.
  • Zapier is fine for a short, simple flow. QuickBooks Online is a premium app on Zapier, so you need a paid Zapier plan and a paid QuickBooks subscription. For one or two straight-line steps that's a reasonable choice. The cost and control comparison is in n8n vs Zapier, so we won't repeat it here.

n8n earns its place when the flow has branches, look-ups and an approval step, when it runs often, or when you want every run logged where you can read it.

QuickBooks and Intuit are trademarks of Intuit Inc. n8n, Zapier, Gmail and Slack are trademarks of their respective owners. They're mentioned here as product names only.

Common questions

Is there an n8n trigger for new QuickBooks invoices or payments?

No. n8n's QuickBooks Online node only performs actions; there is no QuickBooks trigger node. You can run a workflow on a schedule that searches for recently changed records, or have Intuit send webhooks to an n8n Webhook node, which takes more setup.

Do we have to pay Intuit to use the QuickBooks API?

Usually not, for one business automating its own books. Every app starts in the free Builder tier of the Intuit App Partner Program. Creating and updating records is unmetered, and reads are capped at 500,000 calls a month, far above what a few hundred invoices need. Check Intuit's current terms before you build.

Will the QuickBooks connection stop working on its own?

It can. The connection expires if it goes unused for 100 days, it has a hard limit of five years, and it ends if someone disconnects the app in QuickBooks. Set an alert for authorization errors and keep a named person who can reconnect it.

Can n8n create products or services in QuickBooks?

Not with the QuickBooks node, which can only read items. Create items in QuickBooks yourself, or call the QuickBooks API from n8n's HTTP Request node using the same credential.

Should we test in a sandbox or in our real company?

Sandbox first. Intuit gives every developer account a sandbox company, and n8n's credential has a Sandbox setting. Move to your real company only after the workflow has run cleanly on sample data and your bookkeeper has checked the results.

Will this change how our accountant works?

No. The workflow fills in the same records your team creates by hand today, using the accounts, items and tax settings your accountant already set up.

How many times is each invoice typed?

We connect QuickBooks Online to the CRM, forms and tools you sell with, built in n8n and documented for your team. We test with sample customers and invoices in a sandbox before touching your real books, and switch on only after your bookkeeper or accountant checks the results. Your accountant stays in charge of accounts, taxes and categories. If your quotes start in a CRM, see our CRM and API integration. We work in English and Spanish, on site in Tampa Bay, Miami and across Florida, and remotely across the US. Tell us which tools you sell with and how invoices are made today. We will suggest the simplest connection.

Tell us what you need: opens the form with Integrations & automation selected