Question
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
