Skip to content

tebib billing

Generated from the CLI's own command tree. Run tebib billing --help for the same text in your terminal.

Billing: balance, transactions, top-ups (M-Pesa, Chapa), contacts, statements, receipts.

Commands

tebib billing balance

Show the balance, the runway and the low-balance state.

tebib billing balance [OPTIONS]
OptionValueDescription
--orgstrOrganization ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib billing contacts

Show (or with --set, replace) who gets low-balance warnings and receipts. With none, the organization's owners do.

tebib billing contacts [OPTIONS]
OptionValueDescription
--setstr (repeatable)Replace the contacts with these emails (repeat --set); --set '' clears.
--orgstrOrganization ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib billing receipt

Save the receipt of a succeeded top-up as a PDF.

tebib billing receipt [OPTIONS] TOPUP_ID
ArgumentDescription
TOPUP_ID requiredTop-up ID (top-...).
OptionValueDescription
--file, -fpathWhere to write the PDF (default: RC-<top-up>.pdf).
--orgstrOrganization ID (default: from the profile).

tebib billing topup

Pay into the wallet. M-Pesa sends a PIN prompt to the phone; Chapa (ETB, or USD by international card) gives a checkout link to open in a browser. With --wait, wait until the payment succeeded, failed or expired (exit code 1 unless it succeeded).

tebib billing topup [OPTIONS] AMOUNT
ArgumentDescription
AMOUNT requiredAmount in the currency, e.g. 500 or 500.50.
OptionValueDescription
--phonestrM-Pesa: the paying number, e.g. 0712345678.
--currencystrCurrency of the amount (default: the organization's first method).
--orgstrOrganization ID (default: from the profile).
--waitflagWait until the resource is ready (or gone, for deletes).
--timeoutfloat rangeSeconds to wait with --wait. Default: 180.
--output, -otable | json | yamlOutput format.

tebib billing topups

List top-ups, newest first.

tebib billing topups [OPTIONS]
OptionValueDescription
--orgstrOrganization ID (default: from the profile).
--limitint rangeShow at most this many items.
--output, -otable | json | yamlOutput format.

tebib billing transactions

List ledger transactions, newest first (top-ups, hourly usage, credits).

tebib billing transactions [OPTIONS]
OptionValueDescription
--orgstrOrganization ID (default: from the profile).
--limitint rangeShow at most this many items.
--output, -otable | json | yamlOutput format.

tebib billing statements

Monthly statements (receipts of what happened, not bills).

tebib billing statements download

Save the statement's PDF.

tebib billing statements download [OPTIONS] STATEMENT_ID
ArgumentDescription
STATEMENT_ID requiredStatement ID (st-...).
OptionValueDescription
--file, -fpathWhere to write the PDF (default: <number>.pdf).
--orgstrOrganization ID (default: from the profile).

tebib billing statements get

A statement's summary (-o json for every line).

tebib billing statements get [OPTIONS] STATEMENT_ID
ArgumentDescription
STATEMENT_ID requiredStatement ID (st-...).
OptionValueDescription
--orgstrOrganization ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib billing statements list

Statements, newest first.

tebib billing statements list [OPTIONS]
OptionValueDescription
--orgstrOrganization ID (default: from the profile).
--limitint rangeShow at most this many items.
--output, -otable | json | yamlOutput format.