INTERFACE

TransactionInterface

A type of transaction.

link GraphQL Schema definition

  • interface TransactionInterface {
  • # The ID of the entity.
  • id: Int64Bit!
  • # An ID that uniquely identifies this entity across the whole Sonar system.
  • sonar_unique_id: ID!
  • # The date and time this entity was created.
  • created_at: Datetime!
  • # The last date and time this entity was modified.
  • updated_at: Datetime!
  • # The ID of an Account.
  • account_id: Int64Bit
  • # The amount, in the smallest currency value (e.g. cents, pence, pesos.)
  • amount: Int
  • # The type.
  • type: ServiceType
  • # The ID of a Service.
  • service_id: Int64Bit
  • # The name of a service.
  • service_name: String
  • # The quantity for this service.
  • quantity: Int
  • # A human readable description.
  • description: String
  • # A general ledger code.
  • general_ledger_code: String
  • # A general ledger code description.
  • general_ledger_code_description: String
  • # The ID of the company that this entity operates under.
  • company_id: Int64Bit
  • # The ID of the user who created this transaction.
  • user_id: Int64Bit
  • }