This is a bash script for automatic PDF form field replacing.
- user: single word username
- template: full template url & filename without extension (must be PDF)
- output: full output file location url & filename without extension (will be PDF)
- form_fields serialized string containing the form fields key-values
bash replace_pdf.sh admin in/invoice_template out/invoice "FECHA-test TOTAL-100"