• Services
    LLM
    AI & ML
    Digital Healthcare
    Data Science
    DevOps
  • Products
    Jackalope
    EyeAI
  • Industries
    Healthcare
    Agriculture
    EdTech / LMS
    Retail / E-commerce
    Manufacturing
  • Resources
    Blog
    Case Studies
    Expert Guides
  • Company
    About us
    Careers
  • Contact us
logo
Services
LLMAI & MLDigital HealthcareData ScienceDevOps
Industries
HealthcareAgricultureEdTech / LMSRetail / E-commerceManufacturing
Case StudiesAbout UsBlogCareers
Our contacts
+380(66)54-32-579
sales@sciforce.tech

Get monthly digest of innovations

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Social Media:
Privacy Policy © 2026 Sciforce
5.0
AI-Powered Taxi Receipt Management cover

AI-Powered Taxi Receipt Management: Faster Reimbursements and Accurate Data

Published: May 31, 2024
# FinTech
# AI / ML
# Computer Vision
# DevOps
# LLM
The implementation of AI-powered receipt and invoice processing for fintech enabled efficient handling of diverse receipt formats for taxi services. Using advanced OCR automation for finance with Tesseract, GANs for image enhancement, and LLMs for data structuring, we created a comprehensive intelligent document processing for expense management solution that ensured high data accuracy and reduced processing times.

Challenge

From Pilots to Profits: A Roadmap for Scaling LLMs in the Enterprise

Find out more with SciForce free checklist

The client works in the Financial Technology (FinTech) sector, focusing on digital invoicing and automated expense management for transportation services. They act as a middleman offering technical solutions to taxi services, helping them manage invoices more efficiently and keeping their financial records well-organized.

They help turn physical taxi receipts into a standardized digital format, dealing with various receipt types and photo qualities.

Client's key challenge is dealing with receipts in different formats from various taxi services and turning a poor photo of a receipt into a clear image to understand and extract the data from.

1. Variability of Data

Taxi receipts came in numerous formats with unique layouts, languages, and structures. In our case, we had to work with receipts in Swedish and English — a language scope the contract automation case shares, where Swedish-language agreements had to be parsed with clause-level precision despite equally inconsistent document structures.

2. Poor Photo Quality

Photos of receipts often have issues such as low resolution, poor lighting, blurriness, and visual artifacts like shadows and reflections, creating challenges for computer vision and OCR for financial documents. Additionally, most receipt photos are taken at an angle, making it harder for computer vision for document analysis to recognize the values.

3. Data Accuracy

Ensuring that the extracted data from receipts was accurate and reliable for tracking expenses, despite differences in receipt layouts, inconsistent field formats (such as dates and prices), language variations, low-quality photos.

4. Model Training Resources

Training large models like LLMs required significant computational resources, including high-performance GPUs, extensive memory, and long training times, making it costly and time-consuming.

5. Integration and AI Infrastructure Scalability

Integrating the processed receipt data into existing financial and management systems, and scaling the solution to handle large volumes of receipts, potentially reaching millions per month.

Solution

01_T.jpg

Dataset Сollection

We collected a dataset around 10.000 receipts that included a wide range of receipt formats in English and Swedish languages. It was used to train the model models to recognize and adapt to these variations, ensuring accurate processing.

Image Enhancement

Implemented advanced image enhancement techniques, including noise reduction and upsampling with GANs, to improve image quality before processing.

LLM for Structured Data Extraction

Used OCR technology like Tesseract and trained LLMs to improve text extraction and classification accuracy. Implemented post-processing steps to correct errors and maintain data integrity.

Machine Learning Model Integration

Employed LoRA-based training to focus on a small portion of the model's weights, optimizing resource usage while maintaining high accuracy.

Data Integration

Choose relational databases for structured data storage and seamless integration with existing systems, allowing for efficient data retrieval and manipulation.

Features

Image Enhancement

Enhances the quality of receipt images by reducing noise and performing upsampling using Generative Adversarial Networks (GANs). This also includes geometric transformations to make the receipts easy to read, as if they were scanned.

AI for Invoice Management

Trains a model to accurately detect and delineate the boundaries of receipts, ensuring that only relevant information is captured. Utilizes a dataset with labeled check boundaries, trained using YOLO.

Text Extraction

Uses Optical Character Recognition (OCR) to extract text from the processed images within the detected boundaries, ensuring accurate text recognition.

Data Structuring

Organizes the extracted text into a structured format, categorizing elements such as order lists and VAT calculations.

Post-processing

Identifies and corrects errors in the extracted data. This includes editing the image if necessary and ensuring keywords correspond to the correct statements, handling the most frequent errors.

Feedback Loop

Implemented a feedback loop allowing users to report inaccuracies easily. This feedback was reviewed, added to the dataset, and used to retrain the model, continuously improving accuracy and handling variability.

Development Journey

Image Transformation

1. Image Enhancement

Edited the source images to improve quality, including noise removal and upsampling using Generative Adversarial Networks (GANs). This step ensured that low-resolution images were enhanced to a higher resolution, making them suitable for further processing.

2. Classical Image Processing Techniques and Geometric Transformations

Applied geometric transformations to align and correct receipt images, making them look like scanned documents. Used model-based image enhancement (GANs/diffusion) only for edge cases to maintain cost-effectiveness.

04_T.jpg

Invoice Detection

1. Model Training

Collected a comprehensive dataset containing various receipt images with clearly labeled check boundaries. This dataset was used to train a YOLO model, designed to detect the edges and boundaries of receipts. The training process involved teaching the model to recognize different receipt formats and accurately identify their perimeters.

2. Detection

Deployed the trained YOLO model to automatically detect and delineate the boundaries of receipts in real-time. The model accurately localized the receipts within the images, drawing precise bounding boxes around them.

OCR Implementation

1. Text Extraction

We used Tesseract for Optical Character Recognition (OCR) to extract text from processed images within the accurately detected receipt boundaries. The receipt recognition AI models were configured to recognize various fonts and languages commonly found on receipts, ensuring high accuracy in text extraction.

03_T.jpg

For more complex tasks requiring maximum accuracy, it’s possible to use high-end OCR models via APIs, such as Microsoft Vision 3.0.

2. Text Processing

Converted the extracted text from taxi receipts into organized, structured data formats. This included categorizing details such as ride dates, pickup and drop-off locations, fare amounts, tip amounts, total charges, and VAT calculations. The field taxonomy here is relatively predictable — every receipt has a date, a fare, a total. The spec sheet extraction case shows what structuring looks like when the field taxonomy itself is unknown until the document is parsed.

Data Structuring

1. LLM Training

Trained a Large Language Model (LLM) named Gemma 2B to enable LLM-based structured data extraction from documents, accurately categorizing data from taxi receipts into specific groups, such as ride details, fare breakdowns, and VAT information. Employed LoRA-based (Low-Rank Adaptation) training techniques to optimize the model by focusing on specific attention layers.

2. Dataset Preparation

Compiled a high-variance dataset consisting of taxi receipts from various services and regions. This dataset included a wide range of templates with variations in structures, ride details, date formats, currency symbols, and other receipt elements, to teach the model accurately deal with variability in real receipts.

Post-Processing

Identified and corrected common errors in the extracted data from taxi receipts. This involved adjusting misrecognized text, such as correcting fare amounts, dates, and location names. Edited images to remove artifacts or distortions that could affect text accuracy.

Tech

- YOLO (You Only Look Once): Trained a model to accurately detect and delineate the boundaries of taxi receipts within images.

  • Tesseract Open Source OCR Engine: Used to extract text from processed images within the detected receipt boundaries.
  • Super-Resolution Generative Adversarial Networks (GANs): Implemented for image enhancement, including noise reduction. Upsampling, and geometric correction.
  • LoRA (Low-Rank Adaptation): Employed to train the Large Language Model (LLM) Gemma 2B, optimizing resource usage while maintaining high accuracy.
  • Gemma 2B: Large Language Model (LLM) Trained to extract and categorize data from taxi receipts into specific groups such as ride details, fare breakdowns, and VAT information. Used LoRA-based training to optimize performance.

Impact

04_T.jpg

  • Efficiency & Cost-Saving Through AI Automation

The solution removed the need for manual data entry, increasing the efficiency of AI receipt processing software by 80% and cutting the costs by 50%.

  • Scalable AI Solutions for FinTech

The end-to-end AI document automation for fintech platforms enabled the client to scale their operations effectively, handling millions of receipts per month.

  • Accurate Data Extraction

The accuracy of data extraction improved by 80%, enhancing the reliability of AI in financial operations. This led to higher client satisfaction and trust, resulting in increased client retention and loyalty.

  • Faster Reimbursement

Quicker processing times led to faster reimbursements for taxi drivers and companies. This reduced the waiting period for payments, improved cash flow, and allowed for more efficient financial planning and operations. We’ve upgraded the taxi receipt management system for a FinTech client. Our AI solution made processing 80% faster and more accurate, even with tough receipt formats and bad image quality

RELATED CASE STUDIES

View all Case Studies
Streamlining Financial Workflows with DevOpsFrom Fragmentation to Integration: Streamlining Financial Workflows with DevOps

The client works in the financial sector, helping businesses simplify reporting, budgeting, and forecasting. Their tools use real-time data and smart technology to create accurate reports, plan for the future, and test different scenarios. With features like multi-company and multi-currency support, easy-to-use dashboards, and seamless ERP integration, their solutions are flexible and scalable, making them ideal for businesses of all sizes looking to improve financial processes and support growth.

# FinTech
# DevOps