Skip to main content
All CollectionsExpense Management AppRules
How to Apply a Rule based on Your Document's OCR Text Extraction
How to Apply a Rule based on Your Document's OCR Text Extraction

Using Rules you can now do more automation with the rich data extracted from each receipt, invoice or bill.

Updated over 4 months ago

You might have already seen the OCR tab inside the Veryfi hub and on mobile apps. This is the data Veryfi extracted from that receipt, bill, and invoice, which you can now use to create simple to complex rules.

Example rules;

  • A construction company can apply a Project based on a HomeDepot receipt where PO # is a specific value or project code,

  • A finance controller can set a policy that if a purchase total is above a certain price point to Tag that transaction for review,

  • Business owners can add a rule to Tag Invoices to be paid based on a certain text appearing inside the OCR text e.g. "Payable in 30 days"
    ... and any other rules you come up with. There is no limit.

Step by step: How to

[1] Let's take this simple receipt with line items from my Veryfi Inbox. When I VIEW a document I can see the OCR tab as outlined in the screenshot below.

[2] Pressing the OCR tab reveals a wealth of text data that Veryfi has extracted from the document. Let's highlight "Store: 1000" as the data point I want Veryfi to watch out for as documents arrive in my Inbox.

[3] Now let's head to Rules and add a Rule for "Store: 1000".

  • From CONDITION, select "OCR Text Contains," and

  • in the FILTER value, add "Store: 1000"

  • then finally select what it should do with it. In the example below, I am assigning a "CUSTOMER / PROJECT" with a value of "Sir Randy Bakonski: Apartment 101"

How to picture this in your mind

  IF OCR Text Contains "PO 1234" THEN
      Assign it Project "Sir Randy Bakonski: Apartment 101"
  ENDIF

This logic is pretty straightforward, right? You can apply it to any dimension, such as Category, Tag, Payment Type, or Customer/Project.

Give it a spin, and let us know what you think.

Explainer video

If you need help please reach out on support@veryfi.com

Did this answer your question?