Magidoc

ExpenseInviteDraftInput
Input Object

Fields

#

accountingCategory

The accounting category this expense belongs to

attachedFiles

[ JSON ]

(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

Main title of the expense

invoiceFile

(Optional - applicable to invoice expense only) The invoice file for this expense

invoiceInfo

Custom information to print on the invoice

items

[ JSON ]

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

The payout method that will be used to reimburse the expense

privateMessage

A private note that will be attached to your invoice, as HTML. Only visible to the payee and the collective/host admins.

recipientNote

Note to be sent to the invited user through email.

reference

User-provided reference number or any other identifier that references the invoice

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 draftExpenseAndInviteUser from type Mutation