Magidoc

createExpense
Mutation

Submit an expense to a collective. Scope: "expenses".

Arguments

#

expense

Non-null

Expense data

account

Non-null

Account where the expense will be created

recurring

Recurring Expense information

transactionsImportRow

If the expense was imported, this is the reference to the row

privateComment

A optional private comment to add to the created expense

Response

#

Returns Expense !.

Example

#

    
  

3

    
  

3

    
  

3