INPUT_OBJECT

ExpenseUpdateInput

link GraphQL Schema definition

  • input ExpenseUpdateInput {
  • # ID of the expense that you are trying to edit
  • id: String!
  • # Main title of the expense
  • description: String
  • # Longer text to attach to the expense
  • longDescription: String
  • # Tags associated to the expense (ie. Food, Engineering...)
  • tags: [String]
  • # The type of the expense
  • type: ExpenseType
  • # A private note that will be attached to your invoice, as HTML
  • privateMessage: String
  • # Tax ID, VAT number...etc This information will be printed on your invoice.
  • invoiceInfo: String
  • # The payout method that will be used to reimburse the expense
  • payoutMethod: PayoutMethodInput
  • # @deprecated 2020-04-08: Please use the items field - The list of items for this
  • # expense. Total amount will be computed from them.
  • attachments: [ExpenseItemInput]
  • # The list of items for this expense. Total amount will be computed from them.
  • items: [ExpenseItemInput]
  • # (Optional) A list of files that you want to attach to this expense
  • attachedFiles: [ExpenseAttachedFileInput!]
  • # Account to reimburse
  • payee: NewAccountOrReferenceInput
  • # The address of the payee
  • payeeLocation: LocationInput
  • }