---
title: "Prevent the creation of draft invoices"
slug: "prevent-the-creation-of-draft-invoices"
updated: 2023-10-27T16:36:32Z
published: 2023-10-27T16:36:32Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prevent the creation of draft invoices

This rule prevent admins from creating any draft invoice in your location.

---

1. Log in to [dashboard.nexudus.com](https://dashboard.nexudus.com/) if you aren't already.
2. Click [**Settings > Validation rules**](https://dashboard.nexudus.com/settings/3/0/0).
3. Click **Add rule**.
4. Click on **Manual entry**.
5. Name your validation rule.
6. Add a **Description** for your rule to let other admins know what it does at a glance.
7. Toggle on **This rule is active**.
8. Select **Invoices** under the **Record type** drop-down list
9. Add the **Error message to display if the validation rule is not met**.
10. Add the following code snippet to the **Formula** field.

```
not(record.Draft)
```

1. Click the **Save Changes** button.

---

All set! Every time you try to issue a draft invoice, you should receive the error message you specified in your rule.

Account that represents one of your spaces in Nexudus. If you manage multiple locations, you have a network.
