The DynamicDocs API provides a quick way to create bespoke PDF documents in bulk with the ability to include graphics and logic in the documents.
This is done by writing templates in LaTeX on our website and then calling the API with JSON data payload, which consists of dynamic data for the document. Once the call has been made, the API will send a response with a location of a status JSON file. By reading the status JSON file, you can see whether the document has been created successfully and a temporary, secure URL link is created for the client to download the document.
Not only can you create good looking documents using LaTeX, you can also create custom charts include conditional logic into the documents with custom built-in functions. This allows you to create truly dynamic documents which only depend on the data payload.
Currently the DynamicDocs API is available directly via ADVICEment.io. To try the API for free, you can sign up for an account and you will be given our FREE plan which gives you ability to create a limited number of documents per month. For more information on other plans, visit our pricing page.
Advicement utilises the Amazon Web Services infrastructure and processing capability.
Specifically, our technology stack include AWS Lambda and AWS Simple Storage Service (S3). Our AWS region is set to Western Europe (Ireland). We also make use of the 'signed URLs' to safely and securely deliver the documents to our client.
For more information regarding Amazon Web Services, please visit the AWS website.
To start creating your document templates, you will need to register an account with a valid email by going to our registration page.
Once your registration is successful, we will email you to verify your account. After verification you will be able to create templates.
Once registered you can start using our templates or building your own. Don't worry we don't have any rights in taking your own developed work, but you are free to use ours. Sign in to your account and then visit My Templates page. There you can find 'New Template' button which will give you various options of templates.
Afterwards you will need to name the template and describe it. Once you have succesfully created your template, you can start making changes to it, finding it in the list and clicking on 'Edit Template' button.
In the editing template section, you will be able to perform these functions:
By using a 'Compile' button, the website would send the JSON data payload to the API and use the template settings to create the PDF. More on those in the next section in template settings. Note that the template files used are the ones you are working with and not the ones which have been published. In other words the compile button lets you test and work with the template files in real-time.
By using a 'Publish' button, you effectively make the current files you are working available for consumption. By publishing, you replace the previously published files with the current ones. Meaning, when you call the API through the end point, the template files used to create the documents will be the ones you have published.