It is possible at processing level to choose the document generation type
It is possible first to generate the document in simulation mode, then, after checking, to restart the processing in actual mode.
In that case, the simulation document is automatically deleted and replaced by the actual document.