Get details of expense
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
GET /api-v1/expenses/{id}
curl \
-X GET http://10.10.10.132/api-v1/expenses/{id} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"chartOfAccountsId": 42,
"companyCurrencyTotalAmount": "string",
"currencyId": 42,
"currencyNetAmount": "string",
"currencyTotalAmount": "string",
"currencyVatAmount": "string",
"date": "string",
"departmentId": 42,
"description": "string",
"id": 42,
"merchant": "string",
"officeId": 42,
"orderClientId": 42,
"orderId": 42,
"paymentType": "OWN_RESOURCES",
"reBill": true,
"receiptDocumentFileId": 42,
"status": "UNSUBMITTED",
"vatRateId": 42
}