v1

latestOpenAPI 3.0.1Apache 2.02026-07-26131220353.8 KB
Expenses

Get an expense for a company

get/expenses/{expenseId}

Path parameters

expenseIdstring required
Example:0f0e000-000d-0d00-000b-00db0d000fae

Unique UUID of the expense.

Response

An expense has been returned

idstring required

The unique UUID identifier of the expense

employeeIdstring

Unique UUID identifier of the employee that performed the expense

employeeCodestring

External identifier of the employee that performed the expense

departmentIdstring

Unique UUID identifier of the department for which the employee executing the expense belongs to

performedAtstring date-time required

The date the expense was performed in the format YYYY-MM-DDTHH:mi:ss.SSSZ

notestring

Additional comments on the expense added to enhance the purpose of the expense

type'CARD' | 'PERSONAL_TRANSFER' | 'BILL_INVOICE' | 'LOAD' | 'MANUAL' | 'MANUAL_TRANSFER' | 'PLEO_INVOICE' | 'EMPLOYEE_BANK_TRANSFER' | 'CASHBACK' required

The type of this expense.

accountIdstring

This is the UUID pleo accounting category identifier for this expense, e.g. entertainment, travel etc.

taxCodeIdstring

This is the UUID tax code identifier for this expense

receiptIdsstring[]

Unique identifiers (UUIDs) for the receipts attached to this expense

settledExpenseIdsstring[]

Unique identifiers (UUIDs) of the related settled Expenses in case the expense is a reimbursement of *TRANSFER family

status'NOT_EXPORTED' | 'QUEUED' | 'EXPORTING' | 'EXPORTED' required

This is related to export status information

createdAtstring date-time required

Date and time this record was created in the pleo system in the format YYYY-MM-DDTHH:mi:ss.SSSZ

updatedAtstring date-time required

Date and time this record was last updated in the pleo system in the format YYYY-MM-DDTHH:mi:ss.SSSZ

deletedAtstring date-time

Date and time this record was deleted in the pleo system in the format YYYY-MM-DDTHH:mi:ss.SSSZ