OBJECT
BillingDefault
Default billing settings that are applied to some accounts on creation.
link GraphQL Schema definition
- type BillingDefault implements LoggableInterface, AccessloggableInterface {
- # The ID of the entity.
- Int64Bit! :
- # An ID that uniquely identifies this entity across the whole Sonar system.
- ID! :
- # The date and time this entity was created.
- Datetime! :
- # The last date and time this entity was modified.
- Datetime! :
- # A string that shows the version of this entity. It will be incremented whenever
- # the entity is modified.
- String! :
- # The ID of an AccountType.
- Int64Bit :
- # Whether or not to aggregate invoice taxes instead of printing with each charge.
- Boolean! :
- # Whether or not to aggregate linked debits on Anchor invoices.
- Boolean! :
- # The ID of a BillingDefault acting as an Anchor default.
- Int64Bit :
- # Determines if delinquency settings on an Anchor default is applied only to the
- # Anchor account or the Linked accounts as well.
- AnchorDelinquencyLogic :
- # If `invoice_day` is not null, this allows you to select whether `auto_pay_days`
- # is calculated from the billing day, or the invoice day.
- BillingParameterDayOption! :
- # The number of days after `auto_pay_day` that autopay runs for an invoice.
- Int! :
- # The day that billing runs.
- Int :
- # Whether the account bill and invoice day are fixed, the account activation day
- # is used as bill day, or the account activation day is used as the invoice day.
- BillDayModeOption! :
- # The type of bill this account receives.
- BillMode! :
- # If `switch_status_after_delinquency` is `true`, then this is the number of days
- # of delinquency to allow before the status switch.
- Int :
- # If this is `true`, then this is the default billing default that is used, if
- # there is no more specific billing default option for an account.
- Boolean! :
- # Determines if the billing parameters apply by account type or for anchor /
- # linked types.
- BillingDefaultFor! :
- # If `switch_status_after_delinquency` is true, this is the account status that
- # the account will be moved into after `days_of_delinquency_for_status_switch`
- # days of delinquency.
- Int64Bit :
- # If `switch_status_after_delinquency` is `true`, then this is the status the
- # account will be moved back into if delinquency is cleared while the account is
- # set to the `delinquency_account_status_id` account status.
- Int64Bit :
- # The number of days after the invoice date that it is due.
- Int! :
- # If `invoice_day` is not null, this allows you to select whether `due_days` is
- # calculated from the billing day, or the invoice day.
- BillingParameterDayOption! :
- # Whether or not to use a fixed bill day, versus anniversary day billing. Use
- # `bill_day_mode` for further customization.
- Boolean :
- # The number of days after the invoice due date that the invoice is marked
- # delinquent.
- Int! :
- # The day that automatic billing invoices are generated for. If this is `null`,
- # then `bill_day` is used.
- Int :
- # Whether or not this account participates in the federal Lifeline program.
- Boolean! :
- # The number of months to bill at a time.
- Int! :
- # A descriptive name.
- String! :
- # Whether this account receives a printed invoice.
- Boolean! :
- # Whether or not this account should be moved into another status after being
- # delinquent for a preset period.
- Boolean! :
- # Whether or not this account is tax exempt.
- Boolean! :
- # The status that an `Account` is moved into after a certain length of
- # delinquency.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # activates_account: Whether or not this status activates the
- # account.
- # color: Color.
- # icon: An icon.
- # name: A descriptive name.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- HtmlHexColor, :
- Icon, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccountStatus
- # The `AccountStatus` an account is moved back into after no longer being
- # delinquent, if it is currently in the delinquency account status defined on the
- # `AccountBillingParameter`.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # activates_account: Whether or not this status activates the
- # account.
- # color: Color.
- # icon: An icon.
- # name: A descriptive name.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Boolean, :
- HtmlHexColor, :
- Icon, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccountStatus
- # The account type.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # color: Color.
- # icon: An icon.
- # invoice_message_id: The ID of an `InvoiceMessage`.
- # name: A descriptive name.
- # type: The type.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- HtmlHexColor, :
- Icon, :
- Int64Bit, :
- String, :
- AccountTypeEnum, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccountType
- # Default billing settings that are applied to some accounts on creation.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # account_type_id: The ID of an AccountType.
- # aggregate_invoice_taxes: Whether or not to aggregate invoice
- # taxes instead of printing with each charge.
- # aggregate_linked_debits: Whether or not to aggregate linked
- # debits on Anchor invoices.
- # anchor_default_id: The ID of a BillingDefault acting as an
- # Anchor default.
- # anchor_delinquency_logic: Determines if delinquency settings on
- # an Anchor default is applied only to the Anchor account or the Linked accounts
- # as well.
- # auto_pay_day: If `invoice_day` is not null, this allows you to
- # select whether `auto_pay_days` is calculated from the billing day, or the
- # invoice day.
- # auto_pay_days: The number of days after `auto_pay_day` that
- # autopay runs for an invoice.
- # bill_day: The day that billing runs.
- # bill_day_mode: Whether the account bill and invoice day are
- # fixed, the account activation day is used as bill day, or the account activation
- # day is used as the invoice day.
- # bill_mode: The type of bill this account receives.
- # days_of_delinquency_for_status_switch: If
- # `switch_status_after_delinquency` is `true`, then this is the number of days of
- # delinquency to allow before the status switch.
- # default: If this is `true`, then this is the default billing
- # default that is used, if there is no more specific billing default option for an
- # account.
- # default_for: Determines if the billing parameters apply by
- # account type or for anchor / linked types.
- # delinquency_account_status_id: If
- # `switch_status_after_delinquency` is true, this is the account status that the
- # account will be moved into after `days_of_delinquency_for_status_switch` days of
- # delinquency.
- # delinquency_removal_account_status_id: If
- # `switch_status_after_delinquency` is `true`, then this is the status the account
- # will be moved back into if delinquency is cleared while the account is set to
- # the `delinquency_account_status_id` account status.
- # due_days: The number of days after the invoice date that it is
- # due.
- # due_days_day: If `invoice_day` is not null, this allows you to
- # select whether `due_days` is calculated from the billing day, or the invoice
- # day.
- # fixed_bill_day: Whether or not to use a fixed bill day, versus
- # anniversary day billing. Use `bill_day_mode` for further customization.
- # grace_days: The number of days after the invoice due date that
- # the invoice is marked delinquent.
- # invoice_day: The day that automatic billing invoices are
- # generated for. If this is `null`, then `bill_day` is used.
- # lifeline: Whether or not this account participates in the
- # federal Lifeline program.
- # months_to_bill: The number of months to bill at a time.
- # name: A descriptive name.
- # print_invoice: Whether this account receives a printed invoice.
- # switch_status_after_delinquency: Whether or not this account
- # should be moved into another status after being delinquent for a preset period.
- # tax_exempt: Whether or not this account is tax exempt.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- Boolean, :
- Boolean, :
- Int64Bit, :
- AnchorDelinquencyLogic, :
- BillingParameterDayOption, :
- Int, :
- Int, :
- BillDayModeOption, :
- BillMode, :
- Int, :
- Boolean, :
- BillingDefaultFor, :
- Int64Bit, :
- Int64Bit, :
- Int, :
- BillingParameterDayOption, :
- Boolean, :
- Int, :
- Int, :
- Boolean, :
- Int, :
- String, :
- Boolean, :
- Boolean, :
- Boolean, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): BillingDefault
- # A geographical address.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # address_status_id: Address status ID.
- # addressable_id: The ID of the entity that owns this address.
- # addressable_type: The type of entity that owns this address.
- # anchor_address_id: The address ID for the Anchor address
- # attainable_download_speed: The attainable download speed in
- # kilobits per second.
- # attainable_upload_speed: The attainable upload speed in
- # kilobits per second.
- # avalara_pcode: Avalara PCode.
- # billing_default_id: The ID of a BillingDefault.
- # census_year: The year used for calculating fips and census
- # tract information.
- # city: A city.
- # country: A two character country code.
- # county: A US county. Only used for US addresses.
- # fips: Only used in the USA, this is the census tract
- # information used for calculating things like FCC Form 477.
- # is_anchor: Whether or not this address is an anchor
- # latitude: A decimal latitude.
- # line1: Address line 1.
- # line2: Address line 2.
- # longitude: A decimal longitude.
- # serviceable: Whether or not the address is serviceable, and can
- # be used for new accounts.
- # subdivision: A state, province, or other country subdivision.
- # timezone: The timezone you want times in the system displayed
- # in.
- # type: The type.
- # zip: A ZIP or postal code.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- Int64Bit, :
- AddressableType, :
- Int64Bit, :
- Int, :
- Int, :
- String, :
- Int64Bit, :
- Int, :
- String, :
- Country, :
- UsCounty, :
- String, :
- Boolean, :
- Latitude, :
- String, :
- String, :
- Longitude, :
- Boolean, :
- Subdivision, :
- Timezone, :
- AddressType, :
- String, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AddressConnection!
- # Parameters that define the billing settings for an `Account`.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # account_id: The ID of an Account.
- # aggregate_invoice_taxes: Whether or not to aggregate invoice
- # taxes instead of printing with each charge.
- # aggregate_linked_debits: Whether or not to aggregate linked
- # debits on Anchor invoices.
- # anchor_delinquency_logic: Determines if delinquency settings on
- # an Anchor default is applied only to the Anchor account or the Linked accounts
- # as well.
- # auto_pay_day: If `invoice_day` is not null, this allows you to
- # select whether `auto_pay_days` is calculated from the billing day, or the
- # invoice day.
- # auto_pay_days: The number of days after `auto_pay_day` that
- # autopay runs for an invoice.
- # bill_day: The day that billing runs.
- # bill_day_mode: Whether the account bill and invoice day are
- # fixed, the account activation day is used as bill day, or the account activation
- # day is used as the invoice day.
- # bill_mode: The type of bill this account receives.
- # billing_default_id: The ID of a BillingDefault.
- # days_of_delinquency_for_status_switch: If
- # `switch_status_after_delinquency` is `true`, then this is the number of days of
- # delinquency to allow before the status switch.
- # default_for: Determines if the billing parameters apply by
- # account type or for anchor / linked types.
- # delinquency_account_status_id: If
- # `switch_status_after_delinquency` is true, this is the account status that the
- # account will be moved into after `days_of_delinquency_for_status_switch` days of
- # delinquency.
- # delinquency_removal_account_status_id: If
- # `switch_status_after_delinquency` is `true`, then this is the status the account
- # will be moved back into if delinquency is cleared while the account is set to
- # the `delinquency_account_status_id` account status.
- # due_days: The number of days after the invoice date that it is
- # due.
- # due_days_day: If `invoice_day` is not null, this allows you to
- # select whether `due_days` is calculated from the billing day, or the invoice
- # day.
- # grace_days: The number of days after the invoice due date that
- # the invoice is marked delinquent.
- # grace_until: A temporary override that stops the account
- # becoming delinquent until this date.
- # invoice_day: The day that automatic billing invoices are
- # generated for. If this is `null`, then `bill_day` is used.
- # lifeline: Whether or not this account participates in the
- # federal Lifeline program.
- # months_to_bill: The number of months to bill at a time.
- # print_invoice: Whether this account receives a printed invoice.
- # switch_status_after_delinquency: Whether or not this account
- # should be moved into another status after being delinquent for a preset period.
- # tax_exempt: Whether or not this account is tax exempt.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int64Bit, :
- Boolean, :
- Boolean, :
- AnchorDelinquencyLogic, :
- BillingParameterDayOption, :
- Int, :
- Int, :
- BillDayModeOption, :
- BillMode, :
- Int64Bit, :
- Int, :
- BillingDefaultFor, :
- Int64Bit, :
- Int64Bit, :
- Int, :
- BillingParameterDayOption, :
- Int, :
- Date, :
- Int, :
- Boolean, :
- Int, :
- Boolean, :
- Boolean, :
- Boolean, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccountBillingParameterConnection!
- # The service items and overrides for linked billing defaults.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # anchor_subsidy: The amount of the service that will be invoiced
- # to the anchor account. Cannot exceed price provided.
- # billing_default_id: The ID of a BillingDefault.
- # name_override: Overriding the service name will alter the
- # service name printed on an invoice.
- # price: The price per unit of this item.
- # service_id: The ID of a Service.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Int, :
- Int64Bit, :
- String, :
- Int, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): BillingServiceConnection!
- # A log entry.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # current: Current data.
- # legacy: Whether or not this log was transferred from a Sonar v1
- # instance. If so, the formatting will not match current version logs.
- # legacy_title: A title which is only populated on logs that were
- # imported from Sonar v1.
- # level: The severity level.
- # loggable_id: The ID of the entity that this log is attached to.
- # loggable_type: The type of entity that this log is attached to.
- # logged_entity_id: The entity ID that triggered the log.
- # logged_entity_type: The entity that triggered the log.
- # message: The message.
- # previous: Previous data.
- # relation_data: Data from objects related to this change.
- # type: The type.
- # user_id: The ID of a User.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Text, :
- Boolean, :
- String, :
- LogLevel, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Text, :
- Text, :
- Text, :
- LogType, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): LogConnection!
- # An access log history on an entity.
- #
- # Arguments
- # id: The ID of the entity.
- # sonar_unique_id: An ID that uniquely identifies this entity
- # across the whole Sonar system.
- # created_at: The date and time this entity was created.
- # updated_at: The last date and time this entity was modified.
- # _version: A string that shows the version of this entity. It
- # will be incremented whenever the entity is modified.
- # access_datetime: The date and time that this entity was
- # accessed.
- # accessloggable_id: The ID of the entity that this access log
- # belongs to.
- # accessloggable_type: The entity that this access log belongs
- # to.
- # entity_id: The ID of the entity that this access log belongs
- # to.
- # entity_name: The entity that this access log belongs to.
- # user_id: The ID of the user that accessed this entity.
- # paginator: Provides the ability to paginate through results.
- # sorter: Provides the ability to sort results.
- # search: Complex search parameters.
- # general_search: Search across all string fields with partial
- # matching.
- # aggregation: Provides the ability to return aggregated
- # mathematical data about your results.
- # reverse_relation_filters: Reverse relation filters allow you to
- # filter the result of a relation, and use that filter to affect the returned root
- # elements.
- (
- Int64Bit, :
- ID, :
- Datetime, :
- Datetime, :
- String, :
- Datetime, :
- Int64Bit, :
- String, :
- Int64Bit, :
- String, :
- Int64Bit, :
- Paginator, :
- Sorter], : [
- Search], : [
- String, :
- Aggregator], : [
- ReverseRelationFilter] : [
- ): AccessLogConnection!
- }
link Require by
- AccountBillingParameterParameters that define the billing settings for an `Account`.
- AddressA geographical address.
- BillingDefaultDefault billing settings that are applied to some accounts on creation.
- BillingDefaultConnectionThe connection wrapper around the `BillingDefaultConnection` type.
- BillingServiceThe service items and overrides for linked billing defaults.
- Mutationnull