INPUT_OBJECT

UpdateAccountBillingParameterMutationInput

The input object that defines the fields for the updateAccountBillingParameter mutation.

link GraphQL Schema definition

  • input UpdateAccountBillingParameterMutationInput {
  • # The next date this service will bill. If this is null, it will bill on the next
  • # account billing date.
  • next_bill_date: Date
  • # The day that billing runs.
  • bill_day: Int
  • # The number of days after the invoice date that it is due.
  • due_days: Int
  • # The number of days after the invoice due date that the invoice is marked
  • # delinquent.
  • grace_days: Int
  • # A temporary override that stops the account becoming delinquent until this date.
  • grace_until: Date
  • # The number of days after `auto_pay_day` that auto pay runs for an invoice.
  • auto_pay_days: Int
  • # The number of months to bill at a time.
  • months_to_bill: Int
  • # Whether or not this account is tax exempt.
  • tax_exempt: Boolean
  • # The type of bill this account receives.
  • bill_mode: BillMode
  • # Whether this account receives a printed invoice.
  • print_invoice: Boolean
  • # The day that automatic billing invoices are generated for. If this is `null`,
  • # then `bill_day` is used.
  • invoice_day: Int
  • # 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_day: BillingParameterDayOption
  • # If `invoice_day` is not null, this allows you to select whether `due_days` is
  • # calculated from the billing day, or the invoice day.
  • due_days_day: BillingParameterDayOption
  • # Whether or not this account should be moved into another status after being
  • # delinquent for a preset period.
  • switch_status_after_delinquency: Boolean
  • # If `switch_status_after_delinquency` is `true`, then this is the number of days
  • # of delinquency to allow before the status switch.
  • days_of_delinquency_for_status_switch: Int
  • # 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_account_status_id: 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.
  • delinquency_removal_account_status_id: Int64Bit
  • # Whether or not changing an account bill day is prorated by default.
  • prorate: Boolean
  • # Setting this value to `true` will set `invoice_day` to null.
  • unset_invoice_day: Boolean
  • # Setting this value to `true` will set `grace_until` to null.
  • unset_grace_until: Boolean
  • # Setting this value to `true` will set `delinquency_removal_account_status_id` to
  • # null.
  • unset_delinquency_removal_account_status_id: Boolean
  • }

link Require by