If at any point your screen does not look like the picture, stop and email support@lexbrief.au – we would rather help than have you guess.
Before you start
If this is your very first time in LexBrief, read Your first day in LexBrief Counsel first. This guide is about templates on their own.
You do not need anything set up in advance to add a template. To use one, you will need a matter or an invoice to fill it with – see the Matters and Invoices guides.
A note on wording: the dark strip of links down the left-hand side of the screen is the menu. When we say "click Templates in the left-hand menu", we mean click the word Templates in that dark strip.
What a template is
Think of a template like a mail-merge letter. It is an ordinary Microsoft Word .docx document that you have written once – your invoice layout, a standard letter, a costs agreement – except that the parts which change from one matter to the next are left as merge fields instead of fixed text.
A merge field is a blank that LexBrief fills in for you. In the document it is written as a short piece of text inside double curly brackets, for example {{ matter.client_name }}. When you produce a document, LexBrief swaps each merge field for the real value – the client's actual name, the invoice total, today's date – and hands you back a finished Word or PDF file. Your template is never changed; it is ready to use again for the next matter.
The Templates page
Click Templates in the left-hand menu. You see a list of your templates, each with its name, its Type, and whether a Word file has been uploaded for it. On the right of each row are the buttons to work with that template.

Below the list is a How it works panel that explains the three ways to build a template, with a tab for each. We cover those next.

Three ways to get a template
There is more than one way to end up with a working template. Pick whichever suits the document you are starting from:
- Make your own – you open a Word document, drop in the merge fields yourself (copying them from the Tags page), and upload it. Best when you want full control over the wording and layout. This is the main method, and the rest of this guide follows it.
- Identify fields – you upload a finished document that has no merge fields yet, and LexBrief reads it and offers to turn the changing parts (names, dates, amounts) into fields for you. Best when you already have a polished letter or agreement and would rather not type the fields by hand.
- Convert from BarBooks – if you have a Word invoice you downloaded from BarBooks, LexBrief recognises BarBooks' own merge fields and swaps each one for its LexBrief equivalent. Best when you are moving a template across from BarBooks.
The How it works panel on the Templates page has a tab and a numbered walkthrough for each of these three. We describe Identify fields and Convert briefly further down; the section below covers the everyday "make your own" path.
Add a template
1. Start a new template
On the Templates page, click the gold Add template button in the top-right corner.

2. Give it a name and choose a type
On the form that appears, type a Name for the template – whatever helps you recognise it, for example Regular Invoice or Client Letter.

Then choose its Type from the list. The Type is important: it decides which merge fields the template can use, and where in LexBrief the template is offered.

- Invoice – filled from an invoice; offered on the invoice page. Use this for your bill layout.
- Costs Agreement – filled from a matter; offered on the matter page.
- Receipt – filled from a payment on an invoice.
- Other – a general document filled from a matter (for example a letter). You can also add your own type if none of these fit.
3. Upload your Word file
Under Upload file (.docx), click Choose File and pick your Word document – the one with the merge fields already in it. (If you have not added the fields yet, see the next section first, or upload the plain document and use Identify fields to add them.)
4. Save it
Click the gold Create button at the bottom. Your new template now appears in the list on the Templates page.
Merge fields and the Tags page
To turn your Word document into a template, you replace the changing text with merge fields. You do not have to remember them – LexBrief lists every field you can use on the Tags page.
On the Templates page, click the Tags button in the top-right. You see a table of every available field, grouped into sections (your Profile, the Matter, the Client, the Invoice, and so on). Each row shows the field, the token to paste, and a Rendered value so you can see what it will look like when filled in.

To use one, click the token to copy it, then paste it into your Word document where the real value should appear. For example, in place of a hard-coded name you might type Dear {{ solicitor.salutation }}, and in place of a total, {{ invoice.total_inc_gst }}. Save the Word file, then upload it as your template.
For lists that repeat on an invoice – the schedule of work, or a list of disbursements – there is a way to make a single table row repeat once per item. This is more advanced; if you need it, the How it works panel has a "Set up repeating rows" helper, or just email us and we will set it up with you.
Client email fields, and a client's surname
In the Client section of the Tags page there are two email fields, and it is worth knowing which is which:
- Contact Person Email –
{{ client.email }}. The email address of the person you actually deal with at the client. - Accounts Email –
{{ client.accounts_email }}. The address for a company client's accounts people, that is, where the bill should go. It is only filled in for a company client, because an individual has just the one address.
If you are addressing an invoice, though, do not choose between those two by hand – there is now a single field that chooses for you. See the invoicing email tag below.
There is also Contact Person Last Name – {{ client.contact_last }}. For a company client this is every word after the first of the contact person's name, so a surname such as van der Spuy comes through whole rather than just the last word of it. For an individual client it is simply their last name.

{{ client.email }}, so any template you have already built keeps working exactly as before. You do not need to change anything.
You fill both email boxes, and the contact person's name, in on the client's record. See the Contacts guide.
Let LexBrief find the fields for you
If you already have a finished document with no merge fields in it, you do not have to add them by hand. Upload the plain document, then click Identify fields on its row. LexBrief reads the document and suggests which parts to turn into fields, for you to accept or adjust.

Bringing a template across from BarBooks
Moving from BarBooks? If you have a Word invoice you downloaded from BarBooks, use the converter instead. On the How it works panel, open the Convert an existing template tab and click through to the converter. Upload the BarBooks document and LexBrief swaps its fields for LexBrief ones and shows you a preview before saving.

The invoicing email tag
This one is worth a section of its own, because it fixes a problem that used to catch people out on invoices.
The problem: LexBrief sends an invoice to the accounts address when the client or the instructing firm has one recorded. But an invoice template written with {{ client.email }} in its "by email" line printed the contact person's address instead. So the document said one thing and the email went somewhere else – two different addresses on the same invoice.
The obvious fix does not work. You cannot put two tags side by side and hope the empty one disappears:
By email: {{ client.accounts_email }} {{ client.email }} ← do not do this
When a client has both addresses on file, that prints both, one after the other. That is precisely why LexBrief now gives you a tag that picks one address and one only.
The four tags
Each of these resolves to a single address – never two, never a blank line where an address exists elsewhere:
{{ matter.billing_email }}– the one to use for an invoice's "by email" line. It is the matter's own Invoice email if you have set one; failing that, it takes the firm side on a firm brief and the client side on a direct brief. It is therefore correct in both brief styles, so you do not need one invoice template for firm briefs and a different one for direct briefs just to get the address right.{{ client.billing_email }}– the client's accounts email, or their contact person's email if there is no accounts one.{{ firm.billing_email }}– the instructing firm's accounts email, or the instructing solicitor's own if the firm has none.{{ solicitor.billing_email }}– the same value as the one above, reached from the solicitor's side of the Tags page, so you do not have to know which section holds the fallback.
On the Tags page each of these is listed as Invoicing Email, in the Matter, Client, Firm and Solicitor sections respectively. They also appear in the Identify fields dropdown, so if you are having LexBrief mark up a finished document you can pick the invoicing email there too.
{{ client.email }}, {{ client.accounts_email }}, {{ firm.email_accounts }} and the rest all still work and are still listed beside the new ones. Nothing you have built has stopped working. The new tags are an addition, not a replacement.
The invoice email screen was changed to match
The other half of the same fix. When you email an invoice from LexBrief on a firm brief, the To box now defaults to the firm's accounts email where the firm has one, falling back to the instructing solicitor as it always did. Direct briefs are unchanged, and a matter's own Invoice email still overrides everything.
So the address printed on the invoice and the address LexBrief sends it to are now worked out in one place and give the same answer. The full order LexBrief works down is set out in the Invoices guide.
One deliberate exception: costs agreements and disclosure documents still go to the instructing solicitor, not to accounts. They are not bills – they have to be read and signed, and an accounts inbox would only file them.
Use a template to make a document
Once a template has a Word file, you produce a finished document from wherever the data lives:
- Invoice templates are used on the invoice page. Open an issued invoice: near the top-right is a list of your invoice templates and the Export .docx / Export PDF buttons. Pick the template you want, then click the format you want to save.
- Matter templates (Costs Agreement, Other) are used on the matter page. Open the matter and use its Create .docx / Create PDF control the same way.

What you should see: a Word or PDF file downloads, with every merge field replaced by the real values from that invoice or matter. Your template stays untouched, ready for the next one.
The PDF you produce is locked
If the person receiving the document needs to fill it in, sign it or change it, send them the Word version. Use Export .docx or Create .docx rather than the PDF button. Word files are not affected by any of this.
Here is why. LexBrief locks the PDFs it makes, and that includes every PDF produced from a template – a costs agreement, a letter, an invoice, a receipt. The PDF opens normally and prints normally. But the person you send it to will find that their PDF reader refuses to let them edit it, annotate it, type into it or copy text out of it, and Word and LibreOffice will refuse to open it for re-saving.
That is a sensible default for a bill. It is a nuisance for a document you have sent someone to complete or sign, which is why the .docx export exists.
One consequence worth knowing: because text cannot be copied out of a locked PDF, screen readers cannot read it out either. If the person receiving the document uses one, send the Word version.
The lock is on for everyone to begin with. You can turn it off, for every PDF LexBrief makes, from the Documents tab in Settings, under Document security: it is the on/off switch marked Lock the PDFs I generate. The Settings guide walks through it.
What next
Templates connect to the parts of LexBrief that hold your data:
- Invoices – your invoice template is used from the invoice page when you export.
- Matters – letters and costs agreements are produced from the matter page.
- Browse all help guides
Stuck on anything at all? Email support@lexbrief.au – a real person reads it, usually the same working day. Templates in particular are something we are happy to set up with you.