Magidoc

ExpenseUpdateInput
Input Object

Fields

#

accountingCategory

The accounting category this expense belongs to

attachedFiles

(Optional) A list of files that you want to attach to this expense

attachments

@deprecated 2020-04-08: Please use the items field - The list of items for this expense. Total amount will be computed from them.

currency

Currency that should be used for the payout. Defaults to the account currency

customData

Custom data to be stored in the expense

description

Main title of the expense

id

Non-null

ID of the expense that you are trying to edit

invoiceInfo

Tax ID, VAT number...etc This information will be printed on your invoice.

items

The list of items for this expense. Total amount will be computed from them.

longDescription

Longer text to attach to the expense

payee

Account to reimburse

payeeLocation

The address of the payee

payoutMethod

The payout method that will be used to reimburse the expense

privateMessage

A private note that will be attached to your invoice, as HTML

tags

Tags associated to the expense (ie. Food, Engineering...)

tax

The list of taxes that should be applied to the expense (VAT, GST, etc...)

type

The type of the expense

Usages

#

References

#

  • Argument expense of field editExpense from type Mutation