cancel
Showing results for 
Search instead for 
Did you mean: 
ocealics leisure
Level 1

Error in creating invoice

{
"Line": [{
"Amount": 1749.00,
"DetailType": "SalesItemLineDetail",
"SalesItemLineDetail": {
"TaxCodeRef": {
"value": 15,
"name": "SS-DXB"
}
}
}],
"GlobalTaxCalculation": "TaxInclusive",
"TxnTaxDetail": {
"TaxLine": [{
"Amount": 1749.00,
"DetailType": "TaxLineDetail",
"TaxLineDetail": {
"TaxRateRef": {
"value": 15,
"name": "SS-DXB"
},
"PercentBased": true,
"TaxPercent": 5,
"NetAmountTaxable": 1665.7142857142856
}
}],
"TotalTax": 1749.00
},
"CurrencyRef": {
"name": "United Arab Emirates Dirham",
"value": "AED"
},
"CustomerRef": {
"value": 532
}
}
This is the body I am giving in postman


"Fault": {
"Error": [
{
"Message": "A business validation error has occurred while processing your request",
"Detail": "Business Validation Error: Were sorry, QuickBooks encountered an error while calculating tax. Try reselecting the tax rate or reentering the product/service item and saving the form again.",
"code": "6000",
"element": ""
}
],
"type": "ValidationFault"
},
"time": "2024-02-07T20:36:44.922-08:00"
}
this is the error I am getting
3 Comments 3
ReymondO
QuickBooks Team

Error in creating invoice

Glad to have you here on the Community page, ocealics. I'm here to share some steps to help resolve the error and record your invoices. 

 

Unusual behavior in QuickBooks can sometimes be due to too much-accumulated cache in a browser. To verify, we can open your account in a private window. This will help us check if the issue is related to cache build-up. 

 

You can use either of these shortcut keys to access incognito:

 

  • Mozilla Firefox: press Ctrl Shift P
  • Internet Explorer: press Ctrl Shift P
  • Safari: press Command Shift +N

 

If you're able to create invoices, go back to your regular browser and clear its cache. If private browsing doesn't work, I suggest using other supported browsers.

 

In case you're a product developer and getting these error messages, I'd suggest posting your concern in our Intuit Developer Community site. This way, other developers like you can provide the appropriate troubleshooting steps to resolve the issue.

 

Need to notify customers about upcoming invoice due dates? You can send them a reminder message.

 

Leave a comment below if you have any other questions about recording your sales transactions in QuickBooks. I'm always here available to help. Wishing you a good one!

ocealics leisure
Level 1

Error in creating invoice

I am hitting the API to create the invoice from the POSTMAN, so there is no chance of cache being stored

RCV
QuickBooks Team
QuickBooks Team

Error in creating invoice

Let me direct you to the appropriate support that can assist you with the API to create the invoice from the POSTMAN, ocealics leisure.

 

There's a community dedicated to developers and integrating other websites with QuickBooks. I'd recommend you sign up and post this question to our separate online forum called Intuit Developer Community. This site contains resources for software development, as well as the ability to ask fellow developers questions.

 

Our Intuit Developer can provide you further details on how to retrieve custom field values via QuickBooks Online API. Let me guide you how:

 

  1. Go to this link: https://help.developer.intuit.com/s/.
  2. Choose QuickBooks Online under What do you need help with? 
  3. Click Ask a Question. 
  4. Log into your existing Intuit Developer Account or create a new one. 
  5. Enter your concern. 
  6. Click Ask. 


 

 

You can also utilize the API Docs & Tools and Blog menu on the Intuit Developer's page. From there, you can check out the latest feature added to the application.

 

Feel free to visit these articles that will help you record invoice payments and customize your sales forms in QuickBooks:

 

 

It'll always be my pleasure to help if you've got other questions aside from working with application integrations in QuickBooks. Use the Reply button below to leave your comment so that I can lend a hand. Take care always and stay safe!

Need to get in touch?

Contact us