INPUT_OBJECT

UpdateOneTimeServiceMutationInput

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

link GraphQL Schema definition

  • input UpdateOneTimeServiceMutationInput {
  • # Whether or not this is enabled.
  • enabled: Boolean
  • # A descriptive name.
  • name: String
  • # How this is applied.
  • application: ServiceApplication
  • # The amount, in the smallest currency value (e.g. cents, pence, pesos.)
  • amount: Int
  • # The ID of the company that this entity operates under.
  • company_id: Int64Bit
  • # The ID of a GeneralLedgerCode.
  • general_ledger_code_id: Int64Bit
  • # The ID of a tax definition on a transaction.
  • tax_definition_id: Int64Bit
  • # The ID of a tax definition on a reversed transaction.
  • reverse_tax_definition_id: Int64Bit
  • # Unset the ID of a tax definition on a transaction.
  • unset_tax_definition_id: Boolean
  • # Unset the ID of a tax definition on a reversed transaction.
  • unset_reverse_tax_definition_id: Boolean
  • # The taxes applied when this service creates a transaction.
  • taxes: [ServiceTaxMutationInput]
  • # A list of account group IDs that this account is part of.
  • account_group_ids: [Int64Bit]
  • # If the amount for this service is zero, it will still display on invoices.
  • display_if_zero: Boolean
  • # A note about this entity.
  • note: NoteMutationInput
  • # Setting this value to `true` will set `general_ledger_code_id` to null.
  • unset_general_ledger_code_id: Boolean
  • # Setting this value to `true` will set `company_id` to null.
  • unset_company_id: Boolean
  • }

link Require by