All-in-One Financial ERP, Automated Bookkeeping & FinTech OS by Eric JoeAll-in-One Financial ERP, Automated Bookkeeping & FinTech OS by Eric Joe

All-in-One Financial ERP, Automated Bookkeeping & FinTech OS

Portfolio project
Eric Joe

๐Ÿ“Œ Project Overview

TradeOS is an enterprise-grade, all-in-one financial operating system and automated bookkeeping platform designed for cross-border commodity trading and back-to-back intermediary businesses. Built as a self-hosted alternative to expensive SaaS platforms like QuickBooks Enterprise and Xero, TradeOS bridges international trade operations, multi-currency treasury management, US FinTech/crypto off-ramping, and automated CPA-grade double-entry accounting into one intuitive, real-time platform.

๐ŸŽฏ The Challenge

Cross-border physical commodity trading firms face unique accounting and operational complexities that standard off-the-shelf software cannot handle:
Back-to-Back Deal Mechanics: Every transaction links a buyer contract (Sales Order) directly to an origin producer contract (Purchase Order), requiring deal-level P&L tracking (estimated vs. actual margin, freight, demurrage, and inspection).
Modern Treasury & Crypto Settlement: International buyers frequently settle in stablecoins (USDT / USDC) via platforms like Slash, while origin suppliers require fiat wires (Wise Business USD / International SWIFT). Standard accounting software fails to log off-ramp gas fees and real-time conversions automatically.
CPA Independence: Small-to-medium trade operators need financial statements (Balance Sheet, P&L, Statement of Cash Flows, Trial Balance) generated live from daily operational inputs without manually preparing complex debits and credits.

๐Ÿ’ก The Solution

We engineered a full-stack Next.js 16 and Supabase (PostgreSQL 15) system featuring:
Silent Double-Entry Bookkeeping Engine: Users create invoices, log payments, and record expenses through simple, human-friendly forms. In the background, the system automatically posts balanced debits and credits to standard Chart of Accounts (Assets 1000โ€“1300, Liabilities 2000โ€“2200, Equity 3000โ€“3100, Revenue 4000, COGS 5000, and Expenses 6000โ€“6800).
Automated Financial Statements: Live Balance Sheet (with continuous Assets=Liabilities+Equity\text{Assets} = \text{Liabilities} + \text{Equity}Assets=Liabilities+Equity validation), Profit & Loss, Trial Balance, and Cash Flow statements.
FinTech & Crypto Off-Ramp Integration: Native workflow for receiving USDT/USDC into a digital asset holding account, converting to USD, depositing into Wise Business, and auto-logging platform/gas fees as tax-deductible expenses (IRS/GAAP compliant).
Contract & Order Generation Engine: Bilateral export Sales Contracts and Purchase Orders complete with Incoterms 2020 clauses, commodity specifications, HS codes, and dual-signature blocks with print-to-PDF formatting.

๐Ÿ› ๏ธ Technology Stack

Frontend & Architecture: Next.js 16 (App Router, Server Components, Server Actions)
Design & UI: Tailwind CSS v4, shadcn/ui, Lucide Icons, Responsive Mobile-First Architecture
Database & Security: Supabase (PostgreSQL 15), Row Level Security (RLS), Automated PostgreSQL Audit Trigger
Data Visualization: Recharts (Dynamic Bar Trends, Donut Deal Distributions, Cash Flow Metrics)
Authentication: Supabase SSR Cookie Auth with Protected Route Middleware

๐Ÿ–ผ๏ธ Visual Tour & Features

1. Executive Financial Command Center

Real-time KPI telemetry monitoring total revenue, gross profit, consolidated cash position, and live accounts receivable vs. accounts payable.
Executive Dashboard
Executive Dashboard

Live CPA-Grade Balance Sheet

Comprehensive Statement of Financial Position classifying current assets, liabilities, and retained earnings with an instant balance proof check.
Balance Sheet
Balance Sheet

Profit & Loss (Income Statement)

Detailed breakdown of gross sales, sales tax adjustments, cost of goods sold (COGS), operating expenses by category, and net operating income (EBIT).
Profit and Loss
Profit and Loss

General Ledger Trial Balance

Real-time ledger audit tool confirming that total debits match total credits across all active accounts.
Trial Balance
Trial Balance

Statement of Cash Flows

Categorizes cash flows across operating, investing, and financing activities, matching closing bank balances to the cent.
Cash Flow Statement
Cash Flow Statement

Accounts Receivable (AR) & Accounts Payable (AP) Aging

Automatic bucket tracking for outstanding customer invoices and vendor payables (Current, 1โ€“30, 31โ€“60, 61โ€“90, 90+ days overdue).
Account Recievable Aging
Account Recievable Aging

FinTech & Crypto Off-Ramp Workflow

Supports stablecoin collections (USDT/USDC on Slash), automated off-ramping into Wise USD, and automatic expense posting for gas/platform fees.
Crypto to USD Off-Ramp
Crypto to USD Off-Ramp

Treasury & Multi-Currency Banking Registry

Multi-currency account registry tracking real-time balances across digital asset wallets, domestic checking accounts, and international bank accounts.
Bank Accounts
Bank Accounts

Sales Orders & Contract Generator

Commercial trade contract generator with Incoterms 2020 clauses, HS codes, commodity specifications, and print-to-PDF formatting.
Sales Order & Contracts
Sales Order & Contracts

Integrated AI Financial Copilot

Context-aware AI assistant powered by LLM integration to analyze ledger health, run financial queries, and audit transactions.
AI Financial Copilot
AI Financial Copilot

๐Ÿ† Key Results & Impact

100% CPA Independence: Automated General Ledger entries eliminate manual journal entry entry errors.
Streamlined FinTech Settlement: Built-in crypto off-ramping tracks exchange fees for tax deductions.
Enterprise-Grade Security: Database-level Row Level Security (RLS) and automated audit trails for full transaction transparency.

0 likes ยท 0 views ยท Nov 20, 2026

TradeOS is an enterprise-grade financial operating system and automated bookkeeping platform engineered for cross-border commodity trading

Tags