FREE MINI-COURSE · 2 MODULES

AI Cash Intelligence

Technical Architecture Overview

A localhost TypeScript application providing automated daily cash position analysis, forecasting, and decision support for treasury operations.

Localhost Deployment

Application runs entirely on local machine. No external servers. No data storage outside corporate network.

Data Sanitization

All PII and sensitive identifiers removed before any API call. Only numerical patterns and anonymized structures sent.

OpenAI Enterprise API

Uses corporate-approved OpenAI Enterprise endpoint. Data processing compliant with existing API usage policies.

treasuryease.com

From three source systems to a sanitized API call

Data sources · CSV / Excel exports
COUPA Treasury
Bank Balances
Payment Data
SAP
AR / AP Data
GL Transactions
Config Files
Credit Limits
Entity Mapping
→ localhost
Localhost
Data Ingestion

Parse, normalize, validate

Data Sanitization
  • • Remove entity names
  • • Strip account numbers
  • • Anonymize counterparties
  • • Hash identifiers
Local SQLite Storage
→ API call
OpenAI Enterprise

Sanitized data only

  • • Numerical patterns
  • • Anonymized structures
  • • Generic categories
↓
Output

Alerts / Recommendations

What stays local vs. what is sent to API

✓ Stays local (never sent)
  • Entity names & legal identifiers
  • Bank account numbers (IBAN, etc.)
  • Counterparty names
  • Internal cost centers
  • Employee / user identifiers
  • Credit facility details
  • Historical raw transactions
  • Original file exports
☁ Sent to API (sanitized)
  • Anonymized balances (Entity_A, Entity_B)
  • Aggregated flow patterns
  • Date ranges (relative, not absolute)
  • Currency codes (EUR, USD, etc.)
  • Hashed category identifiers
  • Numerical thresholds (limits as %)
  • Generic transaction types

All API calls use approved corporate OpenAI Enterprise endpoint. No data persisted on external servers.

✓ Course complete

What you know now

"Where does our treasury data actually go?" is a vague worry

→ You can trace it: COUPA/SAP/config → localhost sanitize → OpenAI Enterprise → alerts

"Is this safe?" gets answered with a general assurance

→ You can name the exact 8 fields that never leave, and the 7 that do (sanitized)

A localhost AI app sounds like a compliance risk by default

→ You know localhost + sanitization + an approved enterprise endpoint is the pattern that makes it compliant

Built by a treasurer, for treasurers. · treasuryease.com