# QR codes (https://docs.treema.ai/en/docs/settings/qr-codes)

Sign-up QR codes for new employees without an email — creating, printing, changing and turning off a code, and following who signed up with it.

A **QR code** invites new employees who have no email to be invited by — a housekeeping team hired
for the season, the kitchen staff of a new property. Each person scans the code in the
Treema HQ mobile app, signs up on their own, and waits until a manager approves them.

A workspace can have as many codes as it needs, and several for the same department — one per entrance,
one per hiring wave. There is no limit on how many people can sign up with one code.

## Where to find them [#where-to-find-them]

Open the [Team](https://docs.treema.ai/en/docs/settings/team/) tab and select **QR codes**. The button is shown to the workspace's owner
and admins, and to anyone whose role includes **Invites people**.

![Screenshot: settings/qr-codes](https://docs.treema.ai/screenshots/en/settings/qr-codes.png)

1. New QR code — creates a code
2. Search by name, and the filter by department
3. One row per code — access, department, valid-until date, status, sign-ups and who created it

Select a code in the list to open [its page](#the-codes-page).

## Creating a code [#creating-a-code]

**New QR code** opens a form of three steps:

1. **Details.** Give the code a name and a **Valid until** date, at most 365 days from today. After
   that day the code stops working. To put people into a [department](https://docs.treema.ai/en/docs/settings/user-groups/), choose it
   under **Department**: everyone who signs up with the code joins it at sign-up, before approval.
2. **Access.** Choose the roles people get, as in an invitation. Each row is
   **\[workspace name]** or one property, and a role. **All properties** adds a row for HQ
   and each property available now; properties added later are not included.
3. **Review.** Check what people will be able to do in each property or HQ, then select **Create QR code**.

![Screenshot: settings/qr-code-access](https://docs.treema.ai/screenshots/en/settings/qr-code-access.png)

1. Roles and properties granted to the employee joining with this code

A department of a property fits only a code that gives a role in that property. A department of
**\[workspace name]** fits any code. A QR code cannot make anyone an admin.

## What a property manager can do [#what-a-property-manager-can-do]

Someone who invites people only to their own properties works with codes within those properties:

* **Access** offers only the properties where their role includes **Invites people**, and only the roles
  they are allowed to give.
* **Department** offers only the departments they are allowed to manage.
* They see only the codes whose roles are all in their properties. A code that also gives a role
  elsewhere is not shown to them.

## The code's page [#the-codes-page]

![Screenshot: settings/qr-code](https://docs.treema.ai/screenshots/en/settings/qr-code.png)

1. Edit, Reissue and Turn off — what can be done with the code
2. The poster — workspace, code name, department, QR code and caption — with Print, Download PNG and Download PDF
3. Workspace, department, valid-until date, status and access

The page shows the poster you hand out: the QR code with the names of the workspace, the code and
its department. **Print** prints it on an A4 sheet. **Download PNG** and **Download PDF** save the
same poster as a file.

Under the code, **Activity** shows how many times the code was scanned and when it was last used.
Below is the code's history: every sign-up with the current state of its request, and every change
to the code.

## Changing, reissuing and turning off [#changing-reissuing-and-turning-off]

The buttons at the top of the code's page:

* **Edit** changes the name, department, access or valid-until date.
* **Reissue** replaces the QR code with a new one with the same settings — for a code that has
  reached people it was not meant for.
* **Turn off** stops sign-ups with the code until it is turned on again.
* **Turn on** is shown on a code that is off. It issues a new QR code.

<Callout type="warning" title="Reissuing or turning off a code ends its printed copies">
  The QR code that is already printed or sent stops working at once, and turning the code back on
  issues a new one. Print or download the poster again and replace the old copies.
</Callout>

After a change:

* An edit applies to people who sign up after it. Those already waiting keep the access the code
  gave when they signed up; you can change it when you
  [approve them](https://docs.treema.ai/en/docs/settings/team/).
* An expired code works again once you set a later **Valid until** in **Edit**. The QR code stays
  the same, so the printed copies work again.
* Requests already sent stay on the Team tab, whatever happens to the code.

## What the person sees [#what-the-person-sees]

A code works only in the Treema HQ mobile app. The phone's camera opens a page with links to
the app, and nobody can sign up in a browser. The sign-up itself is described in
[Sign up by QR](https://docs.treema.ai/en/docs/mobile/sign-up-by-qr/).

After signing up the person waits for approval — see
[Your account](https://docs.treema.ai/en/docs/settings/your-account/). Their request appears on the Team tab, where
it is approved or declined: see [Approving new sign-ups](https://docs.treema.ai/en/docs/settings/team/).
