# Retrieve building data by id Upload file linked to the expense. Endpoint: POST /api/tenant/{tenantId_path}/expense/setExpenseMediaId Version: v1 ## Path parameters: - `tenantId_path` (string, required) ## Request fields (application/json-patch+json): - `expenseId` (string) - `invoicePdfUrl` (string) ## Response 400 fields (text/plain): - `error` (string)