createDocument

Generate a new document either synchronously (wait for the result) or asynchronously (enqueue document creation and get the result later with the provided documentId).

Creates a document from the referenced template and document data. The template is resolved in the context of the session client. If defined referenceNumber, referenceType, documentType or retentionDaysLimit the created document contents will be retained for later reuse.
An existing document can be updated in POST /document/{documentId} and stored as a new revision in the archive in case it was previously archived.
The update can be done in different ways, please see the description for POST /document/{documentId}

Recipes
⌨️
Create Example Document
Open Recipe
Language
Credentials
Click Try It! to start a request and see the response here!