One fleet for your receipts, invoices, and purchase orders.

Documa reads every vendor document, audits it line by line against your contracted purchase orders in Firestore, and clears or disputes it - before a person ever opens the file.

documa-fleet · us-central1 · audit session SES-4B21A9
gs://documa-receipts-bucket/overcharged_invoice.pngobject.finalized
MultimodalVisionAgent2 line items extracted
ContractAuditorAgent · PO-99212 discrepancies
Billed$4,400.00
Contracted basis$3,250.00
Net variance+$1,150.00
DiscrepancyDispatcherAgentESCALATED_TO_HUMAN_FINANCE

Documa, at a glance.

Scanned vendor invoice under audit
01

Gemini 3.5 Flash reads the document itself.

Line items, unit prices, tax, and vendor signatures - from scans and PDFs.

02

Every figure is checked against the contracted PO.

Purchase orders live in Firestore and are matched by SKU, then description.

03

Overcharges and unauthorized fees are itemized.

Price inflation, quantity mismatches, and line items no PO ever approved.

04

Compliant invoices clear for payout automatically.

Totals matching contracted rates never wait on a person.

05

Minor disputes are drafted and dispatched by the fleet.

Under the $500 threshold, Documa writes the vendor notice and sends it.

06

Only genuine exceptions reach a human signature.

Major overcharges and unauthorized items escalate - nothing else does.

Silence your invoice queue, with confidence.

Across a full quarter of procurement documents, Documa cleared or disputed almost everything on its own. The number that matters is the small one.

Live from this deployment's Firestore audit trail.

- vendor documents audited end to end
- required a human signature
- resolved without anyone opening the file

Sixty seconds, one page, no analyst.

Documents arrive on their own.

A file lands in Cloud Storage, Eventarc fires object.finalized, and the Cloud Run fleet wakes up. Nobody clicks anything.

Discrepancies are itemized, not summarized.

Each line carries its billed rate, its contracted rate, and the exact dollar impact of the difference.

The dispute notice writes itself.

A formal vendor notice in Markdown, with the credit memo amount already calculated and the undisputed portion released.

Resolved, with a full audit trail.

Every agent step is logged to Firestore and exportable as ERP-ready CSV for SAP or QuickBooks.

antigravity fleet · execution log
10:04:11 Orchestrator · StartPipeline
10:04:11 MultimodalVisionAgent · StartDocumentExtraction
10:04:12 GeminiExtractionSuccess · 2 items
10:04:12 ContractAuditorAgent · StartContractAudit
10:04:12 Firestore · PO-9921 retrieved
10:04:12 OVERCHARGE Monitor +$600.00
10:04:12 OVERCHARGE Chair +$500.00
10:04:13 DiscrepancyDispatcherAgent · ReportDispatched
10:04:13 Orchestrator · PipelineCompleted

What flagged

what cleared

Document Vendor Billed Contracted Variance Disposition
DOC-COMPLIANT-101 Acme Industrial Tech Inc. $3,250.00 $3,250.00 $0.00 AUTO_APPROVED_PAYOUT
DOC-MINOR-404 Acme Industrial Tech Inc. $3,550.00 $3,250.00 +$300.00 GENERATED_DISCREPANCY_REPORT
DOC-UNAUTHORIZED-303 Acme Industrial Tech Inc. $3,700.00 $3,250.00 +$450.00 ESCALATED_TO_HUMAN_FINANCE
DOC-OVERCHARGE-202 Acme Industrial Tech Inc. $4,400.00 $3,250.00 +$1,150.00 ESCALATED_TO_HUMAN_FINANCE

Four dispositions. Two of them never involve a person.

Three agents, one decision.

The fleet runs as a sequential pipeline on the Antigravity SDK harness. Each agent hands typed state to the next; the orchestrator logs every step.

1

Multimodal Vision Agent

Gemini 3.5 Flash parses scanned receipts, invoice PDFs, unit prices, line items and handwritten vendor signatures into a schema-enforced extraction. Filesystem and shell tools are disabled - an invoice is untrusted input, never an instruction.

2

Contract Auditor Agent

Queries Firestore for the matching purchase order and reconciles every billed line against its contracted rate, flagging price inflation, quantity mismatches, and line items no PO ever authorized.

3

Discrepancy Dispatcher Agent

Authorizes compliant payouts, drafts formal Markdown vendor dispute notices, or escalates to a finance manager with one-click sign-off - depending on what the audit actually found.

Documa.

Manual AP review.

Throughput Under 1.5 seconds per document. 15+ hours of reconciliation every week.
Coverage Every line item on every invoice. Spot checks on whatever looks unusual.
Intake Scans, photos, and multi-page PDFs. Re-keyed by hand into a spreadsheet.
Overcharges Caught before the payout is released. Found in next quarter's reconciliation.
Escalation Only genuine exceptions reach a person. Every invoice reaches a person.
Audit trail Every agent step logged, CSV exportable. Email threads and memory.

The bucket knows what to do.

Drop a file in Cloud Storage and walk away. Eventarc triggers the Cloud Run worker, the fleet audits it, and the disposition is written to Firestore before you switch tabs.

eventarc · object.finalized
bucketdocuma-receipts-bucket
objectovercharged_invoice.png
triggerdocuma-fleet (Cloud Run)
human involvementnone

Built entirely on Google Cloud.

Gemini 3.5 Flash
MULTIMODAL VISION
Antigravity SDK
AGENT HARNESS
Cloud Run
SERVERLESS WORKER
Firestore
PO & AUDIT STATE
Cloud Storage
DOCUMENT INTAKE
Eventarc
ASYNC TRIGGERS
FastAPI
SERVICE LAYER
Apache 2.0
OPEN SOURCE

Four outcomes. No per-invoice babysitting.

Every document Documa reads ends in exactly one of these. Two of them close by themselves.

Payout Authorization
DOC-COMPLIANT-101 · PO-9921
Dell UltraSharp Monitor ×101,800.00
Executive Office Chair ×51,250.00
Tax200.00
Cleared$3,250.00

Billed totals strictly comply with contracted rates. Released for immediate payout. No human involved.

Vendor Dispute Notice
DOC-MINOR-404 · PO-9921
Monitor billed @ 210.002,100.00
Contracted @ 180.001,800.00
Chair ×51,250.00
Disputed$300.00

Under the $500 threshold. The fleet drafted and dispatched the credit memo request itself - no signature required.

Human Escalation
DOC-OVERCHARGE-202 · PO-9921
Monitor overcharge600.00
Chair overcharge500.00
Tax variance50.00
Held$1,150.00

Exceeds the autonomy threshold. Routed to finance with reject-or-approve controls. Documa knows the limit of its own authority.