Using Predictions
Go to: ExFlow Import Journals
Accessing predictions
- Open an ExFlow Import Journal
- Select a document
- 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
- Scan the header — do vendor, invoice number, and amounts match the actual document? Compare with the PDF Preview
- Check line items — focus on low-confidence lines
- Verify dimensions for each line
- 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
| Score | Action |
|---|---|
| 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
| Confidence | Line type | No. | Description | Quantity | Unit price | Amount |
|---|---|---|---|---|---|---|
| 95% | G/L Account | 6110 | Printer paper | 50 | 5.00 | 250.00 |
| 93% | G/L Account | 6110 | Toner cartridges | 10 | 80.00 | 800.00 |
| 68% | G/L Account | 6120 | Office chair | 1 | 200.00 | 200.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.
| Step | Who | Where |
|---|---|---|
| 1–7. Import, predict, code and create | AP user | ExFlow Import Journal |
| 8. Approve | Approver | ExFlow Web |
| 9. Post | AP user or background job | ExFlow Approval Status |
| 10. Learn | Automatic | TruvioSense 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.
| Column | Description |
|---|---|
| Source table name | Where the predicted value comes from: the prediction header or the prediction line. Read-only |
| Source field name | The 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 field | Runs 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 name | The 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.
| Column | Description |
|---|---|
| Vendor No. | The vendor of the document. Used to group the documents |
| SystemId | The unique ID of the document reference |
| Document type | The purchase document type, for example invoice or credit memo |
| Related table | Where the document is: import journal, ExFlow document or posted document |
| Related System ID | The ID of the related document. Drill down to open it |
| Incoming document entry no. | The incoming document that holds the PDF |
| Image filename | The file name of the PDF of the document |
| Vendor enabled | Yes when the vendor is enabled for TruvioSense |
| Document image sent | Yes when the PDF has been sent to TruvioSense. Predictions can only be viewed when this is Yes |
| Posted document sent | Yes when the posted document, with its coding, has been sent to TruvioSense |
| Error message | The 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 candidates | Poor candidates |
|---|---|
| 10+ invoices/month | One-time purchases |
| Consistent coding patterns | Highly variable invoice types |
| 6+ months of history | New vendors (< 3 months) |
| Complex multi-line invoices | Fewer than 5 invoices/year |
Recommended rollout
- Pilot (weeks 1–2): Enable 5–10 high-volume vendors. Monitor closely.
- Expansion (weeks 3–6): Add 20–30 more vendors. Refine based on pilot results.
- 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
- Verify document count is 50+ for reliable results
- Ensure historical coding was consistent
- Continue coding correctly — the system learns from corrections
- Allow 30–60 days for improvement