src/main/java/org/folio/services/invoice/BaseInvoiceService.java#recalculateInvoiceTotals is doing the opposite of what it is supposed to do, and also has wrong Javadoc.
According to the Javadoc, it is supposed to return "true if adjustments total, sub total or grand total value is different to original one". What it does is that it returns true if the adjustment total is equal to the original one (without looking at the other totals).
This has an effect in src/main/java/org/folio/invoices/events/handlers/InvoiceSummary.java : the invoice record is updated when it is not needed, and not updated when it is needed.
The result of recalculateInvoiceTotals should be reversed, and the Javadoc updated in recalculateInvoiceTotals and recalculateTotals to reflect the fact that the other totals are ignored.