I wonder if you just need the Electronic Compliance Module which does XML, CSV…
Which seems silly to be honest.