C

Cardex

AP Document Intelligence
Workspace · Loading Connecting
AI for accounts payable

Every invoice, checked against the paper trail.

Cardex reads invoices, POs, receipts, contracts and policy, answers questions with a source for every claim, and runs a three-way match audit that catches overbilling, duplicates and payment fraud before money leaves the building.

How it works
Cited answers Locked server-side prompts Retrieval across every document
Documents
–
in this workspace
Passages
–
indexed for search
Vendors
–
with open activity
Dollars at risk
Not scanned
run the audit

Three-way match audit

One click reviews every open invoice against its PO, receiving record, vendor contract, vendor master, payment history and AP policy.

Price vs contractQty vs receiptDuplicatesMissing POBank changesTerms & discounts

Reviewing documents

5 open invoicesWaiting for review against 9 supporting documents.
Paper trail linkedEach invoice is tied to its PO, receipt and contract.
Policy enforcedTolerances, approvals and bank-change rules come from the AP policy.
01 Retrieve
Searching passages
02 Link
Pulling paper trail
03 Reason
Checking the math
04 Cite
Attaching sources
Under the hood

How Cardex works

A retrieval-augmented pipeline where every answer traces back to a specific line in a specific document.

BM25ClaudeVercel FunctionsNode.js
01Ingest & chunkDocuments become labeled passages with vendor, type and reference metadata.
02BM25 retrievalQuestions are ranked against the index, boosted for exact document IDs and vendors.
03Linked expansionWhen an invoice ranks, its PO, receipt and contract come with it for a true three-way match.
04Grounded reasoningClaude answers only from retrieved passages, under a locked server-side prompt.
05Passage citationsEvery claim links to the exact source section, highlighted in the viewer.