journal-entries
Add an upload to a journal entry
Changed onAdd an upload to the journal entry.
Scope: journal-entries:write
post/companies/{companyId}/journal-entries/{journalEntryId}/uploads
Request
- Base URLhttps://api.bokio.se/v1
- URLhttps://api.bokio.se/v1/companies/{companyId}/journal-entries/{journalEntryId}/uploads
- AuthHTTP bearer
Request body
Example request
{
"id": "240a4af0-edfd-47b1-b4ab-f30450eaac19"
}Response
Upload added to journal entry, returns the updated journal entry
Example response
{
"id": "a419cf69-db6f-4de9-992c-b1a60942a443",
"title": "invoice 1234",
"journalEntryNumber": "V342",
"date": "2024-10-10",
"items": [
{
"id": 1,
"debit": 200,
"credit": 0,
"account": 1930,
"tags": []
},
{
"id": 2,
"debit": 0,
"credit": 40,
"account": 3011,
"tags": []
},
{
"id": 3,
"debit": 0,
"credit": 160,
"account": 2611,
"tags": []
}
],
"tags": [],
"uploadRef": {
"id": "240a4af0-edfd-47b1-b4ab-f30450eaac19"
}
}Changes
- info
endpoint added
- info