Thompson Logistics Solutions
Sign In
§ 02 · Application Layer

Proprietary Ledger Guard Modules

Module 01 3WM ENGINE

Three-Way Ledger Validation

Cryptographic matching across purchase orders, goods receipts, and supplier invoices. Discrepancies are quarantined in real-time before payment authorization.

  • Deterministic PO ⇄ GR ⇄ INV loop
  • Custom tolerance mapping per SKU class
  • SHA-256 anchored audit trail
/api/v1/reconcile $49 / mo
Subscribe via Gumroad
3WM · Quickstart
1
Format your invoice payload

Build a JSON object with PO, goods-receipt, and invoice triplets. SKU IDs must match across all three.

// payload.json
{
  "po_id":    "PO-44219",
  "gr_id":    "GR-44219-A",
  "invoice": {
    "vendor": "ACME-LOG",
    "sku":    "SKU-7781",
    "qty":    120,
    "total":  8499.00
  }
}
2
Execute the validation sweep

POST the payload to the reconcile endpoint with your API bearer token.

curl -X POST https://tls.api/v1/reconcile \
  -H "Authorization: Bearer $TLS_KEY" \
  -H "Content-Type: application/json" \
  -d @payload.json
3
Read the verdict

A match: true response means the invoice is cleared to pay. Anything else is auto-quarantined.

// response · 218ms
{
  "match":        true,
  "variance":     0.00,
  "audit_hash":   "sha256:a31f…",
  "status":       "APPROVED"
}
Module 02 AUDIT TOOL

Automated CSV Audit Export

Schedule deterministic, regulator-ready exports of every reconciliation event. Cryptographically signed, timestamped, shipped to your auditor's vault on cadence.

  • Immutable timestamped exports
  • Cron-driven or event-triggered
  • S3 / Azure Blob / SFTP delivery
/api/v1/export $29 / mo
Subscribe via Gumroad
Audit · Quickstart
1
Define your export window

Choose the date range and which ledgers to include. Leave ledger blank to export every active ledger.

// export_config.json
{
  "from":   "2026-05-01",
  "to":     "2026-05-31",
  "ledger": "all",
  "sign":   true
}
2
Trigger the secure CSV generation

POST to the export endpoint. The engine compiles a cryptographically signed CSV in seconds.

curl -X POST https://tls.api/v1/export \
  -H "Authorization: Bearer $TLS_KEY" \
  -H "Content-Type: application/json" \
  -d @export_config.json
3
Download the signed file

Use the returned download_url (valid 24h) or pull directly via the audit endpoint.

// response
{
  "file":         "audit_2026-05.csv",
  "download_url": "https://tls.api/…",
  "sha256":       "b8f1…",
  "rows":         12847
}
Module 03 PROPRIETARY

'Ghost Hunter' Fraud Filter

Our proprietary behavioral filter. Surfaces phantom vendors, duplicate-invoice loops, and tail-end siphoning patterns before they hit your AP queue.

  • Phantom vendor detection
  • Duplicate invoice fingerprinting
  • Explainable anomaly scoring
/api/v1/ghost-hunter $99 / mo
Purchase Asset Access
Ghost Hunter · Quickstart
1
Engage the filter

Activate the scanner. Once running, every inbound invoice is silently scored against the fraud model.

curl -X POST https://tls.api/v1/ghost-hunter/scan \
  -H "Authorization: Bearer $TLS_KEY" \
  -d '{"mode":"continuous"}'
2
Pull the quarantine log

Query the quarantine endpoint to see every flagged line, with risk score and the signals that triggered it.

curl https://tls.api/v1/ghost-hunter/quarantine \
  -H "Authorization: Bearer $TLS_KEY"
3
Review flagged fraud lines

Each entry includes a human-readable reason. Approve or reject from your dashboard — decisions are written to the audit trail.

// quarantine response
[
  {
    "invoice": "INV-9921",
    "vendor":  "GH0ST-LOG",
    "risk":    0.94,
    "reason":  "phantom_vendor",
    "action":  "HELD"
  }
]
Module 04 AI BOOKKEEPER

Bookkeeping AI Agent

Automated double-entry journal posting with AI-driven GL categorisation. Every validated invoice auto-posts to the ledger — CSV, PDF, and OFX export ready.

  • 9-rule GL auto-categorisation engine
  • White-label PDF · OFX · CSV export
  • Natural-language query via Ask AI
/api/v1/export/ledger $129 / mo
Subscribe via Gumroad
Bookkeeping AI · Quickstart
1
Validate an invoice — it auto-posts

Every matched validation result automatically triggers a double-entry journal entry. No extra call needed.

// POST /api/v1/ledger/validate
{
  "tenant_id": "acme-corp",
  "purchase_order": { ... },
  "goods_receipt":  { ... },
  "invoice":        { ... }
}
// → JournalEntry auto-posted to SQLite
2
Export in your preferred format

Pull a white-label PDF, QuickBooks OFX, or raw CSV — all tenant-scoped and audit-ready.

curl https://tls.api/v1/export/ledger/pdf \
  -H "Authorization: Bearer $JWT" \
  ?tenant_id=acme-corp \
  --output ledger_report.pdf
3
Query it in plain English

Use the Ask AI button (bottom-right) or call the agent endpoint directly to query journal entries, GL breakdowns, or trigger a manual post.

// POST /api/v1/agent/query
{
  "query": "Show GL breakdown for acme-corp"
}
// → intent: bookkeeping_query
Full Bundle TLS LEDGER SUITE

Complete Platform Access

Every module — Three-Way Ledger Validation, Automated CSV Audit, Ghost Hunter Fraud Filter, and AI Bookkeeping Agent — in a single discounted bundle. One key, one contract, full capital defense coverage.

  • 3WM Engine
  • CSV Audit Export
  • Ghost Hunter Fraud Filter
  • AI Bookkeeping Agent
$306 / mo $249 / mo
Get Full Bundle

Annual billing available at checkout

§ 02.5 · Interactive Demo

Watch the AI Solve a Real Problem.

The Live Demo console lets you trigger a real transaction and watch the engine process it step by step — scanning the Purchase Order, cross-referencing the Goods Receipt, and inspecting the Invoice line by line.

Select Simulated Issue to see the agent detect an overbilling discrepancy of $2,294 in real time. It explains why the invoice is wrong, states the exact variance, and applies a payment hold — all before a dollar leaves the ledger.

  • Step-by-step animated reasoning — no black box
  • Plain-English rationale for every engine decision
  • Real discrepancy detection with exact variance calculation
  • Corrective action applied and audit trail updated live
agent_console · TXN-2024-7742 · Simulated Issue ● MISMATCH DETECTED
Scanning Purchase Order PO-2024-7742
100 units × $84.99 — authorised baseline established.
Purpose: Reading PO line items to set the contractual baseline for cross-validation.
Verifying Goods Receipt GRN-7742-A
100 units received at Warehouse Node 1 — matches PO exactly.
Purpose: Physical delivery confirmed. The discrepancy is in the invoice, not the goods.
⚠ Cross-referencing Invoice INV-CFR-7742
MISMATCH: Invoice claims 127 units ($10,793.73) — PO authorises 100 ($8,499.00).
Purpose: The invoice overbills by +27 units / +$2,294.73 (+27.0%). Payment would constitute unauthorised capital release above the 2% tolerance threshold.
Applying Corrective Action
Payment hold applied · Invoice flagged · Vendor notification queued.
BLOCKED — Payment Hold Applied
Overbilling: +$2,294.73 · Manual review required
Run Live →
§ 03 · Engine Architecture

A unified pipeline. Three lines of defense.

Every transaction enters the engine through a typed FastAPI ingress, fans out to parallel validators, and exits with either a signed approval or a quarantine flag. The architecture is deterministic, observable, and built to survive audit.

FastAPI PostgreSQL Pydantic v2 OAuth 2.1 SOC 2 Ready
engine_topology.tls
// Transaction lifecycle
[ingress]     → POST /api/v1/transactions
    │
    ├─→ [3WM]           validate(po, gr, inv)
    │       └─ variance ≤ tolerance  
    │
    ├─→ [GhostHunter]   score(vendor, pattern)
    │       └─ risk_score < threshold 
    │
    └─→ [Audit]         emit(event, sha256)
            └─ ledger.append + s3.put 

→ result: APPROVED · 218ms · signed
§ 04
Live System Status

Dashboard connected to
FastAPI backend.

This visual control plane is wired directly into the production engine. All metrics, ledger events, and risk signals stream from /api/v1.

Connection: Healthy
GET /api/v1/health
200 OK 42ms
POST /api/v1/reconcile
200 OK 218ms
POST /api/v1/ghost-hunter/scan
200 OK 187ms
GET /api/v1/export/audit.csv
200 OK 96ms
Uptime · 30d 99.998%