DEMONSTRATION

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.

VoiceDocs voice recording input interface
● Verified Implementation AssetVoiceDocs voice recording input interface capturing conversational tradesperson project notes

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.

How it works: Step 01 through Step 04

Job-Site Audio Capture

Technician dictates completed work, hours spent, and replacement materials using their mobile phone microphone.

Mechanism: HTML5 MediaRecorder API with WebM/WAV audio streaming

Speech-to-Text Transcription

The spoken audio stream is converted to accurate text with domain-specific vocabulary hints for technical trades.

Mechanism: Deepgram Nova-2 speech-to-text transcription pipeline

Structured Line-Item Extraction

Unstructured transcription is parsed into structured line items, quantities, hourly labor, and parts costs.

Mechanism: Structured JSON schema parsing with Zod runtime validation

Human Review & Calculation

The technician inspects the draft invoice on-screen, edits any quantities, and approves the calculated total.

Mechanism: Deterministic arithmetic math engine with editable table inputs
Human Gate: Mandatory technician verification required before generating final document

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

SIMULATED DEMOAWAITING OPERATOR REVIEW
Interactive Architecture Demonstration: Illustrates human-in-the-loop governance. Click the operator sign-off button below to observe how execution state transitions from blocked to authorized.
“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

Safeguard Active: Automated follow-up actions are strictly blocked until an authorized human reviews and approves the draft.

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.