Magidoc

draftExpenseAndInviteUser
Mutation

Persist an Expense as a draft and invite someone to edit and submit it. Scope: "expenses".

Arguments

#

expense

Non-null

Expense data

account

Non-null

Account where the expense will be created

skipInvite

Non-null

Skip sending the invite email

lockedFields

Fields that the user should not be able to edit when submitting the draft

Response

#

Returns Expense !.

Example

#

    
  

3

    
  

3

    
  

3