Magidoc

ExpenseCreateInput
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

currency

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

customData

Custom data to be stored in the expense

description

Non-null

Main title of the expense

invoiceInfo

Custom information to print on the 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

Non-null

Account to reimburse

payeeLocation

The address of the payee

payoutMethod

Non-null

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

Non-null

The type of the expense

Usages

#

References

#

  • Argument expense of field createExpense from type Mutation