Generate dynamic PDF
You can customize and generate dynamic PDFs or emails.
A dynamic document is content automatically generated based on data available in a database or other real-time information sources. It adapts to the specific variables of each context, ensuring personalized and precise outputs.
For example, you can generate sales contracts and send them via email.
All the data contained in the database can be directly called within the documents. You can include information such as:
- Client names and contact details,
- Transaction amounts,
- Images,
- Details of products or services,
- Additional data such as the date and time of document generation, or any other parameter defined according to your specific needs.
Documents are generated using Symfony technology: Twig. This powerful technology not only allows you to customize your outputs with dynamic variables and conditions but also to program complex features using Twig's internal functions. This includes:
- Adding conditional formats (e.g., showing a discount only if applicable),
- Automatic calculations,
- Advanced formatting (adding tables, conditional sections, etc.),
- Integrating additional data like date, time, or other predefined parameters.
With this approach, you have the flexibility to produce documents that perfectly meet your operational needs while maintaining your visual and functional standards.
Exclusive Features
We have added the ability to write numbers in words. This enhances readability and provides an additional option to customize your documents, especially in contexts that require a formal or legal presentation of amounts.
This function can be called using: {{ bill.ttc|asletter }}
Example: ***2,510.20*** € In words: ***TWO THOUSAND FIVE HUNDRED TEN EUROS AND TWENTY CENTS***
TWIG is active. Example code:
{% if customer.company %} Company: {{customer.company}} {% endif %}
To insert data, copy the lines in red.
- System:
- Current date in FR format (08/07/2025):
{{sys.day}}
- Current date + 1 year:
{{sys.day_1|asletter}}
- Date in words (08 September 2025):
{{sys.day|asletter}}
- Time in H:M format:
{{sys.time}}
- Current year:
{{sys.year}}
- Current year + 1 year:
{{sys.year_1}}
- Current year + 2 years:
{{sys.year_2}}
- Current year + 3 years:
{{sys.year_3}}
- Current date in FR format (08/07/2025):
- Client data:
- Company:
{{customer.company}}
- Title:
{{customer.civility}}
- Last name:
{{customer.surname}}
- First name:
{{customer.firstname}}
- Title + Full name:
{{customer.fullname}}
- Address:
{{customer.address}}
- Postal code:
{{customer.zip}}
- City:
{{customer.city}}
- Full address:
{{customer.fullnameaddress}}
- Phone 1:
{{customer.tel}}
- Phone 2:
{{customer.phone}}
- Email:
{{customer.email}}
- Accounting code:
{{customer.compte}}
- VAT Number:
{{customer.tva_intra}}
- Business registration number:
{{customer.siret}}
- Company:
- Additional client properties
- Vendor data
- Invoice data
- Prospection data
Exclusive Features for Invoice Lines
You can add a tag to your product description: {{month-1/year}}
, {{month/year}}
, or {{year}}
.
For example, "IT Maintenance {{month/year}}" will display "IT Maintenance February 2025".
Perfect for subscription invoicing!
With this approach, you have the flexibility to produce documents that perfectly meet your operational needs while maintaining your visual and functional standards.