app_account row is a label bolted on afterwards.
Leave accountId blank and something else becomes the account
accountId is optional on a credential, and what fills the gap differs by protocol.
Why the account and not the login
One account may hold several logins, and everything that carries money or a ceiling is keyed on the account:A per-login limit would let a customer raise their own ceiling by creating another login. Keying on
the account is what makes any of these mean something.
system_id to bind it to one login, or leave it null for every login on the account. See
Sender IDs.
What the catalogue row actually holds
app_account is name, contact and hierarchy — nothing the message path reads.
The tree is exactly two levels deep, and the database enforces it:
app_account_two_levels refuses a
row that both names a parent and resells, so an account either holds others or belongs to one.
Creating a login does not create a balance
An account with noaccount_balance row is not at zero — it has no balance, which is a different
state and the one that quietly swallows a top-up.
The panel tells the two apart deliberately: “no balance row” and “credit switched off” are shown as
different answers rather than collapsed into one empty figure. See
Prepaid credit.
An account id that is also a vendor name
Rating matches a rate scope by name alone, and the same table holds both sides of the trade. An id that is also a vendor instance name has its rules read as our cost for that vendor as well as what this customer pays. The account page paints that red rather than letting it be discovered in a margin report. Rename one before pricing either.* is reserved outright and cannot be used as an account or a vendor name.
What is on the account page
Logins
Who may connect as this account, what product each carries, and rotating a secret.
Custom tariff
What this account pays. No rules of its own means it is priced by whatever catch-all covers it.
Statement
What is owed for a period, billed on submitted — so the amount stops moving when the period does.
Sender IDs and content
The two approval lists and the enforcement switch beside them.