What’s that, you want integrate D365 and QuickBooks without code? – Sure, no problem.

At Root16, we’re using Dynamics 365 to manage quite a bit of our day to day operations (Sales, Account/Contact Management, Marketing and Project Management among other things) – the one thing we are not using it for (yet) is our financials, for that we’re using QuickBooks Online as that currently makes the most sense for our business.

When we initially launched Root16, these two key components of our business were completely segmented. As you can imagine, this introduced issues like double-data entry, miskeyed information and a sheer lack of efficiency (which drives us nuts) – as a result, we started looking into options around how we could integrate Dynamics with QuickBooks. There are a few solutions available in AppSource that we looked at, but what fun would that be? We wanted to see if we could create something using the tools we already had available, tailored to our exact need, and not take on additional licensing costs. Walking into this, we were fully prepared to write custom code to make this happen, but are happy to report that we were able to accomplish everything we wanted to with this integration without opening Visual Studio. 

Here are the different components we used:

  • QuickBooks Online API
    • QuickBooks Online provides a robust API that supports OAuth 2.0 authentication.
  • QuickBooks Webhooks
    • We enabled the Webhooks for Create and Update of Invoices in QuickBooks to trigger a Power Automate flow that updates our invoices in Dynamics when something changes on the QuickBooks side.
  • Added a Custom Connector via the Power Apps Portal
    • We configured the Custom Connector from the QuickBooks Online API definition that our Power Automate flows use to communicate with QuickBooks.
  • Power Automate
    • The existing Common Data Service connector and our new QuickBooks Online custom connector were used in our Power Automate cloud flows to connect the two systems. other 

For Root16, Dynamics serves as our system of record for customer information.  For invoicing, we push data required for invoicing into QuickBooks to generate and manage our invoices, ultimately bringing said invoice and related data back into Dynamics. The following table shows the simple data mapping used for our QuickBooks integration:

Our integration kicks off when a Dynamics Opportunity is closed as ‘Won’. If this is a net-new customer, a Customer record will be created in QuickBooks via a Power Automate flow. Within that same flow, a Project record is created in Dynamics and linked to the Customer record. The Project record in Dynamics is where our consultants are tracking things like Time and Expense, specific to a given Project/Customer. 

Logic for Creating Updating Customer in QuickBooks

When it’s time to invoice a customer, we create a shell Invoice record linked to the Account/Project in Dynamics. The creation of the Dynamics invoice triggers a different Power Automate cloud flow that loops through all Approved time records related to the Project that fall within the defined invoice period. We then generate Invoice Line Items based on consultant rate and total hours worked. These records are then sent to QuickBooks, which ultimately creates an Invoice. The QuickBooks Webhooks mentioned above then trigger another Power Automate flow that updates our Dynamics Invoice record with the total service amount calculated in QuickBooks, as well as other attributes like Invoice Status.

Logic for Creating Invoice in QuickBooks

At a high-level, that’s it. Notice there are no C# code snippets or SQL up above – this was all done without custom code on the Power Platform. As someone who grew up on the software development side of the fence, I’m impressed with how much I was able to accomplish using Power Automate connectors, actions, and expressions.

We’ve had this integration in place for several invoice cycles now, and the efficiency gains we’ve seen are phenomenal (~3 hours down to about 25 minutes). As we continue to grow (and hopefully send out more invoices!), we expect the efficiency gained to also grow exponentially. If this resonates with you and is something you’d like to hear more about, drop us a line!


3 thoughts on “What’s that, you want integrate D365 and QuickBooks without code? – Sure, no problem.

  1. I believe what you published was very logical.

    But, what about this? suppose you were to create a awesome
    title? I am not saying your information isn’t solid., however suppose you
    added something to possibly get people’s attention? I mean What's that, you
    want integrate D365 and QuickBooks without code? – Sure, no problem.
    – Root16 is kinda vanilla. You should glance at Yahoo’s front
    page and note how they write article titles to grab people to click.
    You might add a related video or a related pic or two to grab readers interested about everything’ve got
    to say. In my opinion, it could make your posts a little bit more interesting.

  2. Hey I am so happy I found your site, I really found you by mistake, while I was
    researching on Digg for something else, Anyways I am here now and would just like to
    say kudos for a incredible post and a all round entertaining
    blog (I also love the theme/design), I don’t have time to look over it all at the minute but I have book-marked it and also included your RSS feeds, so
    when I have time I will be back to read a great deal more, Please do keep up the awesome

Comments are closed.