2022
Issue:
This error error occurs when you Insert void payments from salesforce to QucikbooksOnline.
Reason:
When you insert the void payments, you are setting the Total Amount equal to zero (0.0).
As QuickBooks does not allow zero values for the Total Amount , it will throw the following error:
<BatchItemResponse bId="1">
<Fault type="ValidationFault">
<Error code="6000" element="">
<Message>A business validation error has occurred while processing your request</Message>
<Detail>Business Validation Error: You must set a transaction amount.</Detail>
</Error>
</Fault>
</BatchItemResponse>
Solution:
Instead of sending the zero value to the Total Amount send non -zero values while inserting. Once the values are inserted, you can do the upsert with Zero(0.0) for the Total Amount.