Choose how bills are read: rules or a model on this PC
VahiWise reads a bill's text by fixed rules. You can add a model that runs on this PC or on a server in your office, to fill in what the rules miss. This guide finds the choice, reads the models list, and tests, switches on and switches off the local model.
Applies to VahiWise 0.2.0Last updated 23-11-2026Accountant or CA firmabout 10 minutes
Before you start
- You have a company open in VahiWise. This guide uses the sample company.
- You are signed in as the owner. Switching these settings is an owner action.
- You have read how a bill is read and checked (Read a supplier's bill PDF and turn it into a purchase entry).
Nothing here posts a bill. A model only fills a draft, and you still check and post it. No model is downloaded in this guide: downloading is a large step and is described in words only.
Steps
1. Open the AI assistants tab
Open Settings, then Company & Data, then the AI assistants tab. Scroll past the assistant connection text to the card How bills are read. Its heading ends with the current choice: "rules only".
There are two choices. Rules only reads bills by fixed rules, on this PC. It is fast, the same every time, and it is the default. Rules + a model on this PC reads every bill with the rules first. Only when the rules miss a field, or a check fails, is the model asked. Where the two reads differ, you pick. A clean bill stays as fast as rules only.

2. Choose Rules + a model on this PC
Choose Rules + a model on this PC. The change is saved at once. A message further down the page reads "Bills are read by the rules, and the model on this PC fills what they miss."
The heading now reads "rules + a model on this PC (no model running: rules only until one runs)". Until a model is running, bills are still read by the rules alone.

3. Read the Models on this PC list
The card Models on this PC lists the models VahiWise can run here, with the size, licence and what each is good for. In the sample, the three listed are Qwen3 1.7B, Qwen3 4B (marked recommended) and Qwen3 8B, each with a Download button. A model that does not fit this PC is greyed, with the reason. A running model shows In use and a Stop button.

The card also says that none of these reads phone photos reliably. After the first documents are read, a line under the list shows how each model has done on this company's documents. Downloading and running a model were not tried here.
4. Test the address of a local model
The card Local model (on this PC or your office server) is for a model that already runs, for example llama-server, Ollama or LM Studio. Type its Address and Model. The address is this computer, an office address such as http://192.168.1.20:8081 (a number, not a name), or https.
Press Test. If the model answers, a line in the card says how long it took. If nothing answers at the address, a red message appears lower down. In the sample the address has nothing running, and the message reads "The local model couldn't be reached (fetch failed)."

5. Switch the local model on
Press Switch on. The message reads "The local model is on: it is tried first." The heading of the card now names the model, who switched it on and the date. The address and model boxes are locked, and the button becomes Switch off.

The app does not stop you switching on an address that failed the test. Test first.
6. Switch it off
Press Switch off. The message reads "The local model is off." The model stops being asked, and the rules carry on alone.
Check it worked
The How bills are read heading shows your choice. The Local model heading says "on" with the model name, or "off". Read one bill (Read a supplier's bill PDF and turn it into a purchase entry) and see whether the unsure fields fill.
If something looks wrong
The test says the model could not be reached
Nothing is answering at that address. Start the model program first, check the port, and test again.
The test says the model refused
Something answers, but it is not a model server, or it refused the request. The sample address at the default port gave "The local model refused: 404" when another program listened there.
The heading says no model running
You chose the model route but no model is on yet. Bills are read by rules only until one runs.
Could not verify
- A real model was not run. No model was downloaded and no model server runs here, so a passing Test, a bill filled in by a model and the "where the two reads differ, you pick" choice were not seen.
- The cloud model card, "Reading PDFs with an AI model", was not switched on. Switching it on sends PDFs to an outside provider and needs a key.
- Download, Use, Stop and Delete on the models list were not tried.
- Whether the saved choice is kept after the app restarts was not checked.
Notices
Questions about this guide: write to us from the contact page. What the notices mean: notices.