Skip to content

Letter

A Letter is an official correspondence document used to communicate formally with Customers, Suppliers, Employees, Shareholders, or Contacts.

Letters provide a standardized method for preparing, formatting, and printing professional communication. Using Letter Templates with Jinja placeholders allows you to quickly generate consistent letters while maintaining a professional appearance using letterheads.

To open the Letter list, go to:

Home > Letter


1. Prerequisites#

Before creating a Letter, set up the following:

  1. Letter Type
  2. [Letter Template] (optional)

2. Creating a Letter#

  1. Go to the Letter list and click New.
  2. Select a Recipient Type (Customer, Supplier, Employee, Shareholder, or Contact).
  3. Choose the Recipient based on the selected type.
  4. Select the Company issuing the letter.
  5. Select the Letter Type.
  6. Optionally choose a Letter Template to auto-populate subject and content.
  7. Enter or modify the Subject and Content.
  8. Save and Submit.

![Letter]

letter

Additional options#

  • Recipient Address: Choose an address linked to the recipient. The formatted address appears automatically.
  • Company Address: Select the company address to display on the letter.
  • Letter Head: Choose a letterhead for printing. Defaults to the company’s letterhead.

3. Features#

3.1 Dynamic Recipient Selection#

The Letter DocType supports multiple recipient types:

Recipient Type Use Case
Customer Customer communications, acknowledgments
Supplier Vendor communication and notices
Employee HR and internal communication
Shareholder Communication with investors
Contact General formal correspondence

When a recipient is selected, the Recipient Name is automatically fetched.


3.2 Letter Template#

Letter Templates allow predefined formats with dynamic Jinja content. When a template is selected:

  • The Subject is populated
  • The Content is rendered using Letter values

Example template:

```jinja Dear {{ recipient_name }},

This letter is regarding your account with {{ company }}.

Date: {{ date }}

Adapted for EnigmaERP from the ERPNext documentation, © Frappe Technologies Pvt. Ltd. Content licensed under CC-BY-SA 3.0. EnigmaERP is a product of Enigma and is not affiliated with or endorsed by Frappe Technologies Pvt. Ltd.