Skip to main content

Using Predictions​

Go to: ExFlow Import Journals

Accessing predictions​

  1. Open an ExFlow Import Journal
  2. Select a document
  3. Select TruvioSense --> View predictions

Predictions are available when:

  • The data upgrade has run in the company (otherwise View predictions is unavailable)
  • The company and the vendor are enabled for TruvioSense
  • The document image (PDF) of the journal document has been sent to TruvioSense
  • The vendor has 20+ historical invoices exported
  • At least 24–48 hours have passed since the first export

The document image is sent automatically when the document in the import journal is updated and the vendor is enabled. Check the status on the TruvioSense Documents page, column Document image sent.

If the service has no prediction for the document, the message There are no TruvioSense predictions available for this document. is shown.

The prediction window​

The TruvioSense Predictions page shows the prediction, with a PDF Preview of the invoice on the right.

Header — Confidence, Prediction ID, Vendor No., Vendor name, Net amount, Model source and Model version. More header values are available through Personalize: invoice number, currency, VAT amount, total amount, fee amount and text, buyer reference, purchase order, payment method, invoice date, due date and language.

Lines — Confidence, Line type, No., Description, Quantity, Unit price and Amount per line. The line type can be G/L Account, Item, Resource, Fixed Asset or Charge (Item).

Dimensions — the predicted Dimension code and Dimension value code for the line selected in Lines. Only dimension values that exist in Business Central are shown.

Reviewing and applying​

  1. Scan the header — do vendor, invoice number, and amounts match the actual document? Compare with the PDF Preview
  2. Check line items — focus on low-confidence lines
  3. Verify dimensions for each line
  4. Select Apply TruvioSense prediction and confirm

Applying a prediction:

  • Overwrites the header fields of the journal document with the predicted values, according to the Prediction mapping
  • Replaces all existing lines of the journal document with the predicted lines (a confirmation is shown first)
  • Adds the predicted dimensions to each line

After applying, any field can still be edited before approval.

Apply TruvioSense prediction is only available when the predictions are opened from the ExFlow Import Journal. Predictions opened for a posted document from the TruvioSense Documents page are read-only.

Confidence scores​

ScoreAction
90–100%Quick scan, apply
80–89%Brief review, apply
70–79%Careful review before applying
60–69%Verify all details
Below 60%Consider manual entry

Example: from import to posting​

The vendor Office Supplies Ltd. is enabled for TruvioSense and has 60 posted invoices exported. A new invoice from this vendor is processed from import to posting.

1. Import the invoice

Open the ExFlow Import Journal and select Home --> Import Documents. The invoice is added to the journal. The job handler sends the PDF of the invoice to TruvioSense, so that a prediction can be requested for it.

2. Open the predictions

Select the invoice and select TruvioSense --> View predictions.

3. Check the header

The header shows a Confidence of 92% and a Net amount of 1,250.00. The vendor, invoice number and amount match the PDF Preview.

4. Check the lines

ConfidenceLine typeNo.DescriptionQuantityUnit priceAmount
95%G/L Account6110Printer paper505.00250.00
93%G/L Account6110Toner cartridges1080.00800.00
68%G/L Account6120Office chair1200.00200.00

The first two lines have a high confidence and need only a quick scan. The office chair has 68%, so all its details are checked against the PDF.

5. Check the dimensions

Selecting the office chair line shows the dimension DEPARTMENT with the value ADMIN. The PDF shows that the chair was ordered for the sales department, so the value must be SALES.

6. Apply the prediction and correct it

Select Apply TruvioSense prediction and confirm. ExFlow fills in the header, adds the three lines and adds their dimensions. In the journal, change DEPARTMENT on the office chair line to SALES.

7. Create the invoice

Select Create --> Create Invoice/Cr. Memo. ExFlow creates the invoice and sends it out for approval. The invoice is shown on the ExFlow Approval Status page and in the approver's Inbox in ExFlow Web.

8. Approve in ExFlow Web

The approver opens the invoice in the Inbox, checks the coding and selects Approve. The approver can still adjust dimensions or the G/L account before approving. When all approvers have approved, the status on ExFlow Approval Status is Approved.

9. Post the invoice

On ExFlow Approval Status, select the invoice and select Verify Changes. The status changes to Ready for posting. Then select Post.

With Schedule Verify Changes & Post activated in ExFlow Setup --> Background Processing, this step runs automatically.

10. TruvioSense learns from the result

On the next run, the job handler exports the posted invoice to TruvioSense, including the correction to SALES. Future invoices from Office Supplies Ltd. benefit from the correction.

StepWhoWhere
1–7. Import, predict, code and createAP userExFlow Import Journal
8. ApproveApproverExFlow Web
9. PostAP user or background jobExFlow Approval Status
10. LearnAutomaticTruvioSense job handler

Tips​

  • Process high-confidence invoices first for fastest throughput
  • Batch invoices from the same vendor
  • Manual corrections improve future predictions automatically — no manual retraining needed

Prediction Mapping​

The Prediction mapping page controls which journal field receives each predicted value. Open it from TruvioSense - Coding & Approvals Setup --> Prediction mapping, or from the TruvioSense Predictions page.

The page has one row for each value that TruvioSense can predict, for the header and for the lines. The rows are fixed: rows cannot be added or deleted, and only the target field and the validation setting can be changed. The mapping is set per company.

ColumnDescription
Source table nameWhere the predicted value comes from: the prediction header or the prediction line. Read-only
Source field nameThe predicted value. Read-only
Target field no.The number of the ExFlow Import Journal field that receives the value. Drill down to select a field. The list shows only normal, enabled fields that are not obsolete. Set it to 0 to skip the value
Validate target fieldRuns the field validation when the value is transferred. Activated by default. Selecting a target field activates it, and setting the target field to 0 clears it
Target field nameThe name of the selected target field. Read-only

The columns Source table no., Source field no., Target table no. and Target table name are hidden by default. Add them with Personalize if needed.

The data upgrade creates a default mapping in each company. Select Reset to default to restore the default mapping. This overwrites all changes made to the mapping.

A prediction cannot be applied in a company without a prediction mapping.

TruvioSense Documents​

The TruvioSense Documents page lists the ExFlow documents known to TruvioSense, grouped per vendor. Open it from the setup page, from ExFlow Setup --> TruvioSense - Coding & Approvals --> TruvioSense Documents, or by searching for the page name.

The page is used to follow the export to TruvioSense and to find documents with errors. It is read-only: documents cannot be added, changed or deleted here.

The documents are shown as a tree. Each vendor is a group row in bold, with the vendor's documents below it. All groups are collapsed when the page opens. Expand a vendor to see its documents.

ColumnDescription
Vendor No.The vendor of the document. Used to group the documents
SystemIdThe unique ID of the document reference
Document typeThe purchase document type, for example invoice or credit memo
Related tableWhere the document is: import journal, ExFlow document or posted document
Related System IDThe ID of the related document. Drill down to open it
Incoming document entry no.The incoming document that holds the PDF
Image filenameThe file name of the PDF of the document
Vendor enabledYes when the vendor is enabled for TruvioSense
Document image sentYes when the PDF has been sent to TruvioSense. Predictions can only be viewed when this is Yes
Posted document sentYes when the posted document, with its coding, has been sent to TruvioSense
Error messageThe reason the last export failed, if any. Shown in red

Actions:

  • View predictions — shows the predictions for the selected document
  • View serialized document — shows the data sent to TruvioSense for the selected document
  • View posted document — opens the posted ExFlow document

Vendor Management​

Choosing vendors to enable​

Good candidatesPoor candidates
10+ invoices/monthOne-time purchases
Consistent coding patternsHighly variable invoice types
6+ months of historyNew vendors (< 3 months)
Complex multi-line invoicesFewer than 5 invoices/year
  1. Pilot (weeks 1–2): Enable 5–10 high-volume vendors. Monitor closely.
  2. Expansion (weeks 3–6): Add 20–30 more vendors. Refine based on pilot results.
  3. Full deployment (weeks 7–12): Enable all qualifying vendors. Train all users.

Monitoring​

Check the Vendors section of TruvioSense - Coding & Approvals Setup regularly:

  • Status — the latest vendor status from the TruvioSense service. Blank means the service has no remarks for the vendor
  • Document images sent — should grow over time (50+ = reliable predictions). Drill down to see the documents

The Status is updated by the job handler. Select Related --> Update vendor insights to update it straight away.

Improving poor predictions​

  1. Verify document count is 50+ for reliable results
  2. Ensure historical coding was consistent
  3. Continue coding correctly — the system learns from corrections
  4. Allow 30–60 days for improvement