1
Read the month's number
Get monthly usage answers with the count, the
price, and the total.Money is in cents and integral. A null price or amount means unpriced — never a zero bill.
2
Pull the accounts behind it
List billed accounts expands the same query into
one row per account that counted, ordered by account number.Each row carries the
accountNumber, the count of real fills inside the month, and
firstFillAt / lastFillAt in UTC. Accounts are named by their venue account number — the
identifier your firm issued. No trader identity fields appear on this surface.3
Watch the month as it runs
Both routes default to the previous complete month — the one being invoiced. Naming the current
month is allowed and answers month-to-date, which keeps moving until the month closes.
month is YYYY-MM and months are UTC. A malformed month is a 400, rejected rather than
silently reset to a default — a typo in a reporting job should fail loudly, not quietly bill you
for a different month.What the meter counts
In the contract’s own words:activeAccounts is the number of distinct accounts that took at
least one real fill inside the month. Three consequences follow directly from that sentence.
There is no proration and no partial account: an account either printed a real fill inside the UTC
month or it did not.
Reading basis before you read the number
basis says how the accounts were attributed to your firm, and it changes what the number means.
The same care shows up in the refusals: a deployment without metering answers
404 rather than a
zero, and the accounts route answers 404 rather than an empty list that would read as “no
accounts billed”.
Reconciling an invoice
- Read the month’s number with
basisandactiveAccounts. Ifbasisisunattributable, stop — the count is structural, not a measurement, and the invoice question is a commercial one. - Pull the account list for the same month. It always sums to
activeAccounts, because it is the same query expanded. If it does not match your expectation, the difference is now account-by-account rather than a single disputed total. - Diff it against your own records. An account on our list and not on yours traded when you thought it was dormant. An account on yours and not ours took no real fill that month — connected-but-idle, or simulated only.
- Check the arithmetic.
amountCentsisactiveAccounts×priceCentsPerActiveAccount, in cents. A null price means no price is set on your firm, which is a contract question, not a data one.
The refusals
Where to go deeper
- Issue evaluation accounts — the accounts that can become billable.
- Register an account — the other way an account arrives.
- Record balance operations — the other ledger your finance team reads.
- Connect — the reporting views in context.