MiniCTRMSearch

MiniCTRM - Build Tutorial 612: Operations: confirms, invoices and operational events

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

A confirm per deal with a lifecycle and a PDF from a template the firm edits, a status change with a reason in an append-only activity table, an invoice per counterparty per month whose issued lines lock the payments they printed, fees in rows of their own rounded to their currency, and a manual fixing as the first operational event in a table of its own.

  • Terms, paper, cash and facts – Everything that happens to a deal after it is booked, sorted into four kinds with a rule each.
  • Confirms, and a status with a reason – A confirm per deal with a lifecycle in its own table, and a status change that records who, when and why.
  • Invoices that lock – An invoice per counterparty per month, its lines copied, and a lock on everything it bills.
  • Fees ride along – A premium, a commission or a charge is a fee in rows of its own, rounded to its currency, never a profile row.
  • Something happens to a deal – An operational event in a small table of its own, through its own service and screen, never an amend.
  • Ship it – /ship, with the lock tests and the event tests among the rest.
  • How MiniCTRM did it – Invoicing and Trade Confirms under Operations, and the operational events behind NatGas Allocation.

Before you start

The lessons this one builds on: 533 Front end: the Deal Input Screens, 601 Valuation and reports: mark-to-market, valuation runs, position, day-over-day change.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

After the trade is done

1 / 13
After the trade is done
Terms, paper, cash and facts

Four kinds of thing, four rules

2 / 13
Four kinds of thing, four rules
Confirms, and a status with a reason

A confirm per deal

3 / 13
A confirm per deal
Confirms, and a status with a reason

A status change with a reason

4 / 13
A status change with a reason
Invoices that lock

An invoice locks what it bills

5 / 13
An invoice locks what it bills
Invoices that lock

Invoices

6 / 13
Invoices
Fees ride along

A fee is never a profile row

7 / 13
A fee is never a profile row
Something happens to a deal

An event is not an amend

8 / 13
An event is not an amend
Something happens to a deal

The first operational event

9 / 13
The first operational event
Ship it

Ship it

10 / 13
Ship it
How MiniCTRM did it

Invoicing and Trade Confirms

11 / 13
Invoicing and Trade Confirms
How MiniCTRM did it

NatGas Allocation, and the events behind the tickets

12 / 13
NatGas Allocation, and the events behind the tickets
What you have now

What you have now

13 / 13
What you have now

You have finished lesson 612, Operations: confirms, invoices and operational events.

Where next?

← → move · N notes · Home / End