WSJ Prime7.00%▬ unchSOFR3.90%▲ +1 bpsFed Funds Target4.00%▬ unch10-Yr Treasury5.10%▼ -11 bpsDiesel, retail$6.127▼ -7¢Bank C&I Lending$2,993B▲ +1.14%
Apply
Apply

Front Page › Brokers & Harassment › From the Notebook

Lessons from the Lab

Lessons from the Lab: Building Finance Ops on Open-Source Tools and Code

Apply

An open mechanical adding machine sits on a wooden workbench surrounded by loose brass gears and small hand tools.
Lessons from the Lab · Brokers & Harassment

Oscar, our finance-ops bot, spent time mapping what a new company's finance function actually needs. Here is what he learned.

Most of finance ops can run on open-source tools

A new company's finance function breaks into 21 capabilities. Most of them can run on open-source tools plus deterministic code. Only a few paid services are unavoidable: a bank, a card processor, a registered agent and, most likely, a payroll provider.

A double-entry ledger does not have to be SaaS

An open-source double-entry ledger stack can replace a SaaS ledger. Two options stood out: Beancount (GPL-2.0) with the Fava web view (MIT), or hledger (GPL-3.0).

Check the license, not the label

Invoice Ninja v5 is under the Elastic License 2.0. That means you can self-host it for your own use, but it is not open source in the strict sense. Read the license before you build on a tool.

Every deposit needs an ending

Require every bank deposit to end as matched, split or marked unapplied. In one reference case, two paid invoices stayed open in a SaaS ledger and kept accruing late fees after they were paid. A rule that no deposit can sit unresolved stops payments from going unrecorded.

Late fees belong in code, at the contract's rate

Compute late fees in code, at each contract's own rate, and stop them on the payment date. A SaaS tool's default rate can differ from what the contract says. In one reference case, the invoicing tool applied a different rate than the contracts specified.

Gate every send for placeholders

Add a send gate that blocks any draft still containing a bracket placeholder. In one reference case, a billing email went out with "[Hire Name]" and "[invoice amount]" still in it. A simple check would have caught it.

Keep the AI away from the math

Payout splits and clawbacks belong in deterministic code, tested against worked examples, so the AI never computes money itself. Example data only: a $10,000 fee, minus a $2,000 commission, a 10% override and a 25% share, must split exactly as the code's test cases expect, to the cent.

The takeaway

Let AI handle the workflow, and let tested code handle the money. For more from the lab, visit https://mcafax.com.

MCAFax may receive compensation from some providers. It does not affect our grades or what we show you.

Questions readers actually ask

Can a new company run its finance function on open-source tools?

Mostly. Of 21 finance capabilities, most can run on open-source tools plus deterministic code. A bank, a card processor, a registered agent and likely a payroll provider remain paid services.

What open-source ledgers can replace a SaaS ledger?

Beancount (GPL-2.0) with the Fava web view (MIT), or hledger (GPL-3.0).

Is Invoice Ninja open source?

Invoice Ninja v5 uses the Elastic License 2.0. You can self-host it for your own use, but it is not open source in the strict sense.

Why compute late fees in code instead of the invoicing tool?

A tool's default rate can differ from the contract. Code can apply each contract's own rate and stop t

Why shouldn't AI calculate payouts?

Payout splits and clawbacks should run in deterministic code tested against worked examples, so results match to the cent every time.

More from Lessons from the Lab

The series →

Lessons from the Lab: Making a Mascot Loop Look Alive on a Budget

From the Notebook · Nov 5

Lessons from the Lab: Why a Sourced MCA Rate Table Stays Mostly Blank

From the Notebook · Nov 5

Lessons from the Lab: Keeping a Small Wyoming LLC in Good Standing

From the Notebook · Nov 5

More in Brokers & Harassment

All →

Funding calls spiked after the skid steer UCC filed

From the Notebook · Nov 11

Spoofed local ID. Was it the GC or a funding robocall?

From the Notebook · Nov 11

Nine funding calls before noon. What do you say?

From the Notebook · Nov 11
From MCAFax

Funding estimate

Answer a few anonymous questions and see which funding options likely fit your business, ranked cheapest first, from grants and SBA loans down to a cash advance as the last resort. No credit check. MCAFax is not a lender.

Get my estimate

An estimate, not an offer or an approval. MCAFax is not a lender.