See if we can use the transaction register to see what documents are new. That way we only retrieve what is needed.
To be able to do this we would need to store the last synchronisation date (per bro_domain, otherwise something could go wrong when only one domain is succesfully synced).
See if we can use the transaction register to see what documents are new. That way we only retrieve what is needed.
To be able to do this we would need to store the last synchronisation date (per bro_domain, otherwise something could go wrong when only one domain is succesfully synced).