CRM Document Templates: Contracts and Invoices in a Minute
The contract lives in Word, the client's details are copied from an email, the amount in words is typed by hand, the stamp is pasted in as an image — and every third document has a typo in the tax ID. In emyCRM, you build a template once, and from then on a document is generated from an invoice in a couple of clicks: company details, items, totals, signature and stamp are filled in automatically.
Contents
Supply contract No. {Document.Number} dated {Date.Today}
Buyer: {Buyer.LegalName}, USt-IdNr. {Buyer.TaxId}
| Item | Qty | Amount |
|---|---|---|
{Item.Name} | {Item.Quantity} | {Item.Total} |
Total: {Items.Total}
{Seller.Stamp}How a template works
A template is an ordinary document with tokens in curly braces where the data would go. When it generates a document, the CRM replaces each token with a value from the invoice and the records linked to it. The full list of tokens is in the “Available tokens” block on the templates page: clicking a token copies it, and filters help you find the field you need.
| Token | What gets filled in |
|---|---|
{Invoice.Number}, {Invoice.IssuedDate} | Invoice number and date |
{Buyer.LegalName}, {Buyer.TaxId} | Client's legal name and tax ID |
{Seller.BankName}, {Seller.Account} | Your bank and bank account |
{Item.Name}, {Item.Quantity}, {Item.Total} | A row of the items table — repeated for each line item |
{Items.Total}, {Items.VatTotal} | Total and VAT amount |
{Invoice.AmountInWords} | Amount in words |
{Seller.Signature}, {Seller.Stamp} | Signature and stamp images |
{Document.Number}, {Date.Today} | Document number and today's date |
You also get fields from the company, contact, deal and owner, plus your own custom fields — their tokens appear in the list automatically.
Three ways to make a template
- Upload your own .docx. “Settings → Document templates” → “+ Upload a template.” A contract you already have will do: replace the data in it with tokens and upload the file.
- Build it in the browser. “+ Visual template” opens the editor: headings, lists, tables and the “⊞ Items” button — a table row that repeats for every line item on the invoice. You don't need Word.
- Turn a .docx into a visual template. The “Visually” button in the template's row opens the uploaded file in the editor, if it's easier to edit it in the browser.
An uploaded .docx can be edited without Word too: you change the text of paragraphs and table cells right in the window, with a live PDF preview with sample values next to it. Images and complex formatting are better changed in Word — download the template and upload it back with the “Replace the file” button.
Why everything starts with an invoice
In emyCRM, a document is generated from an invoice: it already has the client, their company details, the items, prices, discounts and VAT. That's why a supply contract, a work completion certificate and a specification are simply different templates on top of one invoice, not different sections of the CRM.
- In the deal, open the “Invoices” tab and create an invoice — it will be linked to the deal and the company.
- In the invoice card, open the “Documents” tab and click “Generate document.”
- Choose a template and a format — DOCX or PDF. If you or the client have several sets of company details, choose the one you need.
- Click “Preview” to check the document, then “Generate” — the file appears in the tab and in the invoice's activity feed.
The window remembers your last choice — template, company details, VAT and format — so the second and later documents go even faster. Need a PDF of a DOCX that's already been generated? The “PDF” button in the document list makes one without a new number. How invoices and payments themselves work is covered in our article on CRM invoices and proposals.
Number, signature and stamp
- Document number
{Document.Number}— the invoice number plus the document's sequence number within it: “42/2607/15-1”, “42/2607/15-2”. Numbers never repeat, and the invoice number format is set in “Settings → Money & deals.” - Signature and stamp — PNG or JPG images in “Settings → Requisites” → “My requisites,” in the “Signature and stamp” block. In the template, they're placed with a token or a placeholder image wherever you need them in the document.
- Several legal entities — several sets of company details. You pick the one you need directly in the generation window, and a set you don't need can be switched off without deleting it.
VAT and company details
Tokens work the same way in any country: the tax ID, address, bank and signatory come from the company's details. You set the VAT clause yourself: “Always with VAT,” “Always without VAT” or “Choose when creating.”
Who can create templates and generate documents
Templates are created and edited by an employee with the “Manage document templates” permission — by default, that's the administrator. Anyone who can see the invoice can generate a document. The “Access” button in the template's row limits it to specific departments or employees: a contract for wholesale buyers is visible only to the wholesale sales reps. More on permissions in our article on CRM roles and permissions.
Where to start
- Fill in “My requisites” and upload your signature and stamp.
- Take the document you send most often and replace the data in it with tokens.
- Upload it as a template and generate a preview on any invoice.
- Once everything matches, add the other templates: completion certificate, specification, contract.
Can I upload my own contract template?
How does the items table get into the document?
Can I add a signature and stamp?
What is a contract or completion certificate generated from?
What format does the document come in?
Build a template once — and documents are ready in a minute
14 days free on the “Standard” plan. No card required.