avr billing
Manage billing, invoices, and payment methods.
avr billing [OPTIONS] COMMAND [ARGS]...Subcommands
Section titled “Subcommands”avr billing invoices
Section titled “avr billing invoices”Manage invoices.
avr billing invoices [OPTIONS] COMMAND [ARGS]...avr billing invoices download
Section titled “avr billing invoices download”Download an invoice PDF.
avr billing invoices download [OPTIONS] INVOICE_IDArguments
INVOICE_ID
Options
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--out<TEXT>— Output file path. Defaults to <invoice_id>.pdf.
avr billing invoices list
Section titled “avr billing invoices list”List invoices.
avr billing invoices list [OPTIONS]JSON FIELDS created_at, currency, has_pdf, invoice_id, period_end, period_start, status, subtotal_cents, tax_cents, total_centsOptions
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).-L, --limit<INTEGER RANGE>— Max invoices to return. (default:50)--offset<INTEGER>— Pagination offset. (default:0)--json<TEXT>— Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.-q, --jq<TEXT>— Filter --json output through a jq expression.
avr billing invoices show
Section titled “avr billing invoices show”Show details for a single invoice.
avr billing invoices show [OPTIONS] INVOICE_IDJSON FIELDS created_at, currency, has_pdf, invoice_id, line_items, period_end, period_start, status, subtotal_cents, tax_cents, total_centsArguments
INVOICE_ID
Options
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--json<TEXT>— Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.-q, --jq<TEXT>— Filter --json output through a jq expression.
avr billing payment-methods
Section titled “avr billing payment-methods”Manage payment methods.
avr billing payment-methods [OPTIONS] COMMAND [ARGS]...avr billing payment-methods add
Section titled “avr billing payment-methods add”Add a credit card as a payment method.
avr billing payment-methods add [OPTIONS]Card details are sent directly to Stripe and never touch Avrea servers.
Options
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--number<TEXT>— Credit card number. Prefer prompting over --number to avoid shell history. (required)--exp-month<INTEGER RANGE>— Card expiration month. (required)--exp-year<INTEGER>— Card expiration year. (required)--cvc<TEXT>— Card CVC/CVV code. Prefer prompting over --cvc to avoid shell history. (required)
avr billing payment-methods list
Section titled “avr billing payment-methods list”List payment methods.
avr billing payment-methods list [OPTIONS]JSON FIELDS card_brand, card_exp_month, card_exp_year, card_last4, is_default, payment_method_idOptions
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--json<TEXT>— Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.-q, --jq<TEXT>— Filter --json output through a jq expression.
avr billing payment-methods remove
Section titled “avr billing payment-methods remove”Remove a payment method.
avr billing payment-methods remove [OPTIONS] PM_IDArguments
PM_ID
Options
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--yes— Skip confirmation prompt.
avr billing payment-methods set-default
Section titled “avr billing payment-methods set-default”Set a payment method as the default.
avr billing payment-methods set-default [OPTIONS] PM_IDArguments
PM_ID
Options
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).
avr billing settings
Section titled “avr billing settings”Show billing settings.
avr billing settings [OPTIONS]JSON FIELDS billing_address, billing_emails, metronome_customer_id, stripe_customer_id, tax_idOptions
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--json<TEXT>— Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.-q, --jq<TEXT>— Filter --json output through a jq expression.
avr billing summary
Section titled “avr billing summary”Show billing summary for the organization.
avr billing summary [OPTIONS]JSON FIELDS billing_emails, default_payment_method, has_billingOptions
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--json<TEXT>— Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.-q, --jq<TEXT>— Filter --json output through a jq expression.
avr billing update-settings
Section titled “avr billing update-settings”Update billing settings.
avr billing update-settings [OPTIONS]Examples: avr billing update-settings --email billing@example.com avr billing update-settings --tax-id EU123456789 avr billing update-settings --email a@example.com,b@example.com --tax-id FI12345678JSON FIELDS billing_address, billing_emails, metronome_customer_id, stripe_customer_id, tax_idOptions
--org<TEXT>— Organization ID. Uses default org if not specified (see: avr config set org).--email<TEXT>— Billing email address(es), comma-separated.--tax-id<TEXT>— Tax ID (e.g. VAT number).--json<TEXT>— Output JSON. Pass comma-separated field names, "*" for all fields, or "?" to list available fields.-q, --jq<TEXT>— Filter --json output through a jq expression.