Dev Update #6

We stopped tracking things.
We started understanding money.

Finance wired into operations. Documents that generate themselves from real data. And the architecture for everything that comes next.

April 15, 2026 · Phase 4: Trading OS Launch

EDMA Finance Overview
Finance Overview — revenue, AR, AP, margin, and cash position computed from double-entry journal lines
What Changed

We stopped asking "what happened?" and started asking "what is this doing to the money?"

Last update, we had Products, Manufacturers, Clients, Production, Shipments, and Orders running — the operational core. Everything looked clean. Made sense. But it wasn't complete yet. It was a system that could show you where things are, but not what they're doing to your business.

We could see delays. We could see production issues. We could see shipments moving or getting stuck.

But we still couldn't answer, in a clean and immediate way:

"What is this doing to the money on this order?"

And that's not a small detail. That's the entire game.

Because in real trade, nobody loses money because they didn't have enough dashboards. They lose money because something shifts, someone reacts too late, and by the time finance gets involved, the outcome is already decided. So this week we didn't "add finance." We went much deeper than that. We wired financial logic directly into the way the system reacts to reality.

When Something Goes Wrong

A production delay is not an operational issue. It's a financial problem.

You have an order in production. Everything is on track. Then the factory sends an update: they're going to be late by 48 hours.

In a normal setup, this triggers chaos. Someone forwards an email. Someone opens a spreadsheet. Someone tries to understand if this affects the shipment, if the shipment affects delivery, if delivery affects penalties or client expectations. And all of this happens in parallel, with partial information.

Inside EDMA now, the moment that delay is registered, it becomes a structured event. The system already knows what that order is, what it contains, what it costs, what the margins are, and where it is in the flow. So when the delay hits, it doesn't just update a status. It recalculates the entire situation.

Expected Delay
48h
Delivery Window
At Risk
Margin Exposure
$12,400
From Problem to Decision

Every action is evaluated financially. Not just operationally.

The system doesn't stop at showing you the problem. It immediately moves into the decision layer. Reroute production. Adjust the shipment path. Compress buffer times. But every one of these actions is evaluated financially — you see the expected impact of each option, not just the operational change.

So instead of guessing: initial exposure $12,400 — action taken — expected outcome $8,200 preserved. That number is not decorative. It is computed based on the full context of the order.

This is the moment where the system changes character. You're not navigating anymore. You're making decisions with full visibility.

EDMA Cash Flow
Cash Flow — inflows vs outflows, net position, and projections computed from real invoice and payment data
Accounting

The most interesting thing we built this week.

Most systems treat accounting as something that happens after everything else. You create invoices, you register payments, maybe you reconcile things later. It's a record of what already happened.

That's not how we approached it. We made accounting follow the same logic as the rest of the system: event-driven, structured, and tied to reality. Every time something happens in EDMA — an invoice is posted, a payment lands, a bill is approved, a shipment cost is recorded — it doesn't just show up in a list. It is captured as a proper double-entry journal.

Then, when you take an action — accept a reroute, approve rework — the system updates the cost structure, recalculates the margin, and captures the delta. Accounting becomes a live reflection of decisions, not a static record.

EDMA Accounting Ledger
Accounting Ledger — journal entries generated from operational events, 105 accounts covering the full commodity trading spectrum
Event-Driven Entries
Invoice posted → AR created. Payment received → AR cleared. Bill approved → AP recorded. Shipment cost logged → COGS updated. Every financial entry traces back to the operational event that caused it. No manual data entry.
Tax-Ready by Design
Because every event is structured and every financial impact is traced, tax filing becomes less about preparing data and more about extracting what is already correct. Revenue, costs, adjustments, margins — all traceable back to real events.

How the data actually flows: Event → Order → Financial Engine → Accounting → Tax Layer. An event happens. The order updates. The financial engine recalculates. Accounting records the change. Tax aggregates it. No duplication. No re-entry. No parallel systems.

Documents

Every document a transaction needs. Generated, edited, and tracked — inside the system.

In international trade, documents are not paperwork. They are the product. A container sitting at port without the right certificate doesn't move. An LC presentation missing one page gets rejected by the bank. A customs declaration with the wrong HS code triggers an inspection that delays delivery by two weeks.

All the documents required by a transaction — commercial invoices, packing lists, certificates of origin, customs declarations, shipping instructions, bills of lading — are now managed inside EDMA Documents. Not stored in folders. Managed. The system knows which documents each transaction requires, which ones exist, which ones are missing, and which ones are about to expire.

EDMA Document Coverage
Document Coverage — every order, shipment, and manufacturer shows documentation completeness. Gaps visible in 2 seconds.

Open Coverage and you see: SHP-2026-034 is at 50%. Four of eight documents are complete. Missing: Certificate of Origin, Insurance Certificate. ETD in 3 days. That's not a report you pull. That's a real-time status that turns "I think we're ready" into "we are missing exactly these two documents, and we need them by Thursday."

The requirements engine knows what each transaction needs based on the Incoterm, destination country, product type, and whether there's a letter of credit involved. Five layers of rules, stacking on top of each other, auto-generating the full document checklist for every deal.

EDMA Document Requirements
Document Requirements — five layers of rules determine exactly which documents each transaction needs
The Document Editor

Edit the style. The data stays connected.

This is where it gets interesting. Every document in EDMA can be edited using our editor engine — a real document editor that lets you customize the layout, adjust the content, and refine the formatting, while staying connected to live data from orders, production, and shipments.

You're not editing a static file. You're editing a document that knows which order it belongs to, which line items are in it, which client it's addressed to, and what the current totals are. Change a quantity — the line total updates. Change the Incoterm — freight and insurance fields adjust. The document is alive.

Six document types, one consistent visual identity. Commercial Invoice, Packing List, Proforma Invoice, Certificate of Origin, Customs Declaration, and Shipping Instructions. Each one generates from real transaction data with one click, opens in the editor for review and customization, and finalizes into a locked, versioned record.

EDMA Invoice Engine
Invoice Engine — every field editable, totals recalculate live, connected to real order and shipment data
EDMA Document Templates
Templates — six document types with merge fields that resolve from live system data
EDMA Document Generator
Document Generator — select an order, the system fills every field, ready for review
Generate from Any Order
Select an order. The system pulls client details, line items, pricing, HS codes, manufacturer, shipment, Incoterm. Fills every merge field. Opens in the editor. Review, adjust, finalize. One flow, no re-typing.
Version Control Built In
Finalized documents are locked. Bank rejects the COO? Create v2, fix the issue, finalize again. v1 stays in the audit trail. The full version chain is preserved — who finalized what, when, and why it changed.
Upload and Classify
Not every document is generated. Certificates come from manufacturers. BOLs come from carriers. Drop files in manual mode and assign them yourself, or switch to AI mode — the system reads the document and suggests type and entity with confidence scores.
Connected to Everything
Every document links to its order, shipment, or entity. When you open an order, you see which documents are ready and which are missing. When you open a document, you see the full transaction context. No searching. No guessing.
Why This Week Matters

The system now understands consequences.

Up until now, EDMA was very good at showing reality. Now it understands consequences. And in trade, consequences are always financial.

This is the first time where, when you look at an order, you don't just see where it is or what is happening. You see what it is doing to your business, right now, and what will happen if you act or don't act. And you see whether the documents are ready for it to actually move.

We connected operations to money in a way that actually reflects how businesses work. And we gave documents the intelligence to know whether a trade is ready to move or stuck waiting for paper.

By the Numbers

What's running right now.

8
Sections Live
2,175
Total Commits
644
Automated Tests
89
DB Migrations
465
Source Files
78,897
Lines of Code
6
Document Templates
105
Chart of Accounts
What's Next

The multi-party layer. Then everything connects.

The portal system is next. Clients, suppliers, and logistics partners each get their own view into the data. The client sees their order status and invoices. The supplier sees production assignments. The logistics partner sees shipment milestones. Every action they take creates a task. Every task completion triggers updates across portals.

Then the task orchestration engine — not a to-do list, but a nervous system that connects all parties in a transaction. And then AI automation, once real workflows flow across portals and give the AI layer something meaningful to work with.

This was not a small update.

This is the point where EDMA stops being a tracker and starts being a system that actually understands the business running on top of it. It thinks in operations, speaks in documents, and reasons in money.

8 of 11 sections fully built3 sections remaining

Community Chat