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