Thompson Logistics Solutions
§ 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"
  }
]
Full Bundle TLS LEDGER SUITE

Complete Platform Access

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

  • 3WM Engine
  • CSV Audit Export
  • Ghost Hunter Fraud Filter
$177 / mo $149 / mo
Get Full Bundle

Annual billing available at checkout

§ 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%