Data Warehouse for an Automotive Importer

Orbis brings sales, dealer, invoice, financing, and operational data together in one model — from a single VIN to the entire sales portfolio.

The system replaces scattered spreadsheets, exports, and reports with a shared data layer and interactive analytics for management, sales, finance, and operations.

Data warehouse · Automotive

VIN

Connects vehicle, sales, document, and financing data

Shared model

Sales, dealers, invoices, and financing in one place

Automation

Leasing applications and invoice adjustments based on structured data

Interactive dashboard with a map of Central and Eastern Europe, showing data visualized with colored circles.

The challenge

Data from multiple departments still doesn’t provide a single view of the business

The importer works with data from its ERP system, sales files, financing reports, XML documents, and materials shared in SharePoint. Each source describes only part of the picture, while different exports and refresh schedules make it difficult to analyze everything together. Connecting this information makes it possible to assess which vehicles deliver the right margin, where capital is tied up in inventory, and how financing affects results.

Without a shared model

Manual data consolidation

Analyzing an individual vehicle requires matching its VIN with the invoice, financing terms, and dealer data. Margins, discounts, and turnover are analyzed separately, and a report may be out of date by the time it reaches the decision-maker.

With the Orbis data warehouse

The full context for decisions

Data is normalized into a shared schema and connected through vehicle, transaction, margin, and financing histories. The team uses the same metrics and can analyze results from the VIN level to the entire sales portfolio.

System architecture

Source integration

The system imports sales data, invoices, ERP exports in XML, financing reports, and reference data for dealers and brands. Documents can enter the process from SharePoint without being manually transferred to a separate tool.

ERP, sales, and documentsintegration and validationshared data modelanalytics and automationReact interface

Processing and quality control

The OCR parser extracts document numbers, tax IDs, VINs, net amounts, VAT and gross amounts, line-item descriptions, and dates from invoices. Data is validated, and records with low confidence can be flagged for review. ERP exports are transformed into a transactional model while preserving document provenance.

Shared data model

Tables connect sales, dealers, invoices, financing, and vehicle data. The model covers prices, margins, discounts, technical specifications, statuses, customer segments, and turnover history.

Analytics and the React layer

Calculations run on a regular schedule, and their results feed into interactive React views. Users can filter data, compare periods, and drill down from a KPI to a brand, model, dealer, or individual transaction.

Laptop with an interactive dashboard showing margin analysis: a waterfall chart, discount curve, and low-margin alerts.

Modules and features

Sales and operations analytics

Margins and discounts

Comparing monetary and percentage margins by dealer, salesperson, brand, and customer segment helps distinguish high volume from sales that actually generate results.

Model mix

Configuration analysis — model, trim, engine, transmission, color, and equipment — supports inventory and purchase-rate planning.

Factory pipeline

Monitoring delivery forecasts, arrival dates, and the time between order and fulfillment helps reduce the risk of shortages and unnecessary sales pressure.

Lead time and inventory turnover

The system calculates the average time from order to sale and identifies slower-moving models. This makes it easier to identify vehicles sitting in stock and decide whether to change the price, run a promotion, or adjust the sales plan.

Customer segmentation

Segmenting customers into B2B, B2C, fleet, rental, and private customers makes it possible to compare profitability, sales mix, and offer effectiveness across segments.

Warranties and registrations

Monitoring extended warranties, registration dates, and delays between sale and settlement helps distinguish routine delays from operational risks.

CO₂ and price efficiency

Comparing emissions, powertrain types, and price efficiency across models and sales channels supports decisions about assortment and promotional policy.

Data-driven automation

Automation uses the same structured model as analytics. Its outputs can be linked to the source document, reviewed in analyses, and traced in the operational history.

Generating leasing applications

After an invoice is processed, the system prepares a leasing application file containing vehicle data, price, sale date, and VIN. It matches the dealer and contract number using the VIN and, if needed, the buyer’s details as well. This reduces the need to re-enter information from the invoice to the records and then into the form. The operations panel displays task status, batch history, the number of records processed, and process duration.

Preparing invoice adjustments

Using sales data, the system creates adjustments for agreed discounts and bonuses. It tracks the sequence of adjustments by VIN, preserves the history of generated documents, and reduces the risk of duplicates.

Process monitoring

The system records import runs, SharePoint file download statuses, OCR results, and the stages of application and adjustment generation. Users can monitor the process without manually checking multiple folders and spreadsheets.

Technologies

  • Data integration: Python, SharePoint, and Excel and XML file imports.
  • Data warehouse: MySQL and a relational model for sales, dealers, invoices, and financing.
  • Document processing: OCR, PDF parsers, validation, and invoice data normalization.
  • Analytics: Pandas, predictive models, and anomaly detection rules.
  • Presentation layer: React, interactive dashboards, and drill-down to source data.
  • Automation: Task scheduling and generation of XLSX files and XML documents.
Laptop interface with an application panel for managing operations, accounting, and sales analytics, including leasing applications

Implementation results

One model instead of multiple exports

Departments use the same definitions of sales, margin, vehicle, and financing.

Decisions based on the full context

Dealer performance, inventory, discounts, and financing can be analyzed together, making it easier to identify the causes of variances.

Less manual document work

Data for leasing applications and adjustments is drawn from a structured database. This reduces rekeying and makes process monitoring and auditing easier.

Independent analysis for the business

The React interface lets users drill down from a metric to the source of a variance. The team can see not only how many vehicles were sold, but also how quickly, what impact sales had on results, and which segments hold potential.

Operational data can work as a decision-making system

We design data warehouses and analytics layers that connect operational processes with a clear view for management teams.