Skip to main content

Troubleshooting automatic invoice errors in ThriveCart and Fatture in Cloud


Marika

Hello everyone, I have been asking for support for days as well but no solution is found.

I have connected The thrive cart and Fatture in cloud software, to generate automatic invoices when purchasing some products.

But it gives me this error:


 

The error message "Il totale dei pagamenti non corrisponde al totale da pagare" translates to "The total payments do not match the total amount due." This indicates a discrepancy between the total amount specified in the invoice and the sum of the payments recorded. In your input data, ensure that the data.items_list.net_price and data.items_list.gross_price fields, which are populated with the output from the previous step, correctly reflect the intended invoice amounts. Double-check that these values, along with any other payment-related fields, add up to the total amount due on the invoice.

To resolve this, verify that all monetary fields are correctly mapped and calculated. You can use Zapier's Formatter to perform calculations or adjustments if needed. For instance, if you need to ensure the sum of line items matches the total invoice amount, consider adding a Formatter step to sum the line items and compare it against the total. Additionally, review any dynamic fields to ensure they are pulling the correct data from previous steps. If necessary, manually input values to test and identify where the discrepancy might be occurring.
 

I also formatted the price fields, entered everything the right way. But nothing, it doesn't work.

Attached are the screens.
 

 

Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+3

Hi, Temporarily replace dynamic fields with static values to isolate the issue. For example, manually input product prices and totals to see if the invoice generates correctly. This helps identify whether the problem lies in data mapping or calculations.

Also, if applicable, confirm that the VAT/tax rate (data.items_list.vat.id) is correctly mapped and matches the rate configured in Fatture in Cloud.

Let me know once you try the above out.


Forum|alt.badge.img+3

Also I found out, Fatture in Cloud rounds numbers to two decimal places. If your item prices or totals have more than two decimal places, this could lead to discrepancies. Ensure all amounts are rounded appropriately before sending them to Fatture in Cloud.

https://developers.fattureincloud.it/docs/guides/invoice-totals


Marika
  • Author
  • Beginner
  • 4 replies
  • January 27, 2025

Hi, the prices are entered correctly, but it still gives me the same error, you can look at the screen on the right
 

 


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6324 replies
  • January 29, 2025

Hi ​@pranayshinde,

I did some digging into this, and it seems like Fatture in Cloud devs is asking their users to contact them if there’s an issue with the Zap setup. Here’s what the Fatture in Cloud devs said:

Since the Zapier Actions are just an implementation of our API Methods, they provide the same fields and perform the same behavior that you would obtain by using our APIs directly. So we suggest you check our Guides that illustrate how to use our APIs to perform the most common use cases. You just need to map the fields used in the guide to the related ones provided by the Zapier Action. If you still have some doubts, you can check our Support Page and ask for help.

 

Hopefully, this helps.