Created
July 27, 2015 13:30
-
-
Save raecoo/b237c267127837867686 to your computer and use it in GitHub Desktop.
TaxService exception of Quickbooks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# API Reference https://developer.intuit.com/docs/api/accounting/TaxService | |
I, [2015-07-27T21:13:10.616426 #60976] INFO -- : ------ QUICKBOOKS-RUBY REQUEST ------ | |
I, [2015-07-27T21:13:10.616500 #60976] INFO -- : METHOD = post | |
I, [2015-07-27T21:13:10.616530 #60976] INFO -- : RESOURCE = https://sandbox-quickbooks.api.intuit.com/v3/company/1406866825/taxservice/taxcode | |
I, [2015-07-27T21:13:10.616555 #60976] INFO -- : REQUEST BODY: | |
I, [2015-07-27T21:13:10.616699 #60976] INFO -- : <?xml version="1.0" encoding="utf-8"?> | |
<TaxService xmlns="http://schema.intuit.com/finance/v3" sparse="false"> | |
<TaxCode>test rate</TaxCode> | |
<TaxRateDetails> | |
<TaxRateName>test rate</TaxRateName> | |
<RateValue>3.5</RateValue> | |
<TaxAgencyId>2</TaxAgencyId> | |
<TaxApplicableOn>Sales</TaxApplicableOn> | |
</TaxRateDetails> | |
<TaxRateDetails> | |
<TaxRateName>test rate</TaxRateName> | |
<RateValue>4.5</RateValue> | |
<TaxAgencyId>2</TaxAgencyId> | |
<TaxApplicableOn>Sales</TaxApplicableOn> | |
</TaxRateDetails> | |
</TaxService> | |
I, [2015-07-27T21:13:10.616754 #60976] INFO -- : REQUEST HEADERS = {"Content-Type"=>"application/xml", "Accept"=>"application/xml", "Accept-Encoding"=>"gzip, deflate"} | |
I, [2015-07-27T21:13:14.664935 #60976] INFO -- : ------ QUICKBOOKS-RUBY RESPONSE ------ | |
I, [2015-07-27T21:13:14.665013 #60976] INFO -- : RESPONSE CODE = 500 | |
I, [2015-07-27T21:13:14.665042 #60976] INFO -- : RESPONSE BODY: | |
I, [2015-07-27T21:13:14.665254 #60976] INFO -- : <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2015-07-27T06:13:14.395-07:00"> | |
<Fault type="SystemFault"> | |
<Error code="10000"> | |
<Message>An application error has occurred while processing your request</Message> | |
<Detail>System Failure Error: Cannot consume content type</Detail> | |
</Error> | |
</Fault> | |
</IntuitResponse> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment