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

balanceAccountingCategory

Balance/clearing accounting category to record the expense against. Host admins only; defaults to the matched bank account category when created from an import row

Response

#

Returns Expense !.

Example

#