Ah – at the simple level, a little bit of NPL code will let you export anything. For example the procedure EXP123 – will almost give exactly what you want.
Some of the questions around this, are
Do you want all of the accounts, include the “Total To” or only posting accounts?
And for what day or end period of time?