Repository navigation
v0.22.0
Agents can now file mileage claims and read pages from a short list of official sites, and a bank connection fetches the whole year on its first run instead of 90 days.
New
- Mileage claims through an agent (#290). New agent tools
kjoring_registrer(a km claim with no receipt and no rate; statens sats on the driving date comes from the satsregister) andkjoring_sats(shows that rate). A toll receipt can be filed under the drive and inherits its person, project and billable flag. The prompts now say that reimbursing the employee and rebilling the customer for the same drive is normal, and never to ask for the rate. - Agents read official web pages (#290).
GET /web?url=and thenettsidetool read a page only from domains on a platform list (default Skatteetaten, Lovdata, Regjeringen, Brreg, Altinn, Norges Bank): https only, checked on every redirect, plain text, at most 1 MB. A systemadmin edits the list in the platform console under Innstillinger; customers cannot widen it. - «Hent eldre» on a bank connection (#294). Fetches the bank's transactions from a chosen date, once, as far back as the bank gives history. Lines already fetched or uploaded are not imported again.
Changed
- The first bank fetch covers the year (#294). With nothing on the account yet, it starts at 1 January of the current year instead of 90 days back, but never inside history the ledger already holds: the day after the newest SAF-T-imported voucher, or the date of a manual opening balance. Banks generally give more than 90 days only shortly after the customer has logged in with BankID, so this is the fetch that has to reach back.
Fixed
- The hosted agent no longer answers every turn twice (#292). It reports through its marked closing reply only; external agents over MCP are unchanged.
- The reconciliation card's note about missing balances now names the bank connection as well as CSV files (#289).
Migrations: none.
API: new GET /web; POST /companies/{id}/bank/feed/{connection_id}/sync takes an optional ?fra=YYYY-MM-DD; POST /companies/{id}/expenses/receipts takes an optional trip_expense_id.
Operations: the bank connection runs in Enable Banking's restricted mode in prod (our own account only). The Enable Banking response format is now pinned by a real, scrubbed Nordea response in the tests (#293).