Inserts or creates an expense record.
insertExpense Parameter Descriptions
Parameter Name |
Data Type |
Description |
expense |
Data object |
The following table lists properties from the expenseCreate data object that must be populated in order to upload an expense. Also note that the same properties must be populated when you are updating an expense, using the expenseUpdate data object.
expenseCreate Required Properties
Property Name |
Data Type |
Description |
shortDescription |
string |
The expense description. |
expenseDate |
date |
The expense date. For example, when the expense was incurred or the date the record was made. |
expensedByUniqueKey |
string |
The unique key of the user responsible for the expense. |
insertExpense Response Descriptions
Parameter Name |
Data Type |
Description |
uniqueKey |
string |
The unique key of the newly created record. |
expenseCreate for more information about the properties you can set for the expense