Expense Object
This represents an Expense
Fields
#
legacyId
Legacy ID as returned by API V1. Avoid relying on this field as it may be removed in the future.
amount
Total amount of the expense (sum of the item's amounts).
accountCurrencyFxRate
The exchange rate between the expense currency and the account currency
valuesByRole
If available, this field will contain a breakdown of the expense values depending on who edited it
comments
Returns the list of comments for this expense, or null
if user is not allowed to see them
paymentMethod
items
privateMessage
Additional information about the payment as HTML. Only visible to user and admins.
permissions
The permissions given to current logged in user for this expense
activities
The list of activities (ie. approved, edited, etc) for this expense ordered by date ascending
requiredLegalDocuments
Returns the list of legal documents required from the payee before the expense can be payed. Must be logged in.
quote
validateTransferRequirements
recurringExpense
securityChecks
[Admin only] Security checks for this expense. Only available to expenses under trusted hosts.
Usages
#
References
#
- Field nodes from ExpenseCollection
- Field expense from Activity
- Field lastExpenseCreated from RecurringExpense
EventCreateInput
ExpenseAttachedFile