Sum map items for Invoice

Hi
To generate invoices for my orders in Google Docs, I need to add the rows from my Google Sheets table. First, I performed a “Search Rows” to generate invoices based on the shipped status. The problem is that sometimes I have several rows because multiple products need to be included in the invoice. I’d like to generate the invoice for all items and add them to Google Docs. However, I’m having trouble calculating the subtotal, total VAT, and grand total.






Really appreciate your help

Sorry i have uptaded first message

I don’t think the RAW key name of the TVA column is TVA. It should be something like 20

{{ sum(map(59.array; "20")) }}

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.