Matos VoiceDocs
Voice-to-Invoice Automation Prototype
Turn spoken job notes into editable invoice drafts so tradespeople can review totals and export without manual paperwork.

Operational Setting
Mobile invoice creation for tradespeople and independent service contractors on job sites.
The Problem
Field technicians lose billable hours and delay invoicing because drafting invoices from notes at the end of the day is tedious, leading to forgotten line items and cash flow delays.
The Approach
Voice input allows immediate capture in natural speech right after completing work, but must be bounded by strict schema extraction to prevent hallucinated line items or arithmetic errors.
What We Built
A mobile voice-recording prototype that captures spoken job notes, drafts individual line items, and compiles formatted invoices for review.
How It Works
The contractor speaks their completed work; the system extracts individual line items for hours, materials, and rates; calculations happen automatically; and the contractor reviews and confirms everything before generating the final invoice.
Job-Site Audio Capture
Technician dictates completed work, hours spent, and replacement materials using their mobile phone microphone.
Speech-to-Text Transcription
The spoken audio stream is converted to accurate text with domain-specific vocabulary hints for technical trades.
Structured Line-Item Extraction
Unstructured transcription is parsed into structured line items, quantities, hourly labor, and parts costs.
Human Review & Calculation
The technician inspects the draft invoice on-screen, edits any quantities, and approves the calculated total.
Implementation Evidence
React audio recording interface, Deepgram Nova-2 speech-to-text API, deterministic invoice math engine, schema validation with Zod, SHA-256 document hashing.
Human-in-the-Loop Invoice Verification Gate
“Installed replacement 40A contactor on split-system AC, spent 2.5 hours diagnostics and vacuum test, plus €65 parts cost.”Technician verifies labor hours (2.5 hrs @ standard rate) and materials (€65.00) in editable table
Click “Simulate Operator Sign-Off” above to transition into the verified state and see the next action.
Next.js API route handling audio payload streaming via Deepgram Nova-2 and structured OpenAI schema mapping
Client-side reactive session state with instant PDF export capability
Strict Zod schemas enforcing non-negative rates, positive hours, and sanitized descriptions
Audio segments with low confidence trigger explicit manual review prompts instead of silent guesses
What This Project Demonstrates
- Voice input capture and streaming transcription handling
- Schema-validated structured entity extraction from conversational speech
- Deterministic line-item calculation and instant invoice preview
- Mobile-first workflow design bounded by human review
08 / Evidence & Status Note
Functional prototype and technical demonstration. Demonstrates voice extraction and billing automation workflows. Not a production accounting platform and not connected to live banking.
Still creating invoices from handwritten or spoken notes?
Whether you need a custom website, streamlined business workflows, or tools that connect, tell me what you are looking to build or improve.