Open navigation

Rillion Prime — Capture Documentation

Print article

Version 1.0.21


What is Rillion Capture

Rillion Capture is an AI-native invoice capture solution, developed in-house as part of Rillion's AP management products. It automates the extraction of data from invoices — eliminating the need for manual data entry — while delivering high accuracy and a customisable experience. Developing the solution in-house gives Rillion full control over the data capture process.


How it works

Rillion Capture uses a multimodal AI model capable of processing both text and images. When an invoice arrives, the system:

  1. Receives the invoice via email
  2. Standardises the document — rotates pages
  3. Classifies the document — invoice type, language, jurisdiction, and buyer
  4. Extracts invoice fields
  5. Sends the structured data to the relevant product for further processing

The underlying models are trained on extensive datasets, enabling accurate extraction even for invoice formats not previously encountered — without requiring pre-configured templates. AI-driven extraction is combined with rule-based methods to provide a robust foundation for reliable data capture.


Supported formats

  • PDF (recommended)
  • PNG
  • JPEG

PDF is the recommended format as it enables additional features in some workflows. For scanned invoices, a minimum resolution of 200 DPI is recommended. As a general rule, what is difficult for a human to read will also be difficult for the system to process.

Invoices must be sent as email attachments — content in the email body is not captured.

Encrypted, password-protected, and access-protected PDFs and zip files are not supported.


File size limits

  • Maximum email size including all attachments: 25 MB
  • If the limit is exceeded, the sender receives an automatic delivery failure notice
  • For large files, sending one file per email is more reliable than many files in one email
  • Invoices larger than 25 MB can be uploaded via the Rillion interface (coming soon)

Receiving invoices — email addresses

Invoices are submitted by emailing them to a Rillion Capture email address. There are two domains:

RegionDomain
Europe and rest of world (except US)@capture.eu.rillion.com
United States@capture.rillion.com

All new customer email addresses use these domains.


Email notifications

Rillion Capture sends automatic email notifications to the sender (supplier or forwarding address) in the following situations:

SituationNotification sent
Email exceeds 25 MBDelivery failure — size limit exceeded
Email address does not existNo email address registered for that address
Email sent with no attachmentsNo file to process
Attachment is unsupported format, password-protected, or cannot be processedWhich files could not be processed, and a list of supported formats

Customer notification address (optional):

A notification email address can be configured at email level. If set, the customer receives the same error notifications as the sender (except the size limit message). This helps customers track whether supplier submissions are reaching the system successfully and avoid receiving reminder invoices for submissions that failed silently.


Splitting multi-invoice PDFs (batch)

To send a PDF containing multiple invoices for automatic splitting, use the batch variant of the Capture email address. The batch address is the same as the standard address with +batch added before the @:

RegionBatch address format
Europe and rest of world (except US)[address]+batch@capture.eu.rillion.com
United States[address]+batch@capture.rillion.com

The split behaviour is controlled by the number of blank pages placed at the very start of the PDF (before the first invoice):

Leading blank pagesSplit behaviour
0Every page is treated as a separate invoice
1Split whenever a single blank page is detected
2Split whenever two consecutive blank pages are detected

Splitting is only available when sending to a +batch address. Sending to the standard address does not split multi-invoice PDFs.


Data storage

CustomersData stored
Outside the USEU
US customersUS

Rillion Capture operates separate environments for US and non-US customers.


Setting up an email

Emails for Prime Capture are configured from the settings page within the Capture Verification interface. This page is accessible to Prime users with access to the Capture Verification interface.

When setting up an email, the following options are available:

  • Link one or multiple companies to the email (enables company identification)
  • Notification email address — invoices that cannot be processed will be forwarded here
  • Configure email aliases — additional names for an email, useful when suppliers consistently misspell a company name, or when the company has changed its name

The connection between an email and its companies can be changed at any time.

Syncing companies

To update company data across all active inboxes, click Sync companies on the email settings page. Use this after making changes to company data in Prime to ensure all inboxes reflect the latest information.


Company identification

When an email is linked to multiple companies, company identification automatically determines which company an invoice belongs to.

Rillion Capture extracts the following buyer fields from each invoice and compares them against the companies linked to the email:

  • Company name
  • Organisation number
  • VAT number
  • European Article Number (EAN)
  • Address
  • Email
  • Phone number

Values are normalised (lowercased, whitespace and dashes removed) before comparison. An exact match on any single field is sufficient to identify the company.

If an email is linked to only one company, that company is always assigned automatically.

If no matching company is found, the Company field will be empty in the verification view.


Supplier identification

In order to identify the correct supplier for an invoice Rillion Capture performs supplier identification. Information extracted from the invoice is compared against the supplier records in Prime. The matching algorithm performs matching on a variety of fields, with different weights according to their similarity and importance. These include:

  • Org number
  • VAT number
  • Bank account information
  • Supplier name
  • Email
  • Phone number
  • Address
  • Currency

The best match is presented in the verification view. If no matching supplier is found, the supplier field will remain empty in the verification view. If a customer adds a new supplier to their ERP, it may take up to 24 hours before the supplier is visible as an option in the verification view.

Because matching is performed across multiple fields simultaneously, suppliers that share a bank account are still correctly identified — supplier name, VAT number, and other identifiers are used alongside bank account information to determine the best match.

Accurate supplier matching depends on the supplier register in Prime being up to date. If matching is not working as expected, check that the supplier information in Prime is correct and current.


Attachment handling

Apart from invoices and credit notes, Rillion Capture also processes expense documents and payment reminders. These are automatically classified as invoices and appear in the invoice view rather than the attachment view.

Converting attachments to invoices

If a file has been received as an attachment and should be treated as an invoice, it can be converted directly from the attachment view:

  1. Select one or more attachments in the attachment view
  2. Click Mark as invoice
  3. The selected files are sent to Rillion Capture for processing, and the original attachments are deleted

Processing may take a few minutes. Once complete, the invoice will appear in the invoice list and may go through Capture Verification if required.


Capture Verification

Overview

When an invoice is captured, it is evaluated to determine whether it requires human review or can be sent directly to the invoice log. If human verification is required, the invoice appears in the Capture Verification view.

Reviewing and correcting invoices

In the Capture Verification view, users can:

  • See the invoice image
  • Review captured field values
  • See any validation warnings
  • Correct captured values before sending the invoice forward

Changes can always be saved. The invoice cannot be transferred to the invoice log until all required validations pass.

Validations

Invoices are subject to two levels of validation:

  • Hard validations — certain fields must always be present (company, supplier, invoice number, dates, and amounts). An invoice cannot be sent to the invoice log until all hard validations pass.
  • Soft validations — checks on conditions such as whether invoice and due dates fall within acceptable limits, and whether invoice amounts are consistent and use valid VAT rates. These trigger manual review but can be approved by a user in Capture Verification.

There are multiple settings controlling the soft validation to give the user control of what validations are relevant for them. For a complete list of all validation rules and configurable settings, see the Validation rules reference section.

Sending to the invoice log

Once verified, the invoice is transferred to the Prime invoice log. The invoice data is added to the Prime invoice capture table and the invoice image is copied to Prime. The same job that imports invoices from the previous capture solution imports invoices from Rillion Capture. Invoices may not appear immediately in the invoice log — the delay depends on how frequently the job is scheduled to run.

List view filtering and sorting

The invoice list in Capture Verification can be filtered and sorted to help users find the most urgent invoices and prioritise their work.

Filters:

  • Company — search by name or company ID
  • Supplier — search by name or supplier ID
  • Amount — range filter (minimum and/or maximum)
  • Invoice number — text search

All columns can be sorted: Company, Supplier, Invoice date, Due date, and Total amount.

When opening an invoice, navigation between invoices respects the active filters — only invoices matching the current filter are included in the navigation.

Best practices for reviewing invoices

An invoice appears in Capture Verification because something on it is worth a human look — not necessarily because something is wrong. If no review is needed, the invoice is sent directly to Prime.

When you open an invoice, any issues are shown as warnings:

  • Red warnings must be resolved before the invoice can be sent to the invoice log — they indicate missing or invalid required information.
  • Yellow warnings flag fields that are worth a closer look. No action is required to proceed, but they indicate something unusual.

To prevent the same issue from repeating:

  • Incorrect capture — value is on the invoice: Go to Invoice data settings and update the field mapping so the value is captured correctly next time. The solution is often a company or supplier override, a custom field, or a custom rule.
  • Incorrect capture — value is missing from the invoice: Contact the supplier and ask them to include the required information on future invoices.
  • Correct capture — validation warning triggered anyway: Go to the validation settings and adjust the rule to better match your use case.

Access management

Access to Prime Capture and the Capture Verification interface is managed through Prime's existing roles and permissions system. Prime Capture has its own dedicated section within the permissions settings.

There is a single access level: once granted, a user can view and process invoices from all companies associated with that tenant — there are no company-specific restrictions. It is possible to grant access limited to the Capture Verification interface only.


Country support

CountrySupport level
SwedenVery good+
NorwayVery good+
DenmarkVery good+
FinlandVery good+
USVery good+

Support level definitions:

  • Very good+ — Highest accuracy tier, extensively tested with curated data sets and human verification.
  • Very good — High accuracy, tested with curated data sets.

Invoices from countries not listed above may still be captured successfully, but performance has not been tested or optimised for those regions. As a general rule, larger languages and countries tend to yield better out-of-the-box results, as more training data is available to the underlying models.

We continuously add more countries to our list of supported countries.


Header level extraction

Current limitation: for invoices exceeding 50 pages, only the first 10 and last 10 pages are processed for header-level extraction.


Invoice data settings

The Invoice data settings page, accessible from within the Capture Verification interface, controls how captured invoice data is mapped to Prime fields. The page lists all Prime header fields as they appear in the invoice log, including group fields, accounts, and objects. Line fields will be added when line-level capture is available.

Mapping a field

For each field, select which captured value to map to it from a dropdown. The available options are:

  • None — disables the field; it is hidden from the Capture Verification UI and its value is not sent to Prime
  • Empty — keeps the field active but always sends it as empty
  • Computed values — the system automatically selects the most appropriate value using built-in logic (for example, selecting the best available payment reference from several captured candidates)
  • Captured fields — a specific value extracted directly from the invoice
  • Custom fields — custom fields you have created (see below)
  • Custom rule — a transformation applied to a captured value (see below)

Most fields have sensible defaults and do not need to be changed. Fields such as Reference 2 or group fields typically require explicit mapping. For most cases the information you need is already captured — check the list of captured fields.

Custom rules

If you need to modify a captured value before it's mapped to a Prime field, create a custom rule. Describe the transformation in plain English using @ to reference specific fields, then click Generate — the system converts the description into a structured rule that applies to every invoice.

Examples:

  • "If @purchase order number is more than 6 characters, remove additional characters from the end"
  • "If @project number is empty, use @invoice number"

Custom fields

If the value you need is not captured by default, create a custom field using the Create custom field button in the top right corner. Provide a field name, data type, its typical location on the invoice, and a plain-English description of what to capture.

Example: "A car registration number in Swedish format. Often located near the word 'car'."

Custom fields you create appear under Custom fields in the mapping dropdown and can be mapped to any compatible Prime field.

Company and supplier overrides

Settings apply globally by default. To use different mappings for specific companies or suppliers, use the Company overrides or Supplier overrides tabs on each field. Overrides can be configured for individual companies, individual suppliers, or groups.

This is useful when certain information is only relevant for some companies, or when a supplier sends data in a specific format or includes additional fields not present on other invoices.

Change history

The Invoice data settings page keeps a log of all changes to field mappings. Click History to see what was changed, by whom, and when.


Validation rules reference

Field mapping and soft validation

Whether a field is enabled or disabled in Invoice data settings controls whether its soft validation rules run.

BehaviourFields
Always validated — field mapping state is ignoredInvoice Number, Invoice Date, Currency, Gross Amount, Total VAT Amount
Skipped when the field is disabled in Invoice data settingsDue Date, Reference 1, Reference 2, Contract Number, Purchase Order Number, Group 1–6
Skipped when the feature is not enabled for the tenantGroup 1–6

If a field is disabled in Invoice data settings, all soft validation rules for that field are skipped entirely.

Hard validation rules

These fields are always required. If any are missing, the invoice cannot be sent to the invoice log.

FieldRule
CompanyMust be identified — the company receiving the invoice must be known.
Invoice DateMust be present.
Gross AmountMust be present.
Total VAT AmountMust be present.
Invoice NumberMust be present and not blank.

Soft validation rules

These rules apply in addition to all hard rules.

Company

RuleDetails
Company must not require manual verificationOnly applies when company-based verification is enabled and the company is in the configured list.

Currency

RuleDetails
Currency must be presentThe invoice must include a currency.
Currency must be valid for the companyOnly applies when both a company and a currency are present. The currency must be one of the active currencies configured for the company.

Supplier

RuleDetails
Supplier must be identifiedThe supplier sending the invoice must be known.
Supplier must not require manual verificationOnly applies when supplier-based verification is enabled and the supplier is in the configured list.

References

These checks only apply when reference validation is enabled for the respective field and the field is enabled (default: on).

RuleDetails
Reference 1 must be presentOnly applies when Reference 1 is enabled in Invoice data settings, reference validation is enabled, and Reference 1 is required (default: yes).
Reference 1 must be a known value for the companyOnly applies when Reference 1 is enabled, reference validation is enabled, and both a company and Reference 1 value are present. The value must be recognised as a valid reference for that company.
Reference 2 must be presentOnly applies when Reference 2 is enabled in Invoice data settings, reference validation is enabled, and Reference 2 is required (default: yes).
Reference 2 must be a known value for the companyOnly applies when Reference 2 is enabled, reference validation is enabled, and both a company and Reference 2 value are present. The value must be recognised as a valid reference for that company.

Purchase order

These checks are skipped when the Purchase Order Number field is disabled in Invoice data settings.

RuleDetails
Purchase order number must be knownOnly applies when the Purchase Order Number field is enabled, and both a purchase order number and a company are present. Skipped when the identified supplier has no purchase orders on record.

Contract

These checks are skipped when the Contract Number field is disabled in Invoice data settings.

RuleDetails
Contract number must be knownOnly applies when the Contract Number field is enabled and a contract number is present. The contract number must be an active contract for the company at the invoice date. Skipped when the identified supplier has no contracts on record.

Due date

These checks only apply when due date validation is enabled for the company (default: on).

RuleDetails
Due date must be presentThe payment due date is required.
Due date must not be before invoice dateThe due date cannot be earlier than the invoice date.
Due date must not be too far in the futureBy default, the due date may be at most 90 days after the invoice date. Configurable per company.

Invoice date

RuleDetails
Invoice date must be recent and not post-datedThe invoice date must fall within an acceptable window around the date received. By default, up to 30 days in the past or 3 days in the future. Configurable per company.

Amounts

RuleDetails
Net amount must be presentThe net (pre-VAT) amount is required.
Gross amount must match the sum of its partsMust equal: Net Amount + Total VAT Amount + Rounding − Discount Amount.
Gross amount must be below the verification thresholdOnly applies when amount-based verification is enabled and a threshold is configured. The gross amount is converted to the base currency before comparison. If it meets or exceeds the threshold, the invoice is flagged for manual review.
VAT rate must be validMust be within 0.1% of one of the allowed rates. Default rates: 0%, 6%, 12%, 25%. Configurable per company.

Group fields

These checks only apply when group field validation is enabled for the tenant, the group field is enabled in Invoice data settings, and the field has a captured value.

RuleDetails
Group value must be one of the allowed valuesThe captured value must match one of the valid values registered for that group type in Prime. Comparison ignores letter casing. Skipped if the group type is not restricted to existing values.

This check applies independently to each of Group 1 through Group 6.

Computed fields

RuleDetails
Computed field expressions must not have errorsIf any field mapping expression fails to evaluate, the affected field is cleared and the invoice is flagged for manual review. The error message is shown for each failing field.

Configurable settings

SettingDefault
Allowed VAT rates0%, 6%, 12%, 25%
Invoice date — how far in the past is allowed30 days
Invoice date — how far in the future is allowed3 days
Validate due dateYes
Due date — maximum days in the future90 days
Verify invoices by amountNo
Amount threshold for verificationNone
Verify invoices by companyNo
Companies to always verifyNone
Verify invoices by supplierNo
Suppliers to always verifyNone
Validate Reference 1Yes
Reference 1 is requiredYes
Validate Reference 2Yes
Reference 2 is requiredYes

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.