2022
Issue:
This error occurs when you Insert void payments from Salesforce to Quickbooks OnlineThe 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 set sending the Total Amount equal to Amount zero(0.0).
As the QuickBooks does not allow the zero values for the Total Amountamount , 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 a the non -zero value 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.