2022
Issue:
This error occurs when you Insert void payments from Salesforce to Quickbooks Online.
Reason:
When you insert the void payments, you are set 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 a non-zero value while inserting. Once the values are inserted, you can do the upsert with Zero(0.0) for the Total Amount.