Back to all work
Applied ML & data science

Agri-credit scoring from invoice data

Agri-tech / SMB lending client · 2025 · invoice-data ML pipeline

Credit scoringInvoice MLAgri-FinTechETL

Problem

An agri-tech lender needed to extend credit to SMB farmers and food producers without traditional credit-bureau coverage. The available signal was raw invoice data — purchase orders, payment histories, supplier relationships, seasonality patterns — sitting in unstructured PDFs and accounting exports across the borrower's existing book.

Approach

Built an end-to-end pipeline from invoice ingestion through credit scoring. Invoice parsing and entity extraction to normalise counterparties, payment-terms inference, cash-flow seasonality modelling, and a credit-scoring layer that combined invoice-derived features with available structured data. Special attention to the "thin file" problem — borrowers with months rather than years of history.

Stack

Python ML pipeline · invoice parsing / OCR layer · scikit-learn / XGBoost · feature store · scoring API

Outcome

A credit-decisioning layer the lender can run on borrowers traditional bureaus do not cover. The model produces both a score and a per-feature attribution (which invoice-derived signals drove the decision), so credit officers can audit and override individual cases — required for regulated lending review.

Want a similar engagement on your stack?

Most engagements like this started with a 60-minute scoping call.

More from this group

Aru Bhardwaj

Fractional CTO architecting sovereign AI systems for startups and scale-ups across Europe. Custom ML, agentic RAG, and secure LLM infrastructure. 7+ years turning complex data into production intelligence.

Malt
Upwork

Contact

Services

  • Fractional CTO & AI Strategy
  • MVP Development & Rapid Prototyping
  • Sovereign LLM Deployment (OVHcloud, Scaleway)
  • Multi-Cloud AI (AWS Bedrock, Vertex AI, Azure)
  • RAG Pipelines & Autonomous Agents
  • GDPR & EU AI Act Compliance
  • Generative AI & Prompt Engineering
  • Machine Learning & Predictive Analytics

Monthly playbook

Practical AI essays for founders and tech leaders. One email a month.

Tactical AI essays, monthly.

© 2026 Insightrix SASU. All rights reserved.Aru Bhardwaj, Fractional CTO & AI Strategist

60 Rue François Ier, 75008 Paris, France · SIRET 989 236 856 00013 · TVA FR42989236856