The ExpenseTempItem, or "temporary expense" is an expense that has not yet been declared (within an expense report) by its owner (the user who made the expense).

purchasedOn
string
required

Day the expense was made.

expenseNatureId
integer
required

Nature of the expense: Meals, Train, Taxi, Hotels, Taxi, Mileage... List depends on the app configuration.

Required range: x > 1
id
integer
Required range: x > 1
originalTransaction
object

Expense amount in original currency.

processedAmounts
object

Various amounts in the establishment's currency.

mileage
object | null

Additional information when the expense type is mileage.

quantity
integer
default: 1

The quantity when the expense type is 'Quantity'.

Required range: x > 1
effectiveQuantity
integer

Calculated quantity when the expense type is 'Quantity' or 'Invitations' (number of attendees).

Required range: x > 1
attendees
object | null

Additional information when the expense type is 'Invitation'.

axisSections
object[] | null

Axis sections values.

customFields
object | null

Values for custom fields.

merchant
string | null

Merchant of the expense.

comment
string | null
expenseReceipts
object[] | null

The original receipt (PDF file, image, ...).

authorizedActions
object

Authorized actions on the expense for the current user.

sourceId
object

The source describes how the expense was created:

  • 0: Legacy
  • 1: OldImport
  • 2: ImportByCb
  • 3: ImportByNature
  • 4: Anytime
  • 5: BudgetInsight
  • 6: Api
  • 7: Ocr
  • 8: Reconciliation
  • 9: InvoiceAggregator
  • 10: EmailAttachments
  • 11: FtpStatementImport
  • 12: CleemyPayment
source
object
ownerId
integer

Unique identifier of the user that made this expense.

paymentMethodId
enum<number>

How this expense was made: the owner used his money, an enterprise debit card, or a Cleemy card:

  • 0: User
  • 1: CorporateCard
  • 3: Cleemy Card
Available options:
0,
1,
3
paymentMethod
object
statusId
object

Status of the expense.

  • 0: the expense is not valid.
  • 1: the expense has been completed by the system and review is still pending
  • 2: the expense has been completed and reviewed and it can be declared.
status
object