And if your "new payroll program" is PayDirt from QLab systems, you don't need to use import at all.

It creates a batch ready to be retrieved into Ledger, just like all the other Adagio modules.
_________________________
Andrew Bates