export document preparation