This step splits each stack into one Record per invoice and indexes every invoice on the way through, header fields and line items, with a single action. It has no assignments, so it runs its action and moves on.

Activation Rules

Add a Record Value Check rule with the field name @SPLITFROM and the value #. The # means blank, and a field that does not exist at all counts as blank. AI Split and Index stamps @SPLITFROM on every Record it creates, so this rule lets an incoming stack in and sends the new invoice Records past this step. Without it, every new invoice Record would be split all over again.

Assignments

None. Leave the step unassigned so it runs its actions and moves straight on.

Assignment Actions

Add an AI Split and Index action with these settings:

  • Identity Fields (Splitting tab) - the fields that tell one invoice from the next, one per line. For invoices that is the vendor name and the invoice number, for example VendorName and InvoiceNumber. A new invoice starts on the page where these values change.
  • Commit Split (Splitting tab) - leave it on, so the new Records are created and started into workflow straight away.
  • Enable Indexing (Indexing tab) - turn it on. The AI has to read each invoice's header to find where it ends, and this keeps those values instead of throwing them away.
  • Write to Record Fields (Header tab) - turn it on, so each value lands in the Record Type field of the same name and no separate indexing action is needed.
  • Capture Line Items (Line Items tab) - turn it on if you want line items and your Record Type has line item fields.
  • Exclude Fields (Header tab) - list any Record Type fields an invoice never shows, such as VendorID, which Vendor Matching fills in, and your approval fields. A field the invoice does not contain costs tokens on every invoice and gives the AI something to guess at.
  • Quality (AI Level tab) - Balanced suits most invoices. Use Maximum only for poor scans.

    Everything else can stay as it is. New Document Cat/Sub/Name on the Document(s) to Split tab names each invoice's document; leave it blank to keep the Category, SubCategory and Name of the document the pages came from.

What Comes Out

Each new invoice Record:

  • holds only its own pages, as one document.
  • has the captured values in its fields, and also under Index_ names, such as Index_InvoiceNumber, where you can see exactly what the AI read.
  • starts the Process again from the top, passes by OCR and this step, and goes on to Vendor Matching.

    The stack Record is deleted once all of its pages have been split out. A file that held a single invoice keeps its own Record, indexed the same way.

    If one invoice in a stack cannot be created or started into workflow, the rest of the stack still goes through, and the failure is written to the Error Log and to the @SPLITROUTEERROR value on that invoice's Record. AI Invoice Split describes these values and how to build a retry around them; AI Split and Index reports failures the same way.

Tips

  • If one invoice comes out as two Records, one of the identity fields changes within a single invoice, such as a page-level value. If two invoices stay together, describe what starts a new invoice in Extra Instructions on the Advanced tab, for example "A remittance stub belongs with the invoice before it."
  • If your vendors print day-first dates, set Date Format on the Advanced tab so a date such as 05/06/2026 is read the right way round.
  • An invoice whose line items could not be read still gets its Record, with an Index_AIWarning value explaining why. You can search on it, or route on it in a later step.

NOTE ON (AI): Reading the document with AI consumes tokens and may incur extra fees. Workflow tokens are billed separately from End-User or Admin tokens - check with your sales rep for more information. Please verify all results, as AI can make mistakes.