--- AEAT3492010ReportDao.java.ori	2020-01-19 20:28:38.000000000 +0100
+++ AEAT3492010ReportDao.java	2020-02-18 12:47:43.785406000 +0100
@@ -946,9 +946,9 @@
       //@formatter:on
       final Query<Object[]> query2 = session.createQuery(sql2, Object[].class);
       query2.setParameter("taxReportId", taxReport.getId());
-      query2.setParameter("taxRates", correctiveInvoices);
+      query2.setParameter("correctiveInvoices", correctiveInvoices);
       query2.setParameter("taxRates", taxRates);
-
+      
       invoicesNotInEUR.addAll(query2.list());
 
       List<Map<String, Object>> bpAmounts_new = new ArrayList<Map<String, Object>>();
