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

# Invoice smart rules

> Automate invoice-level processes in Upflow with smart rules triggered on creation or update, then filter and apply actions tailored to your collection logic.

To discover and understand our smart rules logic and behavior, we invite you to read [Smart rules](/en-us/collection-and-collaboration/smart-rules/smart-rules) first.

Invoice smart rules apply to any invoice on Upflow.

## Triggers

| **Trigger**                   | **Description**                                 |
| ----------------------------- | ----------------------------------------------- |
| Invoice is created            | Triggered when an invoice is created            |
| Invoice is created or updated | Triggered when an invoice is created or updated |

## Filters

You can then add the specific filters/conditions this rule should follow to be applied. You can add as many conditions as you want, and those conditions will be additive (Condition 1 AND Condition 2).

* If Status contains Overdue **And** Outstanding amount is greater than \$5k, **THEN**...
  <Frame>
    <img src="https://mintcdn.com/upflow-04dc27cd/UyA0a3nv9CVO-fLR/images/Capture-d%E2%80%99e%CC%81cran-2026-06-02-a%CC%80-10.12.37.png?fit=max&auto=format&n=UyA0a3nv9CVO-fLR&q=85&s=3a5133e7dbca037080845922f9fa781f" alt="Capture D’écran 2026 06 02 À 10 12 37" title="Capture D’écran 2026 06 02 À 10 12 37" style={{ width:"62%" }} width="766" height="228" data-path="images/Capture-d’écran-2026-06-02-à-10.12.37.png" />
  </Frame>

Within the same field, multiple values will not be complementary\*, but independent from each other:

* If Status contains Due **Or** Overdue, then...
  <img src="https://mintcdn.com/upflow-04dc27cd/UyA0a3nv9CVO-fLR/images/Capture-d%E2%80%99e%CC%81cran-2026-06-02-a%CC%80-10.13.20.png?fit=max&auto=format&n=UyA0a3nv9CVO-fLR&q=85&s=42e050094f7018174621805d6880a2e8" alt="Capture D’écran 2026 06 02 À 10 13 20" title="Capture D’écran 2026 06 02 À 10 13 20" className="mr-auto" style={{ width:"41%" }} width="536" height="152" data-path="images/Capture-d’écran-2026-06-02-à-10.13.20.png" />

### Available filters

* Customer
* Status
* Due date
* Outstanding amount
* Paid amount
* Total amount
* Aging bucket
* Currency
* Issue date
* Payment date
* Workflow name
* Invoice visibility
* *Custom fields*

→ Filters related to the promise to pay status are not supported.

## Actions

| **Action**          | **Description**                                                                                                | **Example scenario**                                                               |
| ------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| Assign a workflow   | Assign a workflow to the corresponding invoice.                                                                | Assign workflows automatically depending on invoice due date.                      |
| Send a notification | Send a notification to the person of your choice via the channel of your choice and with personalized content. | Send a notification to the customer's CSM when the invoice is created.             |
| Hide / Show invoice | Hide / Show the invoice from your customers                                                                    | Hide invoices that are disputed from your customers while you resolve the dispute. |

## Delete or Deactivate a rule

<img src="https://mintcdn.com/upflow-04dc27cd/3lE1UqzP1SNU-ZAj/images/45487962586129.png?fit=max&auto=format&n=3lE1UqzP1SNU-ZAj&q=85&s=2925c98f7964e23d0763886f91ff7805" width="640" data-path="images/45487962586129.png" />

## Apply the rule to existing invoices

The rule you created will only apply to invoices matching the rule’s trigger as detailed above.

For existing invoices, you must ensure to use the option “Apply to all existing objects matching the rule’s conditions” when activating or reactivating the rule.

For more detailed examples, check [Smart Rules - Assignment Best Practice](/en-us/collection-and-collaboration/smart-rules/smart-rules-assignment-best-practice).
