xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField Sales & SFACRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
Auto DMSConsumer Goods DMSSales Force Automation (SFA) FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Analytics & Reporting/Document prints — print templates for records
HOW-TO · Last reviewed

Document prints — print templates for records

A document print is the PDF of one record — a tax invoice, a sales order, a delivery challan, a payslip — drawn from a print template that says which parts of the record go on the page. You print it from the record with a Print or Preview button. Administrators manage the templates in Setup, on the entity's Layouts tab, as rows of Type Print.

Overview

Every record document in xMatix prints from a print template. The template decides what prints: the letterhead company, the title and document number, a strip of header facts, the Bill to and Ship to parties, the line table and its columns, charges, totals, the GST summary, notes and terms, and sign-off blocks. xMatix decides how it looks. Fonts, spacing, page numbering and number formatting are the same on every tenant, and a template can choose only from a fixed set of looks. There is no free-form designer and no pixel positioning.

The older banded print formats were removed, along with their report designer and the separate Document Prints list. Every tenant's Print and Preview buttons were moved to templates automatically. A tenant's own banded designs became tenant templates named after the old print with a _c ending. Old links to the Document Prints list now open Reports.

Two similar names mean different things:

  • A print template (this page) prints one record.
  • A report print template (Setup → Feature Hub → Platform → Report print templates) only changes how a whole report or financial statement looks when it is exported to PDF.

When to use it

  • Users: to print, preview, download, email or share a record as a document — for a customer, a transporter, an employee or your own files.
  • Administrators: to change what an invoice or order shows, to add a second format (such as a half-page invoice), to give one record type a different document, or to choose which format a button prints.

How xMatix handles it

Which template prints a record. When a button doesn't name its own template, xMatix works through these checks in order:

  1. An assignment that matches the record. An assignment ties a template to a record type, a company and/or a branch. The most specific match wins: record type outranks company, and company outranks branch. If two matches are equally specific, the lower priority number wins, and after that your own template wins over a shipped one.
  2. The record type's default template.
  3. The entity's default template (the one with no record type). Your own default outranks a shipped default.

If none of these applies, the entity has nothing to print.

Buttons can name a template. A Print or Preview action has a Print layout that names one of the entity's print templates. That button prints that template.

Choosing at print time. When more than one template can print a record, the record's Print or Preview button becomes a split button. The main half prints the default, or the template you picked last time on that button. The arrow lists the other templates, each with its paper size (for example "A4" or "Half page"). A template is in that list only if:

  • it is active and set to be offered when printing, and
  • it fits the record: it has no record type or the record's type, and no assignment scopes it to a different company or branch.

Your last choice is remembered per button. If you choose the default again, xMatix forgets your choice, so a later change of default reaches you.

What the data looks like. A print reads the record the same way the record page does. Your record access, field-level read restrictions and custom fields all apply. A tenant that runs one company or one branch doesn't see Partner or Branch facts and columns (the letterhead still shows the company). A line column that is empty on every line of the document is left out.

Output. Documents are PDF only. Copies come out as one rendered copy per copy label, for example "Original for recipient" and "Duplicate for transporter". Each copy restarts at page 1. If no line on an invoice is taxed, a template that sets a "title when no line is taxed" prints that title instead, such as "Bill of supply".

Prerequisites

  • To print: your security profile must grant the Print or Preview action (Setup → Access control → the profile → Actions tab), and you need read access to the record.
  • To manage templates: the Manage document templates capability. Your profile also needs the setup access that opens the entity's Layouts tab.
  • The entity must have at least one active print template. See Shipped templates.

Procedure

Step 1 — Print a record

  1. Open the record, for example a posted invoice.
  2. In the page header, choose the print button. Its label depends on the entity — for example Print Invoice (or Print Service Invoice for a repair-order invoice), Print DO on a delivery order, or Print payslip on a payslip. The table in Shipped templates lists the shipped buttons.
  3. If the button has an arrow (▾), you can pick another template from it. Otherwise it prints the default.

xMatix renders the PDF on the server ("Preparing document print...") and opens your browser's print dialog. Printing doesn't change the record or its status.

Step 2 — Preview, then print, download, email or share

  1. Choose Preview on the record. The preview opens as its own tab beside the record, named "Preview ·" followed by the record's number. It shows the whole page, with page and zoom controls.
  2. Use Print settings on the right. These change this print only; the template itself stays the same:
    • Template — any template on offer for this record. The default is marked "(default)".
    • Copies — the template's own copy labels plus "Original for recipient", "Duplicate for transporter" and "Triplicate for supplier". Pick at least one.
    • Show on page — Letterhead, plus Bank details, GST summary by rate and Signature block when the template prints them. If you hide the letterhead, its space is left blank so you can print on pre-printed stationery.
  3. Choose what to do with the document:
    • Print sends it to the browser's print dialog.
    • Download PDF saves it.
    • Email to (followed by the Bill to party's name) opens Email document with the PDF attached and the recipient filled in. You need a connected mailbox. Without one, the dialog says "No mailbox to send from".
    • The share-by-chat button creates a link that works for 24 hours and opens your business chat app with it. The button is disabled until an administrator enables a chat channel under Setup → Messaging channels.

Step 3 — Print several records as one PDF

  1. On a list that has a Print or Preview action in its header, select the records.
  2. Choose the action. xMatix shows "Preparing N documents..." and then "Rendering documents: x of N...".
  3. Print opens the browser's print dialog. Preview shows the combined PDF in a dialog.

Each record starts on a new page. One run takes at most 500 records. Records you can't read are left out before the job starts. An action that requires a selection answers "Please select at least one record." if nothing is ticked.

Step 4 — Print on the mobile app

On a mobile document screen that has the PDF bar, Download PDF prints the record with its default template. When more than one template is on offer, Template next to it opens a list so you can pick another.

Step 5 — Create a print template (administrator)

  1. Go to Setup → Entities, open the entity (for example Invoice) and select the Layouts tab.
  2. Choose New → Print template. New is a menu only if you hold Manage document templates.
  3. In New print template, fill in:
    • Name, for example "Half-page invoice".
    • Record type (optional; leave it empty for all record types).
    • Start from: Generate from the View layout (xMatix drafts a template from the record page) or Duplicate an existing template. If you duplicate, also pick the Template to duplicate.
    • Look and Accent colour.
  4. Choose Create and design. The template editor opens, titled "Print template:" followed by the template's name.

A template you create is not the default. Your own template names get a _c ending.

Step 6 — Design the template and check it on a real record

  1. On the left, work through the sections. Each is described in Fields.
  2. On the right, Preview renders your unsaved draft against a record you pick. It re-renders a moment after each change.
  3. Choose Save in the page header. You'll see "Print template saved". Every save that changes the template is recorded as a new version.

Field pickers offer the entity's fields, plus one lookup hop (for example the order's name on an invoice). For line columns they offer the line entity's fields. In notes, type @ to insert a field. If a field the template uses no longer exists on the entity, it shows a warning mark and prints empty.

Step 7 — Customise a shipped template

A shipped (standard) template opens read-only, with the note "Shipped template". To change it:

  1. Choose Duplicate in the editor, or Duplicate Print Template on the Layouts row.
  2. Edit and save the copy.
  3. On the Layouts tab, choose Set as default Layout on the copy. The old default for the same entity and record type is demoted automatically.

Step 8 — Make a button print a particular template

  1. Go to Setup → Entities → the entity → Actions and edit the Print or Preview action.
  2. In Print layout, pick one of the entity's Print templates. The default is listed first.
  3. Save. That button now always prints the chosen template.

Each button can print its own format. For example, the shipped invoice actions are Full Page Invoice Print (the A4 Tax invoice) and Half Print (the Half page invoice).

Step 9 — Choose which templates are offered when printing

On the Layouts tab, use the template row's Stop offering when printing or Offer when printing. This works on shipped templates too. A button's own template, or the record's default, is always the main choice, whether or not it is offered. If only one template is on offer, the button has no arrow.

Step 10 — Restore an earlier version

  1. Open the template (Design Print Template) and choose Versions.
  2. Choose View to see a version read-only in the form and preview ("Viewing version N"). Choose Restore to make it current.

A restore saves that version again as a new version ("Version N restored — Saved as a new version."). History is never rewritten. Shipped templates have no editor history.

Fields

New print template dialog

FieldWhat it meansNotes
NameThe template's label, shown in Layouts, the Print menu and Print settingsRequired
Record typeLimits the template to one record type of the entityEmpty = "All record types"
Start fromGenerate from the View layout or Duplicate an existing templateDuplicating is the only way to customise a shipped template
Template to duplicateThe template to copyShown when duplicating; shipped ones are marked "(standard)"
LookStandard, Classic (ruled grid), Compact or MinimalWhen duplicating, "Same as the template duplicated"
Accent colourTerracotta, Indigo, Forest, Violet, Teal or Black (mono)As above

Editor sections

SectionWhat you setNotes
Paper and copiesPaper size (A4, A5, Letter, Half page), Orientation (Portrait, Landscape), Copies (one label per copy)Half page uses the top half of an A4 sheet
StyleLook, Accent colour, Text size (Small, Normal, Large), Logo position (Left, Right)Standard: accent bar, shaded column head and totals. Classic: every cell boxed, the traditional GST invoice. Compact: tighter spacing, more lines per page. Minimal: no accent bar or shading, for mono laser printers. No custom colours, fonts or sizes
LetterheadIssuing company (lookup), Logo resourceIf the record's company field is empty, the tenant's own company is used. With no logo resource, a monogram tile is printed
TitleTitle, Title when no line is taxed, Document number, Subtitle, Chip beside the titleSubtitle can include fields
Header factsLabel and value pairs under the titleA field of the record, or one lookup hop. Formats include date, money, quantity and percent
PartiesBill to and Ship to blocks from a lookup to an account, with billing or shipping addressAddress fields on the record can override the account's address
LinesLine items (the child relation), Order lines by, then columns: field, label, format, width, Total, second lineA column that is empty on every line is left out of the print
ChargesCharges relationCharges are itemised above the closing total
Totals and tax summaryTotal rows from header fields, Amount in words field, GST summaryTotals print the header fields as stored. The GST summary is built from the lines
Notes and termsOne numbered note per paragraphType @ to insert a field. A note whose fields are all empty is dropped
Sign-offSign-off blocks: a title (for example "Authorised signatory") and a line under itThe line can include fields such as the company name

Layouts row (Type Print)

Column or actionWhat it means
Default, ActiveWhether it is the default for its entity and record type, and whether it can print
Design Print Template / View Print TemplateOpens the editor. View is shown for shipped templates (read-only)
Duplicate Print TemplateOpens New print template with this template as the source
Offer when printing / Stop offering when printingWhether the template appears in the Print menu and Print settings
Set as default LayoutMakes it the default for its entity and record type
Activate Layout / Deactivate LayoutSwitches it on or off; works on shipped templates too
Delete LayoutDeletes your own template (not shipped ones) after confirmation

Business rules

  • Each entity and record type has only one active default template.
  • Shipped templates are locked. You can only deactivate them, remove their default flag, or stop offering them. Platform updates keep them current.
  • Each save that changes a template creates a version. Changing only the name or a switch does not. A restore creates a new version.
  • A printed document is cached. Saving the template or the record produces a fresh print.
  • Print settings in Preview (template, copies, parts shown) never change the template.
  • Bulk print renders up to 500 records per run, each starting on a new page, and only records the person can read.
  • Deleting a template does not repoint the actions that name it. Before deleting, set those actions' Print layout to another template (Step 8). Otherwise their buttons fail with "No such document print."
  • There is no Setup screen for assignments (a template for one company, branch or record type that is not its default). The Setup Copilot can create and check them. For a record type alone, give the template that Record type and set it as default.
  • Document prints can't be subscribed to by email. Subscriptions deliver reports and dashboards.

Shipped templates

EntityTemplateDefaultShipped button that prints it
InvoiceTax invoiceYesPrint Invoice, Full Page Invoice Print, the list-header Preview
InvoiceHalf page invoiceHalf Print
InvoiceTax invoice with bank detailsPreview (record)
InvoiceService invoicePrint Service Invoice
OrderSales orderYesPreview, list-row Print and Preview
QuoteQuotationYesPrint Quote (sales)
QuoteService estimatePrint Quote (service)
DeliveryOrderDelivery challanYesPrint DO
PurchaseOrderPurchase orderYes— (add a Print action)
PayslipPayslipYesPrint payslip
PayslipForm 12BB (tax declaration)Print tax declaration
PayrollRunPayroll registerYesPrint register
TdsCertificateForm 16 Part BPrint Form 16
TdsChallanChallan ITNS 281Print Challan
AccountAccount profileYes—
PartnerOnboardingPartner onboardingYes—
AwardCertificateYes—

Whether a button appears on a record also depends on the record layout and on the grants in your security profile.

Example

A distributor wants a smaller invoice for counter sales, while keeping the A4 tax invoice as the default.

  1. The administrator opens Setup → Entities → Invoice → Layouts and chooses New → Print template. They name it "Counter invoice" and choose Duplicate an existing template → Half page invoice (standard), with Look Compact and Accent Teal. Then they choose Create and design.
  2. In Notes and terms, they add "Goods once sold are taken back within 7 days with this bill." In the preview, they pick invoice INV-2026-0412 and check the half page. Then they choose Save.
  3. The template is not the default, and it is offered when printing. So on INV-2026-0412, Print Invoice now has an arrow, and its menu lists "Counter invoice · Half page".
  4. A counter clerk picks Counter invoice once. From then on, Print Invoice prints it for that clerk, while colleagues still get the Tax invoice.

Training

Practice exercise

In a sandbox, duplicate the shipped Sales order template and name it "Sales order — classic". Set Look to Classic and add a header fact for the order date. Save it, then open Versions: version 1 is listed. Change the accent colour and save again. Now there are two versions. Restore version 1: a third version is created. Open any order, choose Preview, and pick "Sales order — classic" under Template. Expected result: the order prints with boxed cells and your date fact, and the shipped Sales order is still the default.

Quick reference

  • Templates live at Setup → Entities → the entity → Layouts, Type Print.
  • Shipped templates are read-only: duplicate, edit, then Set as default Layout.
  • A Print or Preview action's Print layout decides what that button prints.
  • More than one template on offer → the button gets an arrow menu, and your choice is remembered.
  • Preview's Print settings change one print only.
  • Documents are PDF only; bulk print allows up to 500 records, one per page.
  • Before deleting a template, repoint the buttons that name it.

Permissions

TaskWhat you need
Use a Print or Preview buttonThe action granted on your security profile's Actions tab. Without it, the button isn't shown
See a record's data on the printRead access to the record. Fields you can't read print empty. Bulk print skips records you can't read
Create, design, duplicate, offer, set default, activate or delete templatesManage document templates. Without it, the editor is read-only and New offers no Print template
Change which template an action printsRights to edit the entity's actions in Setup
Email from PreviewA connected mailbox

Some shipped actions have no shipped grant. For example, Full Page Invoice Print and Half Print must be added to the profiles that should use them. See Security profiles.

Configuration

SettingWhereEffect
Print templatesSetup → Entities → the entity → Layouts (Type Print)What each record prints
Default per record typeRecord type on the template + Set as default LayoutRecords of that type print their own default
Print menuOffer when printing / Stop offering when printingWhich templates people can pick
Button's templateSetup → Entities → the entity → Actions → Print layoutWhat one button prints
LogoLogo resource in Letterhead (a tenant image resource)The logo on the letterhead
Company bank detailsThe letterhead company's active bank accountPrinted by templates that show bank details
Chat sharingSetup → Messaging channelsEnables the share-by-chat button in Preview
Company or branch assignmentSetup CopilotA different template for one company or branch

Common problems

"No document report is configured for this action."

The Print or Preview action has no Print layout. Edit the action (Step 8) and pick a template.

"No such document print."

The action's Print layout names something that isn't a print template — for example a template that was deleted, or a leftover from the old banded prints. Pick a current template in Print layout.

"The record does not exist, cannot be read, or has no print template."

You can't read the record, or no template applies to it. Check that the entity has an active default for the record's type, or one with no record type.

"Nothing to print: the entity has no print template."

A bulk print was started for an entity with no active template. Create one (Step 5) or reactivate one.

"A bulk print takes at most 500 records"

Select fewer records and print in batches.

The print still shows the old layout

The record is printing a different template than you edited. That can be the button's own Print layout, a record-type default, or an assignment. Check the action first, then the defaults on the Layouts tab. The Setup Copilot can tell you which template a given record prints.

The share-by-chat button is greyed out

No chat channel is enabled. An administrator sets one up under Setup → Messaging channels.

A column I added is missing from the print

A column that is empty on every line of a document is left out of that document. Check that the field has values. If the editor shows a warning mark on the field, it no longer exists on the entity.

Common questions

Where did Document Prints and the report designer go?

The former Reports library listing banded document reports, a screen that no longer exists

They were removed. Banded print formats were replaced by print templates, and every tenant's Print and Preview buttons were moved to them automatically. If you had designed your own print, it became a template whose name ends in _c. You'll find it under Setup → Entities → the entity → Layouts, Type Print. Links to the old Document Prints list now open Reports. Grid reports and dashboards were not affected. To change how a record prints, edit or duplicate its template. To change what a button prints, set the action's Print layout.

Can I get the print as Excel or Word?

No. Document prints are PDF only. If you need the data in a spreadsheet, use a list export or a report. Report exports and print templates are separate: a report export gives you rows and columns to work with, while a print template produces the formatted page you send to a customer or file away. Within Preview you can still choose the copies and hide the letterhead, bank details, GST summary or signature block for one print.

Can I move fields anywhere on the page or use my own font?

No. A template chooses which parts and fields print, in a fixed anatomy, and one of four looks with six accent colours, three text sizes and two logo positions. Layout rules such as running headers on later pages, "Page x of y", Indian digit grouping and two decimals are applied by xMatix the same way for everyone. This keeps every document readable on any printer.

How do I give export invoices a different print?

If export invoices are a record type, create the template with that Record type and set it as default. Records of that type then print it, and other invoices keep the general default. For a different print per company or branch, ask the Setup Copilot to create an assignment.

Why does the order print show no Branch column?

Your organisation runs one branch (or one company), so xMatix hides that axis everywhere, including on prints.