Articles on: Admin environment
This article is also available in:

How to add a business rule for invoices?

Tip: If you are looking for how to add a business rule for expenses, read this article.

A business rule is a rule that allows you to perform certain actions automatically under certain conditions, such as changing the status of an invoice, sending notifications and triggering an authorization flow.

In this article, we'll cover a business rule that triggers an authorization flow.

Note: for some invoice flows it is more efficient to (partially) manually select authorization flows, because you can not always make a valid rule for every invoice. Read in this article how to manually select an authorization flow.

Note: adding a business rule is only possible for a user with admin rights.

Make sure you are logged into the Klippa Web App as a user with "admin" rights.

In the left menu, navigate to Settings and then Company. You are now in the company account settings.

Then click on Company Settings / Business Rules and at the top right on the green button Add.

Tip: if you are curious about more options for business rules for invoices, read this article about the most common rules or this article about using other conditions and automatically changing a status through a business rule.

The most common business rules for invoices are the following:

Start authorization flow based on cost center of an invoice (example in this article)
Start authorization flow based on a Supplier group

Enter the general information at the top of the business rule:

Description: clearly indicate the purpose of the business rule. In our example the approval of entity "NL" and cost center "operations", so we choose "Approval NL - Operations" as description. If you use both the expense and invoice module at Klippa, we recommend to also describe the document type, then it becomes "Invoices: Approval NL - Operations".

Active: Choose active if you want the business rule to be applied to invoices that are submitted.

Order: This determines the order in which the business rules are executed. The lower the number, the earlier the rule is executed. In our example, we choose "4" because we want to execute the rules with order 1,2,3 to be executed before this rule is executed.

Document Type: Determine which document type the business rule applies to. In our case invoices.

Skip Review: Determine whether Finance can skip the review step.

Tip: Read more about the smart Klippa suggestions in this article and check this article about the check step when registering invoices received via e-mail to decide whether you want to enable the 'skip review' option. Of course you can always consult our support team via the chat at the bottom left.

Fill in the conditions and parameters:

With a condition you determine how the rule is applied, for example by comparing a certain value. With parameters we determine when the business rule is applied, in other words: under what conditions do we apply the rule? It is also possible not to specify any conditions. Then the rule applies to all invoices.

Conditions & parameters: in our example we choose "Compare field value", because we want the business rule to be applied only to invoices with "administration" - "equal to" - "NL", with "cost center" - "equal to" - "903 - Operations".

Tip: use the plus sign to add multiple conditions, then choose AND if you want the business rule to be applied to invoices that meet all conditions. Choose OR if you want the business rule to be applied to invoices that meet at least one of the conditions.

Enter the Action and the Aim:

The action determines what happens to an invoice if the condition(s) are met. The target concerns who the rule applies to, in other words: to which user (group) the business rule is applied.

Action: In our example we choose "Set up authorization flow", because we want the authorization flow "Approval Tessa Rover" to be triggered for invoices for entity "NL" and cost center "operations".

Goal: we choose "All users and groups". We always recommend this target for invoices.

Finally, click on Create to add the business rule.

Updated on: 16/04/2024

Was this article helpful?

Share your feedback


Thank you!