SuiteCRM PDF Templates Made Easy: Beginner’s Guide To Custom Templates

Create custom PDF templates in SuiteCRM easily with this guide, which includes steps for designing professional documents, adding variables, and customizing styles. Improve your document generation and make a lasting impression with SuiteCRM PDF Templates.

Creating professional, branded documents is essential for any business. SuiteCRM PDF Templates module allows you to generate customized PDF documents, such as quotations and invoices, directly within the system.

In this article, you’ll get an overview of SuiteCRM PDF Templates, learn how to create a new PDF template, adjust and customize your template, and get practical tips for working with templates.

Here’s a video that will walk you through the process of creating and adjusting PDF templates in SuiteCRM, helping you streamline your document generation process.

Hier klicken, um den Inhalt von www.youtube.com anzuzeigen


Overview

Overview of SuiteCRM PDF Templates

SuiteCRM PDF Templates enable you to create tailored PDF documents that match your corporate identity. Whether you need to generate invoices, quotations, or other documents, SuiteCRM provides a straightforward way to produce professional PDFs that include your branding elements, such as logos and company details. 

Check out my video on quotations and invoices in SuiteCRM for more details.

Hier klicken, um den Inhalt von youtu.be anzuzeigen


Create a PDF Template

Creating a New PDF Template

create new pdf template in suitecrm

To start, open the PDF – Templates module in your SuiteCRM system. Begin by creating a new template for your invoices. If you work with multiple languages or have different versions for different audiences, name the template logically and assign it to the responsible person.


Customize Your Template

Adjusting and Customizing Your Template

Type

suitecrm pdf template-type

Select the type of document you want to create with this template. The system defaults to templates for:

  • Quotes
  • Invoices
  • Contracts
  • Contacts
  • Leads

It is possible to extend the list, even to your custom modules. But it requires some additional code. Let me know if you need PDFs for your custom SuiteCRM templates and I’m happy to help.

Load Sample

suitecrm pdf template-load sample

You can simplify the process by loading a sample template, which pre-fills many fields for you. 

Active or Inactive

suitecrm pdf template active

Adjust the template as needed by switching it to active or inactive based on your requirements. Sometimes you have different versions of documents, which you might want to keep in your CRM system for historical reasons. For example, if a customer requests an old invoice and your payment terms have changed, you can reactivate the old one. This allows you to display the original terms on the old invoice. You can also create versions of templates for better organization.

Page Size

Set the page size to A4, letter, or legal, depending on your country’s standards.

Orientation

suitecrm pdf template orientation

Choose between portrait or landscape orientation.

Body Field

suitecrm pdf template body

The body field allows you to add your logo, additional sentences, notes, or variables from the module itself. Insert variables like the invoice name to make the template dynamic.


Insert Variables

Inserting Variables to the PDF Template

suitecrm pdf template insert fields

If you want to add the invoice name at the top, go to Insert Fields and select Invoices. This will show you different modules; choose Invoices since we’re building it for them. You can also add fields like assigned users, so if the invoice is assigned to a key account manager, it will display their name.

suitecrm pdf template insert variable

Click to insert the variable into your template. The field name comes from the database, and when the PDF is generated, it will pull the value for each record. You can add various fields like billing address, modified by, invoice number, line items and your custom fields.

suitecrm pdf template variables

If you want to learn about invoices, check out my video on how to create invoices in SuiteCRM.

Hier klicken, um den Inhalt von youtu.be anzuzeigen

Setup Header, Footer, and Margins

Customize the header and footer as needed, which is useful for long invoices spanning multiple pages.

suitecrm pdf template header and footer

Adjust margins for printing, and play around with variables like the date format to match your requirements. This ensures your document looks professional and is easy to read.

suitecrm pdf template margins

Generate the PDF

How to Generate SuiteCRM PDF Templates

After saving your template, open an Invoice and select “Print as PDF” to generate and download it.

invoice print as pdf

You can then review and make adjustments as necessary. If you’re familiar with HTML, it can help with more precise customization. Once generated, open the PDF to review it.

invoice pdf template

It should look similar to what you configured in the editor. If adjustments are needed, keep the result open on one screen and the PDF template editor on another. Make the necessary changes in the PDF template editor. For example, if you want to change the logo, upload your logo to the SuiteCRM folder and replace the current logo’s HTML source with the new one.

Save your changes and generate the PDF again to see the updates. If the layout or colors need tweaking, you can edit the table properties, such as adjusting the width or changing colors. Use HTML if needed for more precise adjustments.

edit suitecrm pdf template html

Review the PDF again and continue refining it until it meets your expectations. If you need further customization, such as adding a header or footer, make those changes in the template. Ensure that the final template fits your business needs and provides a professional look for customer communications.

If you encounter difficulties, consider seeking help from someone with HTML knowledge or use an external HTML editor. Investing time in getting your PDF templates right will enhance your customer communication and improve your overall document generation process.

Bastian Hammer round portrait

Helpful tip!
After creating your template, save and test it by generating a PDF in the invoices module. Keep the result open while editing for real-time adjustments, especially if you have two screens. If needed, seek help for detailed customizations.

Bastian Hammer


Practical Tips

Practical Tips for Working with Templates

1. Testing Your Template

Once you’re satisfied with your template, save it and test it by going to the Invoices module, opening an invoice, and selecting “Print as PDF.” Review the generated PDF and make any necessary adjustments.

2. Versioning and Adjustments

Keep the result open while editing the template to see changes in real time. This is particularly useful if you have two screens, allowing you to view the result on one screen and make edits on the other.

3. Seeking Help

Customizing a PDF template can take time, especially for detailed adjustments or different versions. If you encounter difficulties, consider seeking help from someone with HTML knowledge.


Recap

Quick Recap on SuiteCRM PDF Templates

To summarize, generating a PDF or printing your records in SuiteCRM involves a few key steps. First, you need to create a PDF template through the PDF Templates module. Then, configure the template to meet your needs. While the configuration process can be detailed and complex, any HTML adjustments you make will be reflected in the final PDF document.

When you’re ready to generate the PDF from your records, navigate to the relevant module such as invoices, quotations, accounts, or contracts. Click on “Print as PDF,” and SuiteCRM will use your selected template to produce the PDF file. 

Ready to streamline your document generation process with SuiteCRM PDF Templates? Start creating your custom templates today and enhance your business’s professional image. For more advanced tips and personalized assistance, feel free to reach out to me.

Thank you for reading! I hope this guide has been helpful in getting you started with SuiteCRM PDF Templates. Stay tuned for more tutorials and tips, or check out my courses to maximize your SuiteCRM experience.

Scroll to Top