Download the expense file
/expenses/{expense}/downloadStreams the stored file under its original name. Content-Length is not sent.
Autorizacija
bearerAuth Business token created in the app under Settings, Integrations, API. The token is scoped to exactly one business, has no expiry and is shown only once. Send it as Authorization: Bearer <token> together with Accept: application/json.
Vieta: header
Kelio parametrai
The expense ID.
Atsakymo turinys
application/json
application/json
application/json
curl -X GET "https://example.com/expenses/string/download""string"Replace the expense file POST
Replaces only the stored file; every other field is kept. Fires the expense.updated webhook.
expense.created Webhook
Sent when an expense is created through the API or the app. Each event is attempted up to 3 times: the first delivery, then retries after 10 s and 100 s; only a 2xx response counts as success. The request times out after 10 seconds.