AdoxERP Logo

Print templates

Customize A4 print layouts for invoices, quotations, bills, vouchers, and CRM documents — starters, merge fields, Arabic, and when the built-in layout is used.

Print templates control how documents look when you click Print, and the PDF attached to Email and WhatsApp. You design one layout per document type. Until a template is Active for that type, AdoxERP keeps using the original built-in print format.

ℹ️

Print templates are A4 (and similar paper sizes) only. They do not change POS 80 mm receipts or the ZATCA tax invoice / PDF-A3 (those stay on their own compliance layouts).


Where to open it

  1. Go to General Settings → Master → Print Templates
  2. Optionally filter by document type in the left list
  3. Click Add Template, or Start from a template to copy a ready-made layout
  4. Choose the document type, edit the HTML (or visual editor), then Save
  5. Turn Active on — only one template per document type can be active

Your role needs Print Templates permission. If the menu is missing, ask an administrator.


Configure a template

  1. Name the template (for example “Sale invoice — company letterhead”).
  2. Set Document type to the screen that should use it (Sale, Delivery Note, Quotation, and so on).
  3. Pick Paper size (usually A4) and margins in millimetres.
  4. Optional: Start from a templateTransaction details (current format) matches the existing Sales / Purchase print.
  5. Build the body with merge tokens from Insert fields (click a field to insert {{doc.ref}}, {{business.logo}}, and similar).
  6. Turn on Include Arabic labels and product names if invoices should show English / Arabic (also applies when Enable local name is on in business settings).
  7. Choose which line table columns and summary rows appear (for example hide line tax and keep tax only in the totals).
  8. Click Preview (sample data), then Save. Switch Active on from the form or the list.

Dev Mode shows the HTML. Use it for layouts with tables and headers so the visual editor does not rewrite them. Format code only tidies indentation.


Which Print button uses which template

DocumentWhere you printTemplate type
Sale (invoice)Sales → Sale → PrintInvoice (sale)
Delivery note, sale order, quotation, sale returnSame transaction details PrintMatching type
Purchase, purchase order, GRN, purchase returnPurchase documents → PrintMatching type
Receipt / payment voucherAccounts → voucher → PrintReceipt voucher / Payment voucher
CRM quotation / CRM orderCRM document → PrintCRM Quotation / CRM Order
Email / WhatsApp PDFDocument → Email or WhatsAppSame type as Print for that document

If there is no active template for that type, or the template cannot render, AdoxERP uses the existing built-in layout for that screen.


Company logo and letterhead

  • Logo — insert Logo from Insert fields ({{business.logo}}). It uses the logo saved on the company (business) record.
  • Letterhead image — there is no upload on this screen. Host the file on HTTPS (your website, CDN, or object storage), then add it in Dev Mode as an <img> at the top of the HTML, or as a background-image in Custom CSS. Scope CSS to #print-doc. Example:
#print-doc {
  background-image: url('https://your-domain.com/letterhead.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  padding-top: 40mm;
}

The image URL must stay publicly reachable when staff print or send PDF.


Arabic

Turn on Include Arabic labels and product names on the template, or enable Enable local name in business settings. Line items then show product name_lang when it is filled. Insert fields also include bilingual labels (Date / Arabic) and Arabic-only label.* tokens.


What Print templates do not change

  • POS Print (80 mm thermal receipt)
  • ZATCA tax invoice download / PDF-A3
  • Tax amounts, totals, or accounting (templates only change how saved amounts are displayed)

What to do next