2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Issue:

This error error occurs when you Insert void The error will come when you Inserting the voided  payments from salesforce to QucikbooksOnline.

Reason:

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>

 

Solution:

 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.