Get expense document information
GET/api/documents/:id
This API endpoint has been purposefully crafted to get expense document details.
Request
Path Parameters
id stringrequired
Document identifier
Responses
- 200
- 401
- 403
- 404
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
id string
name stringnull
mimeType string
transactionId integernull
createdAt string
Datetime of the creation in format Y-m-d H:i:s.
{
"id": 1,
"name": "document.pdf",
"mimeType": "application/pdf",
"transactionId": "1",
"createdAt": "2027-11-22 13:00:00"
}
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
type string
title string
detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
type string
title string
detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Not Found -- The requested resource could not be found.
Loading...