Generating documents from posts is outside of the scope of what ACF does. If you can build the code to generate content from a WP post then using the same functions used to generate a front end post on WP will let you add the fields to the document you are generating. Generating documents is a complete application and I’d look for some type of a plugin that will do this, in fact, each of the different documents you want to generate would probably be considered a different application. Here’s one that will create PDF files https://wordpress.org/plugins/wp-advanced-pdf/
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users