TruvioSense Workflow
TruvioSense learns how each vendor's invoices are usually coded. It then suggests the coding for new invoices in the ExFlow Import Journal. These suggestions are called predictions.
This page shows the full workflow in five phases, in the order they take place. Each phase links to the page with the full details.
The workflow at a glance:
Set up (Phases 1–2) → TruvioSense learns from posted invoices (Phase 3) → AP users apply predictions (Phase 4) → Corrections make predictions better (Phase 5, and back to Phase 3)
| Phase | Who | When | Goal |
|---|---|---|---|
| 1. Prepare Microsoft Entra ID | IT administrator | Once | Give Business Central access to TruvioSense |
| 2. Set up Business Central | Business Central administrator | Once | Connect, and choose companies and vendors |
| 3. Background processing | Automatic | Every hour, Monday to Friday, 06:00–18:00 | Send invoices to TruvioSense |
| 4. Process invoices with predictions | AP user | Daily | Use predictions to code invoices faster |
| 5. Monitor and improve | Business Central administrator | Regularly | Keep things running and add more vendors |
Phase 1: Prepare Microsoft Entra ID
Who: IT administrator. Done once per tenant.
Goal: create a user that Business Central can use to sign in to TruvioSense. This user is called the service user.
- Create a dedicated service user in Microsoft Entra ID, or pick an existing one
- Give tenant-wide admin consent to the Truvio Entra application
- Assign the Truvio.SubscriptionService app role to the service user
Result: the service user can sign in to TruvioSense from Business Central.
More details: Getting Started – IT Admin Setup Guide
Phase 2: Set up Business Central
Who: Business Central administrator. Done once.
Goal: install TruvioSense, connect it, and choose which companies and vendors to use.
Before starting, check that:
- Business Central online is version 26.2 or later
- ExFlow AP Automation is installed
- The Business Central user has an Authentication Email
- The browser allows pop-up windows for Business Central
Steps:
- Install the app. In Extension Management, install TruvioSense - Coding & Approvals.
- Run the data upgrade. Open TruvioSense - Coding & Approvals Setup and select Related --> Run data upgrade. This runs for all companies and creates the default Prediction mapping.
- Connect to TruvioSense. Select Onboarding --> Onboard and sign in with the service user from Phase 1. Leave Region blank to use the default region.
- Check the connection. Select Onboarding --> Onboarding status. Core Service Login must be Yes.
- Turn on a company. Select a company in the list, select a Job queue category, and set Enabled to Yes. Start with one company.
- Turn on vendors. In the Vendors section, set Enabled to Yes for 5–10 vendors to start with. Good choices are vendors with many invoices (20 or more) that are always coded the same way.
- Start the background job. Select Schedule job handler and confirm. The job handler is the job queue entry that runs TruvioSense in the background. It is scheduled once for all companies.
Result: Job handler scheduled shows Yes. The first export starts on the next run.
More details: Getting Started
Phase 3: Background processing
Who: automatic. No user action is needed.
Goal: send invoices to TruvioSense so it can learn and make predictions.
Each time the job handler runs, it:
- Sends posted invoices from enabled vendors, with the PDF of each invoice. The first run sends the most recent invoices for each vendor. Later runs send only newly posted invoices.
- Sends new invoices from the ExFlow Import Journal (the PDF), so that predictions can be made for them.
- Updates the vendor Status in the Vendors section.
TruvioSense uses the posted invoices to build a prediction model for each vendor. The first predictions are usually ready 24–48 hours after the first export.
Good to know:
- Invoices without a PDF attachment are not sent.
- To send invoices right away, without waiting for the next run, select Related --> Run document export on the setup page.
Check after a few hours:
| What to check | Where | What it should show |
|---|---|---|
| Invoices are sent | TruvioSense Documents | Document image sent and Posted document sent are Yes, and Error message is blank |
| Vendors are progressing | Vendors section of the setup page | Document images sent goes up over time |
| The background job is running | Job Queue Entries | The TruvioSense job handler has status Ready |
More details: Getting Started – Background jobs
Phase 4: Process invoices with predictions
Who: AP user. Daily.
Goal: fill in invoice coding with one action, then check and adjust it.
- Open the invoice. Open the ExFlow Import Journal and select a document.
- Open the predictions. Select TruvioSense --> View predictions. The TruvioSense Predictions page opens, with a PDF Preview of the invoice next to the prediction.
- Check the header. Compare the vendor, invoice number and amounts with the PDF.
- Check the lines. Pay most attention to lines with a low Confidence.
- Check the dimensions. Select each line and review its dimensions.
- Apply the prediction. Select Apply TruvioSense prediction and confirm. ExFlow fills in the header fields, replaces all existing lines with the predicted lines, and adds the dimensions.
- Adjust if needed. Edit any field in the journal.
- Continue as normal. Send the invoice through the normal approval workflow.
How much to check: the Confidence score shows how sure TruvioSense is about a prediction. The lower the score, the more checking is needed.
| Confidence | What to do |
|---|---|
| 90–100% | Quick look, then apply |
| 80–89% | Short review, then apply |
| 70–79% | Careful review before applying |
| 60–69% | Check every detail |
| Below 60% | Consider entering the coding manually |
How predictions get better: after the invoice is posted, it is sent to TruvioSense on the next run, including any manual corrections. TruvioSense learns from these corrections automatically. No retraining is needed.
No prediction shown? See Troubleshooting – Prediction issues.
More details: Using Predictions
Phase 5: Monitor and improve
Who: Business Central administrator. Regularly.
Goal: make sure everything runs smoothly, and add more vendors and companies over time.
- Check vendor status. In the Vendors section of the setup page, review Status and Document images sent. Predictions are reliable from about 50 documents. To refresh the status right away, select Related --> Update vendor insights.
- Check for errors. On TruvioSense Documents, review the Error message column.
- Check the background job. In Job Queue Entries:
- If the job handler has status Error or On Hold, fix the issue and set the status to Ready.
- If the job handler is missing, select Schedule job handler on the setup page.
- Add more vendors and companies, step by step:
| Stage | Weeks | What to do |
|---|---|---|
| Pilot | 1–2 | Use 5–10 vendors with many invoices. Follow the results closely |
| Expansion | 3–6 | Add 20–30 more vendors. Make changes based on the pilot |
| Full deployment | 7–12 | Add all suitable vendors. Train all users |
-
Fix weak predictions. If a vendor's predictions are poor, check that:
- The vendor has 50 or more sent documents
- The vendor's past invoices were coded the same way each time
Keep coding the vendor's invoices correctly. Predictions usually improve within 30–60 days.
More details: Using Predictions – Vendor Management and Troubleshooting