# Retrieve expense by id Return expense data. Endpoint: POST /api/tenant/{tenantId_path}/expense/getExpenseById Version: v1 ## Path parameters: - `tenantId_path` (string, required) ## Request fields (application/json-patch+json): - `id` (string) ## Response 200 fields (text/plain): - `amountVat` (number,null) - `amountVatPercentage` (number,null) - `amountWithoutVat` (number) - `amountWithVat` (number) - `billedOn` (string,null) - `billingPeriodEndDate` (string) - `billingPeriodStartDate` (string) - `canBeCancelled` (boolean) - `cancelledAt` (string,null) - `cancelledByExpense` (object,null) - `cancelledByExpense.id` (string) - `cancelledByExpense.label` (string) - `cancelledByExpense.number` (string) - `cancelledByUserFullName` (string,null) - `cancelledByUserId` (string,null) - `cancelledExpense` (object,null) - `comment` (string,null) - `contractId` (string,null) - `contractLabel` (string,null) - `contractorId` (string) - `contractorName` (string) - `contractorReference` (string) - `createdAt` (string) - `createdByUserFullName` (string) - `createdByUserId` (string) - `disbursementForecastDate` (string,null) - `entryDate` (string,null) - `isCancelled` (boolean) - `mediaId` (string,null) - `redditionMode` (integer) Enum: 1, 2 - `setAsReadyToPayAt` (string,null) - `setAsReadyToPayByUserFullName` (string,null) - `setAsReadyToPayByUserId` (string,null) - `settledAt` (string,null) - `state` (integer) Enum: 1, 2, 3, 4 - `supplierBankDetailsId` (string,null) - `supplierBankDetailsWording` (string,null) - `legalOwnerBankAccountId` (string,null) - `legalOwnerBankAccountLabel` (string,null) - `type` (integer) Enum: 1, 2, 3, 4, 5, 6, 99 - `validatedAt` (string,null) - `validatedByUserFullName` (string,null) - `validatedByUserId` (string,null) - `workOrderId` (string,null) - `workOrderNumber` (string,null) - `taxFillingMode` (integer) Enum: 1, 2 - `details` (array) - `details.allocationKeyId` (string,null) - `details.allocationKeyName` (string,null) - `details.budgetaryYearId` (string) - `details.budgetaryYearYearReference` (integer) - `details.budgetLineId` (string,null) - `details.expenseCategoryCode` (string,null) - `details.expenseCategoryId` (string,null) - `details.expenseChargebackType` (integer,null) Enum: 1, 2, 3 - `details.periodEndDate` (string) - `details.periodStartDate` (string) - `details.vatPercentage` (number,null) - `details.workLineCode` (string,null) - `details.workLineId` (string,null) - `details.workSiteNumber` (string,null) - `details.hasBeenBilled` (boolean) - `details.taxSystemEnum` (integer,null) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 100, 110, 120, 150, 200, 205, 208, 210, 900, 910 ## Response 400 fields (text/plain): - `error` (string)