Business Letter PDF Template — Multi-Engine Code Generator
A traditional block-format business letter on a branded letterhead with dynamic bindings ({{recipientName}}, {{subject}}, {{letterDate}}, etc.). Includes a rule under the masthead, a date and recipient block, a bold subject line, body paragraphs and a signature area.
Customize Visually in Studio | Export Full Source Code (22 Libraries) | Open Sample PDF
Generate Business Letter Programmatically (Code & JSON Schema)
Bind dynamic JSON data and compile this layout into standalone production code for @react-pdf/renderer, pdf-lib, Python ReportLab, PHP Dompdf, C# QuestPDF, and 17 more engines.
React / TypeScript (@react-pdf/renderer) Excerpt
import React from 'react';
import { Document, Page, View, Text, StyleSheet, Font } from '@react-pdf/renderer';
// This code is generated using codepdf.dev
Font.registerHyphenationCallback((word) => [word]);
// Document-wide defaults configured in the editor.
export const DOCUMENT_DEFAULTS = {
"fontFamily": "Helvetica",
"fontSize": 12,
"textColor": "#000000",
"locale": "en-US",
"currency": "USD",
"currencyDisplay": "symbol",
"timeZone": "GMT",
"dateFormat": "DD/MM/YYYY",
"timeFormat": "HH:mm",
"showPageNumbers": false,
"pageNumberFormat": "{{page}} / {{total}}",
"pageNumberPosition": "center",
"compress": true
};
// … (201 more lines in full generated file)
Python (ReportLab) Excerpt
from reportlab.lib.colors import HexColor
from reportlab.pdfgen import canvas
from reportlab.pdfbase import pdfmetrics
# This code is generated using codepdf.dev
class _NumberedCanvas(canvas.Canvas):
_DOC_KEYS = frozenset({
"_page_states", "_page_stamps", "_active_page", "_num_pages",
"AcroForm", "_doc", "_filename", "_destinations", "_outlines",
"_annotationCount", "_extgstate", "_namedCB", "_onPage",
})
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._page_states = {}
self._page_stamps = {}
self._active_page = 1
self._num_pages = 1
def _save_active_state(self):
self._page_states[self._active_page] = {
# … (419 more lines in full generated file)
Sample Dynamic JSON Payload (sample.json)
{
"senderCompany": "CodePDF Studio",
"senderContactInfo": "221B Market Street · San Francisco, CA 94103 · +1 555 0100 · hello@codepdf.dev",
"letterDate": "12 February 2026",
"recipientName": "Ms. Anita Rao",
"recipientTitle": "Head of Operations",
"recipientCompany": "Northwind Labs Pvt Ltd",
"recipientAddress": "Bengaluru, KA 560103",
"subject": "Renewal of the design services agreement",
"salutation": "Dear Ms. Rao,",
"bodyParagraph1": "Thank you for the continued partnership over the past twelve months. This letter confirms our intent to renew the design services agreement dated 1 March 2025 for a further term of one year, on the same commercial terms set out in Schedule A.",
"bodyParagraph2": "During the renewed term we will continue to provide design system maintenance, quarterly usability research and release support. The engagement summary and revised delivery calendar are enclosed for your review.",
"bodyParagraph3": "Please countersign the enclosed copy and return it at your convenience. If you would like to discuss any of the terms, I am happy to arrange a call this week.",
"signoff": "Yours sincerely,",
"senderName": "Sasi Kumar",
"senderTitle": "Principal Designer, CodePDF Studio",
"enclosures": "Enclosures: Engagement summary, delivery calendar",
"footerNote": "CodePDF Studio · Registered in Delaware · codepdf.dev"
}
Template Specifications
- Category
- Business
- Page Size
- A4 (portrait)
- Default Engine
- react-pdf-renderer
- License
- Free / MIT Commercial Code Ownership
Key Features
- Branded letterhead with contact strip
- Block-format date, recipient and subject line
- Body paragraphs ready to be replaced with bindings
- Signature block and footer rule
Business Letter Template FAQs
Where can I use the Business Letter template?
Use it for official company correspondence such as vendor notices, partnership inquiries, client announcements, executive introductions, or formal account letters.
What sections come in this letterhead layout?
It follows classic block-letter formatting with a company letterhead strip, date, recipient address block, bold subject line, body paragraphs, enclosures, and signature block.
Can it serve as a formal notice or cover memo for attachments?
Yes—the dedicated subject line, enclosures row, and footer note make it well suited for accompanying contracts, proposals, or official filings.
Related Business PDF Templates
- Professional Invoice — Line-item invoice with billing details, totals and payment terms.
- Quarterly Report Cover — Bold cover page with title block, reporting period and contents list.
- Purchase Order — Procurement PO with vendor, ship-to, line items and approval block.
- Project Proposal — Enterprise project proposal with executive summary, deliverables, timeline and budget table.
- Payment Receipt — Clean transaction receipt with payment method details, item breakdown and verified badge.