function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Force TechieForce Techie 

Salesforce to QuickBooks online

Hi All,

I am having a requirement to integrate QuickBooks online with Salesforce. In this, I am successfully getting authorized from Salesforce to my app on QuickBooks. I am using version V1 to getting request token and access token, secret credentials. But, when I am trying to make a request to getting all Accounts from QuickBooks app with using V3, got the Authentication error: Unauthorized. If anyone faces this type of exception and got success to make request from SF to QB please help me to getting out from this exception.

Thanks in advance!
ShashankShashank (Salesforce Developers) 
I woud recommend you to check with quickbooks support on this.
Force Techie,

I would be interested in seeing your connection code for the Salesforce to quickbooks.


Force TechieForce Techie


If you need more assistance on it connect with me in personal at


Thanks for the link!  I've got the token and the secret returned on my first call!  
Now - when I goto the authorize page - I'm getting Error getting application from request token - do you think that's something on my Intuit developer app?  Does my app have to be in production for me to connect to it?
Force TechieForce Techie

Which method are you using for authentication also which endpoint are you using?

I got it working.  Thanks for your help.

I was using for the endpoint, and oAuth for the method.  I didn't know there was more than one method.
Hamad AmaralHamad Amaral
Hi Padmesh, it seems to me you used the QuickBooks API query method to get all Accounts. I did code some classes to get tokens and hit QBO API that work fine but the query method is failing,  I think I have some issue encoding the query param. If you have the possibility would mind share your code?

Thanks in advance.
Force TechieForce Techie
Hi Hamad,

I have used this in with given format of query in QBO guide. I tried for retrieving Invoices as given below query:

Query=SELECT * FROM Invoice

Above query is sending as URL parameter of endpoint in sandbox perspective as below:

We found result from above successfully.

Please let me know, if you have any question.

Hamad AmaralHamad Amaral
Hi Padmesh,

I've been trying that without success, this is the relevante piece of code:
public String setSignature() {
	String signatureParams = '';
	if(query.length() > 0)
		signatureParams = signatureParams + '&query=' + EncodingUtil.urlEncode(query.toUpperCase(), 'UTF-8').replace('+','%20');

	Http h = new Http();
        HttpResponse res = new HttpResponse(); 
        HttpRequest req = new HttpRequest();
	req.setHeader('Accept','application/xml; charset=UTF-8');
	String query = 'select * from Account';

	if(query.length() > 0)
	    req.setBody('query=' + EncodingUtil.urlEncode(query.toUpperCase(), 'UTF-8').replace('+','%20'));

	String oauth_signature = setSignature();
	String oauth = 'oauth_token="' + oauth_token 
			   + '",oauth_nonce="' + oauth_nonce 
			   + '",oauth_consumer_key="' + oauth_consumer_key 
			   + '",oauth_signature_method="' + oauth_signature_method 
			   + '",oauth_timestamp="' + oauth_timestamp 
			   + '",oauth_version="1.0' 
			   + '",oauth_signature="' + oauth_signature + '"';

	req.setHeader('Authorization','OAuth ' + oauth);
        res = h.send(req);

That piece of code generates the following:

parameters: oauth_consumer_key=<consumer_key>&oauth_nonce=1458917844&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1458917844&oauth_token=<oauth_token>&oauth_version=1.0&query=SELECT%20ID%2CFULLYQUALIFIEDNAME%20FROM%20ACCOUNT

signature base string encoded: GET&<consumer_key>%26oauth_nonce%3D1458917844%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1458917844%26oauth_token%3D<oauth_token>%26oauth_version%3D1.0%26query%3DSELECT%2520ID%252CFULLYQUALIFIEDNAME%2520FROM%2520ACCOUNT

OAuth: oauth_token="<oauth_token>",oauth_nonce="1458917844",oauth_consumer_key="<oauth_consumer_key>",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1458917844",oauth_version="1.0",oauth_signature="ApD4QtHcMpIBQr211tbbqDyMrn8%3D"

Error: "message=ApplicationAuthenticationFailed; errorCode=003200; statusCode=401".

Can you please advise? Thanks in advance.

flora davisflora davis

If you are facing any issues regarding Norton, webroot, Bitdefender, Garmin, Rand McNally dock ,Turbotax login ,   you will get an instant online solution. For more details visit this link which is given below: - new
flora davisflora davis
Find a counselor and talk confidentially with Vcaretherapy online therapy ( services, anyone can get therapy without traveling to any place.

An Existential Crisis ( when a person has survivor&#039;s guilt or start thinking life is meaningless, contact our expert team that help to cope with this

flora davisflora davis
Ij.start.cannon ( Next Enter Printer Model Download Driver Install into your System Process to Establish a Wifi Connection on Your Canon Printer Before accessing ij.start.cannon, your printer must be well-connected to the Wifi. So, take a look at the full-proof steps that are given below: Wireless LAN Setup: To commence the network configuration process, you &help ( - Download, Register, Setup, Update and Manage your Garmin Devices Online from the link (
Deepika Chauhan 17Deepika Chauhan 17
Now you can easily integrate Salesforce and Quickbooks online together through third-party applications.
I recommend you to check out this application:
For more concerns, please reach out to me via an email:

nishtha singh 4nishtha singh 4

How to Setup Belkin Extender ? by using (
nishtha singh 4nishtha singh 4

If you are having issues such as the servers being down, games not loading etc then please visit not working (
jacob vikjacob vik
Tplink RouterTplink Router
How can I do the tp link log in easily?
It is quite simple to do the tp link log in without any trouble.  You must update your username and password after you have signed into your device for security reasons. Then, select Quick Setup and follow the on-screen steps to configure your device.
adam adam 31adam adam 31
Canon Ijet Setup is a website that provides a platform for downloading canon printer drivers for both windows, mac and linuk, this site is very safe and secure, because all the links provided are from the official web. To print directly from your computer

canon tr4527 driver~~ canon ts3420 driver ~~ descargar driver canon e4210 gratis~~ ~~ canon mg3600/mg3010 setup ~~ ( ~~http ij start
abraham ijabraham ij
Printers are very useful for documentation purposes in the office, at home, or at school. They come in various sizes, types, designs, brands, and models. Printers have evolved over the years, making the printing process faster, easier, and more convenient.
One of the current flagship printers is Canon Printer, and to run the printer we must first - Install Canon Driver on your favorite computer. For those of you who need a Canon Printer Driver, you can visit the following site:
- IJ Printer Setup
-- - canon selphy cp530 driver
-- - canon selphy cp800 driver
- IJ Start Cannon
Bella WilsonBella Wilson
My Name Is Bellwood. I Love To Write And Read About New Things, My Professional Experience Is In Technical Management. I Have Been In Technical Field For 5 Years, This Has Been My Best Experience. I Have Seen That How Many People Have Problem In Accessing Their Bellsouth Login (" style="color:blue; text-decoration:underline) Email, I Have Their Complete Solution.

Along With This, People Also Use The Sbcglobal.Net Login Email Which Is The Famous Email. We Solve Any Problem Of Sbcglobal Login (" style="color:blue; text-decoration:underline) In Few Minutes.

Internet Has Become A Very Important Thing In Today's Era, If We Need Anything, Then We Get It With The Help Of Internet. We Get Upset When Our Internet Is Down But They Can Solve In One Query How To Test Internet Speed (" style="color:blue; text-decoration:underline)
Deepika Chauhan 19Deepika Chauhan 19
Now you can easily integrate Salesforce and Quickbooks online together through third-party applications.
I recommend you to check out this application:
For more concerns, please reach out to me via email:
canon ij setupcanon ij setup
Welcome to the Canon printer's world. we are to inform you and guide you about the canon printer driver download and installation also we provide you the all basic information needed for your canon printer. because we are professional team from the canon company for providing online technical help. so just tap the tabs canon.comijsetup (
Jyothi kondaveetiJyothi kondaveeti
Here you can see the easiest way to integrate Salesforce with Quickbooks - Integration between Salesforce and Quickbooks (
Robert Robert 3Robert Robert 3
Get the Instant Help from the Alexa Setup (" target="_blank) or Alexa not responding here
Robert Robert 3Robert Robert 3
solve the Alexa Red ring issues problem
smith john Servicesmith john Service
Get the Solution on Alexa red ring flashing issues by professional expert team today. Our Alexa Specialist provide the different types of Alexa Echo solution on different issues such as: Firestick Won’t Turn On (" target="_blank) : Alexa Yellow Ring (" target="_blank) : How to Connect Alexa to WiFi (" target="_blank) : How to Reset Alexa Echo Dot (" target="_blank) : Alexa Not Responding (" target="_blank), any time get the instant solution within a minute by Alexa professional team today.
suresh kumar 604suresh kumar 604
Get the best information on LifPii (" target="_blank)
DD smartDD smart
Here get the best Amazon Fire Stick Customer Service (" target="_blank) through simple and easy ways without any fret! So Hurry Up! Contact our helpline expert Amazon fire stick customer service (" target="_blank) expert team. Learn more about fitbit won't turn on (" target="_blank) etc.
mic williammic william
Get the best solution on what does sos only mean on iphone problem
mic williammic william
Instant solution on Echo Dot Won't Connect to WiFi issues and get the problem solved
smith john Servicesmith john Service
Get the best solution on brother printer by Brother Printer Support (" target="_blank) and get solve the Brother Printer.
smith john Servicesmith john Service
Get the information on How to Connect Alexa to WiFi ( and Alexa Won't connect to WiFi ( network.
Carol LoudCarol Loud
You can use Skyvia ( Data Integration to connect Quickbooks and Salesforce. it is a no-code freemium platform.