# Documents

The PDFs AdamRMS makes for you, such as inspection certificates, quotes and invoices: their templates and where they're kept.

## Making a document

AdamRMS makes PDF documents from your records:

- **Inspection certificates**: open an inspection result and choose **Make certificate**.
- **Quotes** and **invoices**: choose **Make PDF** beside a quote on a project's **Finance** tab, or on an invoice's page. A quote or invoice prints its lines, tax at each rate, who it's made out to and its notes. Lines that go out free, such as accessories, aren't printed. A partial credit note says which invoice it credits part of. See [Quotes, invoices and payments](https://adam-rms.com/en/user-guide/finance.md).
- **Delivery notes**, **picking lists** and **return notes**: choose **Delivery note**, **Picking list** or **Return note** on a project's **Warehouse** tab. Each lists what goes out, line by line, with the asset IDs allocated to each, and no prices. A delivery note adds the project's delivery notes and a space for the client to sign for it. A picking list has a box to tick for each line and each asset, and says how many of a line aren't allocated yet. A return note says how many of each line are back and which assets are missing, with a box to tick for each asset still out. See [Prepping, sending out and checking in](https://adam-rms.com/en/user-guide/project-warehouse.md).
- **Crew call sheets** and **project notes**: choose **Make PDF** on a project's **Documents** tab. A call sheet lists the project's dates and venue, and each crew member's role, name and notes. Project notes prints the project's notes, oldest first.
- **Client statements**: choose **Statement** in the **Money** section of a client's page. It lists the client's invoices, credit notes and payments with a running balance, then each unpaid invoice with what's still to pay. It's saved with the client's files. See [Clients](https://adam-rms.com/en/user-guide/clients.md).

When you have more than one template for a kind, choose which one.

Each document you make is saved as a PDF file. A certificate is attached to its asset, and listed under **Certificates** on the inspection result's page. A project's documents are listed on its **Documents** tab, newest first, with who made each and when it was last emailed. They're on the **Files** tab too. Most documents are ordinary files, in **Files** under Generated documents. The PDF of an issued quote or invoice is kept under Issued documents instead, which can't be deleted, so you always have what the client was sent. A draft invoice's PDF says it's a draft. Both count towards your storage. See [Files](https://adam-rms.com/en/user-guide/files.md).

Making a document again makes a new file. The ones you made before stay as they were, even if the record or the template has changed since.

## Emailing a document to the client

To send a project's document to its client, such as a quote or an invoice, choose **Email to client** beside it on the project's **Documents** tab. Tick the client's contacts to send it to, and add a message if you like. The project's contact is ticked to start with. Each contact needs an email address, which you add on the client's page.

The email comes from your organisation's name, with the PDF attached and your email header at the top. Replies come straight to you. The **Documents** tab shows when each document was last emailed, and the project's **History** tab says who it went to.

A project needs a client before you can email its documents. See [Clients](https://adam-rms.com/en/user-guide/clients.md).

## Making documents in batches

To make the same document for many projects at once, such as a call sheet for every project in a festival's folder, open **Projects** and narrow the list to the projects you want, with a folder, a search or the filters. Then choose **Make PDFs**, pick the kind of document and its template, and confirm.

AdamRMS makes one for each project on the page, in the background. You can leave the page while it works. The batch's page shows each document as it's made, and **Download all** gives you every PDF in one zip file, ready to print. Each document is also kept on its own project, as if you'd made it there. A project you can't make the document for, such as one whose crew you can't see, is listed with the reason.

Only you can see a batch you started. Its page is kept for 30 days.

## Templates

A template says how one kind of document looks. Manage them in **Documents**. A kind with no templates uses the standard layout.

You can keep several templates of one kind, such as "PAT certificate" and "LOLER report". One of them is the default, used whenever you don't choose. The first template of a kind is its default until you make another one the default.

Choose **New template** to make one. Most changes don't need any HTML:

- **Title**: printed at the top, such as "Portable appliance test certificate".
- **Introduction** and **Closing text**: printed under the title and at the end, such as the standard you test to.
- **Accent colour** and **Font**: for headings and lines, in Arial, Georgia or Courier New.
- **Show your logo**: your organisation's logo, from **Organisation logo**.
- **Paper size**: A4 or Letter. New templates start with Letter in North America and A4 everywhere else.

The preview on the right shows the PDF as it will print. Preview it with sample data, or pick a recent record of yours.

## Changing the layout

To change the layout itself, choose **Edit HTML**. You start from the standard layout, written in HTML with Liquid placeholders. For example, a placeholder prints your organisation's name or loops over a certificate's checks. Filters format values for you: money in your currency, dates in your timezone, and masses in your units.

Documents can't run scripts or load anything from the internet, so images must be embedded in the HTML. If the HTML has a mistake, the preview says what's wrong and the template isn't saved. Choose **Use the standard layout** to go back.

AdamRMS AI can write or change a template for you. See [AdamRMS AI](https://adam-rms.com/en/user-guide/adamrms-ai.md).

## Language and formats

The standard layout prints its words, such as "Tested by", in your document language, and formats dates, money and masses for it. Set the language, currency, timezone and units in **Localisation**. Wording you type into a template, or write in its HTML, stays as you wrote it.

## What's printed on every document

Every document prints your organisation's name and address, and your tax and company registration numbers, from **General settings**. See [Organisation settings](https://adam-rms.com/en/user-guide/organisation-settings.md).

At the foot of each page, a document says "Made with AdamRMS" next to the page number. To leave it off, turn off **Say "Made with AdamRMS" on every document** in **Documents**.

## Permissions

Everyone can see templates and make documents, as long as they can see what the document is about. A certificate needs permission to see inspections. A quote or invoice needs permission to see quotes or invoices. A delivery note, picking list or return note needs permission to see the project's assets, and a call sheet needs permission to see the project's crew. A client statement needs permission to see invoices and payments. Administrators can create, edit and delete templates and turn the "Made with AdamRMS" line on or off.

Administrators and Editors can email documents to clients. They also need permission to see the client.
