Promotions

  • Fast Product - CODE 42

    Allows you to create products or services directly in the Sales Proposals, Sales Orders and Invoices interface.

    15.00 €  (30€)
  • Advanced Professional Gantt Dolibarr

    Would you like to see your project evolve in an efficient and structured way? The Gantt Professional Advanced Module allows you to manage all your projects in one place, without the need to use Gantt Project. We believe that you can effectively manage your projects with the right tools in place, and the Gantt Professional Advanced Module is one of them.

    300.00 €  (600€)

New products

  • French Company Directory — SIRENE, SIRET, RCS

    Search any French company and create it in Dolibarr in one click, with every official data field pre-filled: SIREN, SIRET, NAF code, EU VAT number, legal form, workforce, share capital, RCS. Free government API, no key required.

    149.99 €
  • TimeKeepr : Advanced Time Tracking for Dolibarr

    TimeKeepR is a Dolibarr module that allows the entry and tracking of planned and actual time on elements other than project tasks, while maintaining a consistent entry logic with the Dolibarr standard. This module extends the native time management capabilities by providing a more transversal and operational view, adapted to business needs.

    50.00 €

PDF Designer

mp21278d20260412000957

Visual PDF Template Designer for Dolibarr

150.00 €
Excl. tax

  • Author Yoandry Martinez
  • Module version 1.5
  • Release date 04/12/2026
  • Access to download and updates 360 days
  • How to contact support admin@erpmodplus.com
  • Compatibility Dolibarr V23+   -   PHP7.4 - 8.X
  • Last update 04/29/2026 10:31 AM

More info...

🎨

PDF Designer

Visual PDF template designer for Dolibarr

Create professional and customized PDF documents with a visual drag-and-drop editor. No coding required.

150 €

Compatible with Dolibarr 16.0+  |  PHP 7.4+  |  GPL v3 License

🆕 v1.5 — Raw HTML Editor + Formula Engine
✅ Drag & Drop Visual Editor 📄 8 Document Types 🔧 Extra Fields Supported 🌐 Automatic Multi-language 🖼️ Embedded Images

Why PDF Designer?

Dolibarr's default PDF templates (Sponge, Crabe...) are limited and difficult to customize. PDF Designer lets you create documents with your own corporate identity, using an intuitive visual editor based on GrapesJS: drag blocks, modify styles, insert variables and get perfect PDFs in seconds.

⭐ Main Features

🎨

Drag & Drop Visual Editor

Complete editor based on GrapesJS with pre-designed blocks for PDF sections: header, customer data, lines table, totals, footer and more. Drag, resize and customize each element.

📋

8 Document Types

Invoices, quotes, orders, interventions, shipments, supplier invoices, supplier orders and supplier proposals. A different template for each document type.

🏷️

Smart Variables System

+60 variables organized by categories: company, customer, document, lines, translated labels and miscellaneous. Side panel with drag or click to copy. Automatically replaced when generating the PDF.

🔧

Extra Fields (Extrafields)

Complete support for Dolibarr extra fields: document, lines and third party (customer). Loaded dynamically from database. Use {extra_field} in your template.

🌐

Multi-language Labels

Translated label variables like {label_Invoice}, {label_TotalHT} that automatically translate to the document/customer language.

🐧

Linux + wkhtmltopdf

Works exclusively on Linux servers with wkhtmltopdf installed. Full CSS support: flexbox, advanced borders, web fonts and modern designs for perfect PDFs.

🖼️

Base64 Embedded Images

Upload images directly to the editor. They are embedded in base64 within the template, ensuring they always display correctly in the PDF without depending on external paths.

📐

Complete Page Configuration

Page format (A4, Letter), orientation (portrait/landscape), customizable margins (top, bottom, left, right) in millimeters. Preview in editor according to format.

</>

🆕 Raw HTML Editor v1.5

Modal with HTML/CSS editor and automatic formatter: indents code, highlights tags. Allows adding/removing columns and rows, modifying titles and any structure with full freedom when the visual editor doesn't reach.

🧮

🆕 Formula Engine v1.5

Per-line calculations with {calc:line_qty*line_price} and aggregations {sum:...}, {avg:...}, {count}. Supports + - * / %, parentheses, decimals and numeric extrafields.

📄 Supported Document Types

🧾
Invoices
📝
Quotes
📦
Orders
🔧
Interventions
🚚
Shipments
🧾
Supplier Inv.
📦
Supplier Orders
📝
Supplier Prop.

🏷️ Variable System

60+ variables organized by categories, available in the editor's side panel

Category Variable Examples Description
🏢 Company {company_name} {company_logo} {company_siret} Name, address, phone, email, web, SIRET, SIREN, capital, intra-community VAT, logo
👤 Customer {client_name} {client_address} {client_tva_intra} Name, address, zip code, city, country, phone, email, VAT, code, SIRET
📄 Document {doc_ref} {doc_date} {doc_total_ttc} Reference, date, due date, public/private notes, totals HT/VAT/TTC, currency, payment terms and methods
📊 Lines {line_desc} {line_qty} {line_total_ht} Position, description, quantity, unit price, VAT rate, total per line, discount, product ref, start/end dates
🌐 Labels {label_Invoice} {label_TotalHT} {label_Qty} Automatically translated labels in the language of the customer/document: Invoice, Quote, Order, Total, VAT, etc.
🔧 Extra Fields {extra_field} {extra_line_field} {extra_client_field} Extra fields from document, lines and customer. Dynamically loaded from the database.

⚙️ Line Loop System

Wrap your table lines with tags {lines} and {/lines} to repeat them automatically for each line in the document:

<tbody>
  {lines}
  <tr>
    <td>{line_pos}</td>
    <td>{line_desc}</td>
    <td>{line_qty}</td>
    <td>{line_total_ht}</td>
  </tr>
  {/lines}
</tbody>

⚠️ Important Note: Manually modifying table lines in the visual editor is complex. It is recommended to use the Raw HTML Editor (button </>) to add, remove or modify rows and columns.

🆕 Raw HTML Editor — Maximum Flexibility v1.5

For advanced modifications that the visual designer cannot easily handle, use the HTML editor with code coloring and automatic indentation.

💾 Save 📋 Copy ✨ Format
Mode: HTML + CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<table>
  <thead>
    <tr style="background: #f0f0f0;">
      <th>Item</th>
      <th>Quantity</th>
      <th>Total</th>
    </tr>
  </thead>
  <tbody>
    {lines}
    <tr>
      <td>{line_desc}</td>
      <td>{line_qty}</td>
      <td>{line_total_ht}</td>
✅ Automatic Indentation
The editor automatically reformats your code with proper indentation.
🎨 Syntax Coloring
HTML tags, attributes and values with distinctive colors for easy reading.
➕ Add/Remove Rows
Easily modify table structure without visual editor limitations.
🔧 Full CSS Control
Write advanced styles: flexbox, grid, animations and media queries.

💡 Tip: Combine the visual editor (for quick design) with the HTML editor (for precise adjustments). Code remains intact when switching editors.

🆕 Formula Engine v1.5

Perform calculations directly in your templates, without programming.

<!-- Quantity × Price × (1 - Discount%) -->
<td>{calc:line_qty * line_price * (1 - line_discount/100)}</td>

<!-- Margin per line: Price - Cost (extra field) -->
<td>{calc:(line_price - extra_line_cost) * line_qty}</td>

<!-- Custom VAT per line -->
<td>{calc:line_total_ht * 1.20}</td>

<!-- Aggregations (outside loop) -->
<p>Total items: {sum:line_qty} — Average: {avg:line_price}</p>
<p>Lines: {count}</p>

<!-- Calc at document level with extra field -->
<p>Margin: {calc:doc_total_ht - extra_total_cost}</p>
🔢 Line Variables:
line_qty, line_price, line_total_ht, line_total_tva, line_total_ttc, line_discount, line_tva_rate, line_pos, extra_line_*
📄 Document Variables:
doc_total_ht, doc_total_tva, doc_total_ttc, doc_total_localtax1, doc_total_localtax2, extra_*
⚙️ Operators: + - * / % · parentheses · decimals · negatives · secure parser (no eval)

🎯 Recommendations: When to Use Each Editor

🎨 Visual Editor (Drag & Drop)

✅ Ideal for:
  • General template design
  • Quickly add pre-designed blocks
  • Adjust visual styles (colors, typography)
  • Position elements and basic layout
  • Insert variables from side panel

</> Raw HTML Editor

✅ Ideal for:
  • Add/remove rows and columns
  • Modify table headers
  • Apply advanced CSS (flexbox, grid)
  • Fix HTML format errors
  • Fine adjustments impossible in visual
  • Complex structure modifications

⚡ Pro Tip: Changes in the HTML editor are preserved when returning to the visual editor. Use both without concern: design first visually, then fine-tune in HTML if needed.

📋 How It Works

1

Create a Template

Select document type, page format and margins.

2

Design Visually

Use the drag-and-drop editor. Drag blocks and variables from the side panel.

3

Set as Default

Assign the template as default and activate the PDF Designer template.

4

Generate Your PDFs!

Your documents will automatically use your custom design.

🧩 Pre-designed Blocks Ready to Use

📄 Header — Logo, company data and document reference 👤 Customer Data — Block with all third-party information
📊 Lines Table — Complete table with integrated line loop 💰 Totals — Total HT, VAT and TTC with professional design
💳 Payment Info — Payment terms and methods 📝 Notes — Document public note block
📎 Footer — SIRET, VAT and pagination 🔤 Basic Elements — Text, title, image, separator, columns

⚙️ Technical Requirements

Operating System Linux (Ubuntu, Debian, CentOS, RHEL, etc.)
Dolibarr 16.0 or higher
PHP 7.4 or higher
PDF Engine wkhtmltopdf (mandatory) — Full CSS support

⚠️ Important: Linux + wkhtmltopdf Only

This module requires a Linux server with wkhtmltopdf installed. It is not compatible with Windows servers. wkhtmltopdf is necessary to generate PDFs with advanced CSS support (flexbox, borders, web fonts).

🐧 Installing wkhtmltopdf on Linux

Ubuntu / Debian:

sudo apt-get update
sudo apt-get install -y wkhtmltopdf

CentOS / RHEL / AlmaLinux:

sudo yum install -y wkhtmltopdf

Version with full support (recommended for servers without graphics environment):

# Download patched Qt version (better rendering)
wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.jammy_amd64.deb
sudo apt install -y ./wkhtmltox_0.12.6.1-3.jammy_amd64.deb

Verify Installation:

wkhtmltopdf --version

💡 On headless servers (without graphics environment), you may need to also install: xvfbsudo apt-get install -y xvfb

🔐 Permission System

Granular access control: Read templates, Create/Edit templates and Delete templates. Configure which users or groups can design and manage PDF templates.

🖥️

Try It Before You Buy!

We have an online demonstration instance where you can see PDF Designer working in real time with example data and all features.

🌐 Access Live Demo

To request your credentials as a demo administrator user, send an email to:
📧 admin@erpmodplus.com

📥 Easy Installation

1. Download the module from Dolistore

2. Go to Home → Settings → Modules → Deploy External Module and upload the ZIP

3. Activate the "PDFDesigner" module

4. Start designing your PDF templates!

PDF Designer for Dolibarr

Version 1.5.0  |  GPL v3 License  |  Compatible Dolibarr 16.0+

150 €



If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org