We export our document metadata and BOM data on during our approval transition. This data is then imported into our ERP system. If there is an error, the document needs to be rolled back and sent through the transition again to re-export the XML file.
I'm either getting lazy or tired or both, but I can't find an API call to run a data export. I know that I could create a state as a placeholder and transition to this state and then back, but I'd rather just create a utility for an administrator that only exported the XML file instead of transitioning between states.