The platform's own double-entry ledger is the system of record for the money. There is no outside accounting package to keep in step: the accountant receives a CSV journal from it.
What the database enforces
The ledger's rules are enforced by the database itself, so they hold however a row was written.
| Rule | What it means |
|---|---|
| Every transaction balances | Debits equal credits, to the cent, checked when the transaction commits |
| Append-only | Lines and transactions cannot be changed or deleted. A correction is a reversal, and a transaction can be reversed once |
| Period locks | Nothing can be dated in a closed or locked month |
| Integer cents | Amounts are never negative; the direction is the side, debit or credit |
| Idempotency | Each posting carries a key, so an event heard twice is booked once |
Posting and revenue recognition
Every invoice, payment, fee, refund, credit note, dispute and payout posts to the ledger as it happens. Revenue is recognized as it is earned: a monthly invoice issued a week before its period is deferred revenue until the period starts; a yearly invoice is earned in twelve monthly slices; hardware and installation are earned when invoiced. Discounts are booked as contra-revenue.
Each collection also accrues what is owed to the vendor, so the month's accrual equals the statement's net due.
Closing a month
| Action | Who | What happens |
|---|---|---|
| Close | Staff or an admin | Brings recognition and the vendor's settlement up to date and runs the validator for the month. Late events land in the next open month |
| Close anyway | An admin, with a reason | Closes despite the validator; the reason is kept and audited |
| Lock | An admin | Final. The database refuses anything dated on or before it |
| Reopen | An admin, with a reason | Back to open, recorded |
Validation
A validator reads the billing tables again, by its own queries, and reports anywhere the books disagree with them: every invoice, payment, credit note and refund posted exactly once, each customer's receivable, deferred revenue, payments in transit, and the payable to the vendor. It runs every day and staff are emailed when it finds a problem. A month cannot be closed while it reports problems, unless an admin forces it with a reason.
Reports
Trial balance, profit and loss, balance sheet, accounts-receivable ageing, the deferred revenue rollforward, sales tax, cash and fees, and the payable to the vendor. Every figure is a sum of ledger lines read in one consistent snapshot, and each report downloads as CSV.
The accountant's journal
A daily journal in CSV: every line posted in the days asked for, nothing netted, oldest first, so the file balances as it stands. Each line has its date, account, description, debit, credit and a reference (an invoice number, a payout reference or a statement). Each download is audited.
The monthly statement
On the 1st, the platform builds last month's statement for the programme and checks it against the tables by different queries. If the check agrees it is ready; if not, it is blocked and staff are told which rows differ. On a set business day of the month (the third by default) it is rebuilt, checked again, and sent to the vendor as a PDF and a CSV with the same figures. Once sent it is frozen.
Which month a row belongs to. A statement groups bills by the month they cover, not the month they were issued. November's bill, issued in late October, is November's. Payments, credit notes, refunds and disputes count in their bill's month. Anything recorded after its month's statement went is carried to the next one, marked as prior period, so nothing is lost.
What it contains, per customer: invoices, payments with method and processing fee, credit notes and refunds, disputes and their outcome, what is outstanding at month end aged by days past due, and the account's standing.
The summary:
| Figure | Meaning |
|---|---|
| Gross billed | Every invoice in the month, tax included |
| Tax billed | Shown separately: it is the state's, never revenue |
| Collected | Every payment that succeeded |
| Credit notes and refunds | Credit notes reduce what was billed; refunds return money collected |
| Disputes | Opened, lost and won |
| Revenue | Collected, less tax, refunds and lost disputes |
| Processing fees | Shown, not deducted from what you are owed |
| Our fee | At each rate charged in the month, on the lines it applies to |
| Net due to the vendor | Revenue less our fee |
Tie-out and payment
The books accrue your share per collection; the statement adds it up per month. Once a month's statement exists, the rounding between the two (a cent or two) is posted, so the month's accrual equals the net due exactly and the statement ties out. Anything larger is never rounded away: the validator reports it as a payment, refund or dispute that is in one and not the other.
Paying the vendor moves money, so recording it is an admin's action. The admin records the amount, the day and the bank reference against the statement; the books post it, keyed so submitting twice books once; and the statement then shows what has been paid.
The vendor's finance people can read their statements, the tie-out and the payable at any time, read only.