A pipeline in one field
List the steps, and each one works on the result of the last. Stamp it, set its metadata and encrypt it, without another library in your app.
convertpdfapdfuamergesplitwatermarkstamprotateflattenoptimizebookmarksmetadataembedfactur-xencrypt
The pipeline
curl http://localhost:9027/v1/render \
-F template=@invoice-template.docx \
-F "data=<invoice.json" \
-F steps=convert,stamp,metadata,encrypt \
-F stampSource=text -F stampExpression=PAID \
-F 'metadata={"Title":"Invoice INV-2041"}' \
-F userPassword=open-sesame -o invoice.pdf