Repository navigation
Maintenance and TCO Engine
VehicleVault combines a proactive Dual-Trigger Maintenance Engine with a Pure Ownership Total Cost of Ownership (TCO) calculator and a Full-Attachment PDF Dossier Generator.
Every maintenance item (e.g., Engine Oil & Filter, Timing Belt, Brake Fluid, Cabin Filter, Spark Plugs) tracks both Distance (km) and Time (months):
-
Green (
Good):< 90%elapsed -
Amber (
Due Soon):90% โ 99%elapsed -
Red (
Overdue):>= 100%elapsed
A major garage service often covers multiple maintenance intervals at once. When logging or editing a service record:
- Select multiple intervals via the checkboxes under Reset Maintenance Intervals.
- When scanning an invoice with AI, VehicleVault automatically pre-selects all matching intervals based on the translated invoice line items.
- Saving the record updates
last_service_dateandlast_service_odometeracross all selected intervals simultaneously (only advancing an interval if the record is newer than its current baseline).
When you buy a used or imported car, you often digitize historical invoices from the previous owner to keep the service book complete. However, those historical bills were not paid by you and should not inflate your personal TCO.
- In My Garage (
Mijn Garage) โ Edit Vehicle, configure the Purchase & TCO Baseline section:-
Purchase Date (
Aankoopdatum / Tenaamstelling): Auto-filled from the RDWdatum_tenaamstellingfor Dutch plates, or set manually. -
Initial Odometer (
Kilometerstand bij aanschaf): Your odometer reading when taking ownership. - Purchase Price (
Aankoopprijs).
-
Purchase Date (
- Any service record dated before your Purchase Date or logged at an odometer reading lower than your Initial Odometer (or manually toggled with "Previous owner / Exclude from TCO") is automatically badged as
Vorige eigenaar (buiten TCO). - These records remain 100% visible in your Maintenance Passport and still update your maintenance intervals, but are excluded from TCO financial totals, cost-per-km, and monthly spend charts.
From the Dashboard or TCO & Analytics page, click Export PDF Dossier:
-
Optional Sections:
-
Current Tires & Tread Depth (
Huidige Bandenset & Profieldiepte): Includes the mounted tire set's brand, model, tire size, rim size, load/speed index, DOT code, driven km, and 4-wheel tread depths (LV,RV,LA,RA). - Fuel History Summary (
Tankhistorie). - Attached Receipts & Maintenance Invoices (
Gekoppelde Bonnen & Facturen).
-
Current Tires & Tread Depth (
-
Full-Page Merged PDF & Image Attachments (
pdf-lib):- Instead of listing a filename, VehicleVault embeds every attached
.pdfmaintenance invoice (all pages) and image invoice as full-size separate pages at the end of the PDF dossier, complete with an identification banner showing the service date, title, and garage name.
- Instead of listing a filename, VehicleVault embeds every attached
VehicleVault v2.0.0 โ Self-Hosted Vehicle Management, AI Invoice Translator, TCO & Model Context Protocol โข GitHub Repository
- ๐ Home
- ๐ณ Installation & Docker
- ๐ค AI Receipt & Invoice Scanner
- ๐ ๏ธ Maintenance, TCO & PDF Export
- ๐ Tires & Trip Logging
- ๐ Home Assistant, .ics & MCP
- ๐ Notifications, Sharing & Security