Erro when exporting invoices

Erro when exporting invoices

When you export the invoices from the regular invoice section (not the reports) the system generates an excel with all the details from the invoices, but when an invoice has more than one article in it, the excel reflects wrong the "Item Tax Amount" and the "Item Total", this two cels only shows the first article (item) in the invoice, but ignores the other item lines (other articles)