Skip to main content

SYS.ORGANIZATION.BILLING

The sys.organization.billing table contains data about the current organization's billing account.

Syntax
SELECT * 
FROM sys.organization.billing

Example Output

idaccount_typenameemailbalanceis_defaultcreated_atcreated_bymodified_atmodified_by
b30202dd-68ae-4d60-b6bb-12502a451839INVOICE_PREPAIDgnarlygnarly@dremio.com1000.0true172374939615422e4186a-d635-4496-a52c-7e6e0b98449d172474889624622e4186a-d635-4496-a52c-7e6e0b98449d

Fields

FieldData TypeDescription
idvarcharThe UUID of the billing account.
account_typevarcharThe type of the billing account.
namevarcharThe name of the billing account.
emailvarcharThe email address that receives invoices and transactional emails for the billing account.
balancedoubleThe balance of the billing account. This value can be negative if the account has charges that have not been paid.
is_defaultBooleanIf the billing account is the default billing account for the current organization, true. Otherwise, false.
created_atintegerThe number of milliseconds since UNIX epoch at which the billing account was created.
created_byvarcharThe UUID of the user who created the billing account.
modified_atintegerThe number of milliseconds since UNIX epoch at which the billing account was last modified.
modified_byvarcharThe UUID of the user who last modified the billing account.