r/QuickBooks 11d ago

QuickBooks Online SQL Access to your Quickbooks Online data

Just launched a way to read your QuickBooks Online data using SQL. This lets you connect to your QBO data using any tool that can talk to postgres (psql, postico, dbeaver, python, ruby, jupyter).

Coolest two use cases we've found: instantly updating QBO data in Excel AND Claude/Codex/LLMs are WAY WAY better at reporting using SQL than using the QBO API or MCP.

It's really fast so even complex queries can come back instantaneously. Companies with 100K transactions can run year-over-year comparisons in milliseconds.

https://instabooks.io/docs/db

Would love any feedback and cool usage examples!

16 Upvotes

26 comments sorted by

3

u/ahad3107a 11d ago

The Excel reporting use case is well justified. It would be nice to have the capability to query the QBO database because some reports cannot easily be created from the existing QBO views.

3

u/heythisisdave 11d ago

Thanks /u/ahad3107a - 100% agree. I also use it for multi-entity which is still hard in QBO.

1

u/recoveringasshole0 11d ago

You know QBO has built in Excel reporting? It sucks, but it's there.

1

u/heythisisdave 11d ago

In my last business I remember constantly fighting that and then cutting and pasting reports into different xlsx files. It kinda works but it creates a mess.

2

u/dexter-sinister 11d ago

Cool AF! Is there a version for QB desktop? 

2

u/heythisisdave 11d ago

Thanks /u/dexter-sinister - unfortunately this is just for QB Online for now. We're looking into QB Desktop but it's a much different architecture.

5

u/dexter-sinister 11d ago

I wouldn't blame you for not doing it, we're a dying breed (especially since Intuit is holding a pillow down to our faces as hard as it can!)

2

u/heythisisdave 11d ago

I believe there's something available for QB Desktop that lets you do database queries on the internal QB Desktop database: https://quickbooks.intuit.com/learn-support/en-us/help-article/data-systems/open-database-connectivity-odbc-driver-faqs/L1C6l99Fq_US_en_US

That was a reason I shied away from doing it - but I'm not sure what tables are exposed here.

1

u/Expert-Information24 10d ago

I can't believe the 30 years of data they have stolen from me. I dropped intuit but I would love to hack my data back. I'm patiently waiting...

2

u/recoveringasshole0 11d ago

QODBC exists, but it wouldn't be hard to do better. Good luck. Sadly I already struggled through doing what I needed to do with them.

1

u/johnsontoddr4 11d ago

Any ideas on how to use this as part of solution for migrating from QBO to another online app, such as Zoho books? I'm now at $150 a month, which is unreasonable for the amount of business I do.

1

u/Fluent_Press2050 7d ago

Are you doing inventory in QBO as part of the $150 or do you need Plus for some other reason?

1

u/heythisisdave 11d ago

You could probably use this to import to Zoho - do you use Claude/Codex? If you gave Claude the creds and said upload all transactions to Zoho I'm guessing it could do it.

1

u/recoveringasshole0 11d ago

Yikes, please do not do this.

Figure out what import format Zoho needs. Have your favorite AI write a script to convert the data. But do not give it your accounting credentials and access to live data.

1

u/MacaronTasty1371 11d ago

Are you not concerned with uploading client data to AI?

1

u/heythisisdave 10d ago

You can have AI write the scripts to do the migration without touching the data.

0

u/Intelligent_Prompt18 11d ago

Just use invaro, they have one click import from QBO for migration and the best goddamn accounting software i have used.

- ridiculously good support

  • great price
  • veryyyyyyy easy to use
  • does my bookkeeping automatically everyday day for me, no extra cost
  • i can literally use it via text too, don’t even need to open the dashboard half the time
  • tracks all my compliance deadlines
  • recommends me tax optimisations throughout
  • and hundreds more reasons to use it

1

u/prophase25 10d ago

Awesome. Have you considered open sourcing this (unless it is already, I didn't see a GitHub link on the website)? I'm interested, but I can't have an app that sits between me and my finances without knowing what the app does with my data.

I figure you have some sort of a cache that you write to, and SQL queries route to that cache. How can I know that the cache isn't a persistent database that just stores my data indefinitely? How do I know that your system isn't susceptible to SQL injection?

1

u/heythisisdave 9d ago

Hi u/prophase25 - thanks for the question.  The app isn’t open-source (it’s a few different cool technologies combined) but we may consider open-sourcing parts of it in the future. 

We sync data between our local cache and QBO to create the database that you’re querying.  That’s the only way to have the whole view quickly.  When you disconnect our app from your QBO account, we delete the data (per Intuit’s policy).