Skip to content
Start free trial

How to Generate a PDF from a Record

How to Generate a PDF from a Record

HARi CRM can generate professional PDF documents from any record — invoices, quotes, proposals, or any custom entity that has a PDF template assigned.

  1. Open the record you want to generate a PDF for (e.g. an invoice)
  2. Click the PDF button in the record toolbar (visible only if a PDF template exists for the entity)
  3. The PDF is generated and downloaded to your computer

The button is hidden when no template is configured for the entity. Add one in Settings > Templates before trying again.

After download:

  • Send by email — Click Send Template in the same toolbar to compose an email using one of your email templates. The PDF is not auto-attached; drag-and-drop the downloaded file into the composer if you want to include it.
  • Attach to the record — Drag the PDF into the Files tab on the record so colleagues can find it later.

PDF templates define the layout and content of the generated document. They pull data directly from the record:

  • Header — Your company logo, name, and address
  • Customer details — Pulled from the linked contact or company
  • Line items — For invoices and quotes, the items table is generated automatically
  • Footer — Payment terms, notes, or legal text

Templates are managed in Settings > Templates. You can have multiple templates for different purposes (e.g. a formal invoice template and a simple receipt template). Today, the PDF button uses the first matching template for the entity.

Templates use placeholders that are replaced with actual data when the PDF is generated:

  • Record fields (invoice number, date, total)
  • Related record fields (customer name, address)
  • Calculated values (subtotal, tax, grand total)
  • Your company information (from workspace settings)
  • Preview before sending — Always review the PDF to catch formatting issues
  • Use your branding — Add your logo and brand colors to the template for a professional look
  • Multiple formats — Create different templates for different document types (invoice vs. quote vs. contract)