> For the complete documentation index, see [llms.txt](https://help.tillit.cloud/tillit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/configuration/creating-and-using-report-templates/order-and-shift-reports.md).

# Order & Shift reports

## When to use which

Choosing between an Order and a Shift report depends on the scope of the data you need to capture:

* **Order Reports:** Produce a PDF using data from a single order. Use this when your data needs to be tied to a specific production run. Common uses include an end-of-order report for auditing or generating a certificate of analysis.
* **Shift Reports:** Report Templates with Data type set to **SHIFT** are scoped to a shift instance rather than an order. Use this to generate a report for a complete shift, even when no order was running—for example, an end-of-shift compliance report.

## Selecting Report Content

### Order and Shift reports

Besides the fields in the creation modal, you can filter which activities — and which of their activity items — are included.

#### Include All Activities

When enabled, newly added activities are automatically included. Choosing activities individually instead allows for activity item filtering.

You'll see a list of all available activities for visibility.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2FL5F5Amm4SR8zjCfeUeYT%2Fimage.png?alt=media&amp;token=d7aac9ed-8384-4d71-874a-075e89efa47f" alt=""><figcaption></figcaption></figure>

#### Choosing individual activities and items

Turn off Include All Activities to choose which activities are included in the report. Each activity has an expansion panel giving finer control over which items are included. Settings save on change.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Feh0lcmsODRflHVRylZxt%2Fimage.png?alt=media&amp;token=8d21b351-7215-4f4b-a14f-2e224514cbd4" alt=""><figcaption></figcaption></figure>

## **Generating an Order Report**

Order Reports produce a PDF using data from a single order.

Once your template is created:

{% stepper %}
{% step %}
Go to **Orders**, choose an order, and click **Details**. Next to the order name is a printer icon button.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-5bd451bd0aaea9da6998ca4572dd25a137b6d093%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Clicking the printer icon opens a dialog letting you download the report.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-7236cc9b9a5df4d0d614481beffe01cd8b882f7a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## **Generating a Shift Report**

{% hint style="info" %}
To have a shift report generated automatically when a shift ends, select this Report Template on a subscription with Event Type **Shift Ended**. See [User Subscriptions](/tillit/knowledge-base/users/manage/user-subscriptions.md).
{% endhint %}

Report Templates with **Data type** set to **SHIFT** are scoped to a shift instance rather than an order. Use this to generate a report for a complete shift, even when no order was running — for example, an end-of-shift compliance report.

When creating a Report Template, choose the **Shift Starter Template** option to start from a template already set up for shift data.

<figure><img src="https://352909507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrNT40XJFAFlAhUX8CcQS%2Fuploads%2Fgit-blob-4125979e62e3d02d9d2b5bdf948e6513113ea030%2Freport-templates-order-shift-type-selection.png?alt=media" alt=""><figcaption><p>Choosing between Order Starter Template and Shift Starter Template</p></figcaption></figure>
