Replicate logic for setting last_sync to last transaction date in xunnel_invoice
When you get XML files from Xunnel, we should check the date of the newest XML imported and put that date as the value of xunnel_last_sync field.
Edited by Jesús Alan Ramos Rodríguez