POST
/
api
/
v3
/
expenseTempItems

Body

application/json

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).

expenseNatureId
integer
required

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

Required range: x > 1
purchasedOn
string
required

Day the expense was made.

attendees
object | null

Additional information when the expense type is 'Invitation'.

axisSections
object[] | null

Axis sections values.

comment
string | null
customFields
object | null

Values for custom fields.

expenseReceipts
object[] | null

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

merchant
string | null

Merchant of the expense.

mileage
object | null

Additional information when the expense type is mileage.

originalTransaction
object

Expense amount in original currency.

ownerId
integer

Unique identifier of the user that made this expense.

paymentMethod
object
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
quantity
integer
default:
1

The quantity when the expense type is 'Quantity'.

Required range: x > 1
source
object
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
status
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.

Response

200 - application/json
data
object

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).