From a mortgage statement to a payoff plan.

A service for US homeowners: upload the monthly statement, and AI reads every figure from it. Then the service shows how extra payments move the payoff date and cut the interest. The client is under NDA; everything else here is as we built it.

~/cases/mortgage-analyzernda
client: under NDA
market: US homeowners
service: the whole product, spec to production
stage: in production
stack: Nuxt, Django, OpenAI, Stripe
94%
of uploaded statements read completely and correctly, with no manual fixes
0
expensive AI calls before the user has paid
3–5
plain-language recommendations, ranked by what they save
10 min
is all a link to a stored statement lives

A statement full of numbers, and no answers.

Every month a US homeowner gets a mortgage statement: balance, rate, escrow, mortgage insurance (PMI). It says what is owed, but not what to do about it. Would an extra $250 a month matter? When can PMI be dropped? Answering that takes an amortization spreadsheet few people build.

The client wanted a service that answers it from the statement itself: upload a PDF, get a plan. Either as a one-time analysis, or as a subscription that follows the loan statement by statement.

Two things made it hard. Every lender lays the statement out differently and names the same figure in its own words, and many statements arrive as scans. And every AI call costs money, while anyone can upload anything.

The expensive part runs only after payment.

The file is checked and classified cheaply before payment. Full extraction runs in the background once Stripe confirms the payment, and the analysis is calculated on request.

~/mortgage-analyzer/architecture
upload/Checks the file (type, up to 10 MB, no password), stores it encrypted and asks a cheap model one question: is this a mortgage statement?
extraction/Reads the text layer first and uses vision OCR only for scans. Then every field is pulled out as structured output, with GPT-5.6 as of November 2026.
analysis/Amortization, extra payment and PMI scenarios, calculated on the fly from the extracted figures, so nothing goes stale.
payments/One-time purchases and subscriptions in Stripe. The payment webhook starts the extraction in a background queue.

Where the engineering went.

A statement, not a brochure

A real statement needs at least two must-have signs: an account number, a borrower name and address, a statement date, a due date, real amounts. Sample watermarks, placeholder names and account numbers like 123456789 get a file rejected before anyone pays.

One figure, many names

“Unpaid principal balance”, “outstanding principal”, “principal balance”: every lender has its own words. The model is told what each field means, with common synonyms, so it finds the figure whatever the label. Five fields are required, two give a warning when missing, the rest are optional.

Numbers that don’t add up

When a statement doesn’t show the remaining term, it is calculated from balance, rate and payment. A payment smaller than the interest, or a term over 40 years, is flagged instead of shown: it means a growing balance, a variable rate or bad data.

One subscription, one household

Each new statement is matched to a loan by account number, and the borrower name is compared with earlier statements. A spouse on the same property is fine; a stranger on another property is not. The same statement uploaded twice is caught by file hash, or by account number and date.

// documents in every layout, and AI costs to keep in check? that's a 30-minute conversation.book a call →

Have an idea, or a product that needs to grow?

Book 30 minutes with Yevhenii. Bring the hard part.

~/next-step
$ book-call --with yevhenii --30min
→ no sales pitch
→ your problem, and how we'd approach it
→ an honest no if we're not the right team
→ NDA before details, if you need one