Skip to main content
GET
Accounting of an expense on an expense report

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Unique identifier of the organization. String in UUID without dashes (32-character hex string) if access is done via values from Findity system otherwise, id of external system can be used

reportId
string
required

The unique identifier of the expense report. String, UUID format (32-character hexadecimal). Required. UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$
expenseId
string
required

The unique identifier of the expense on the expense report. String, UUID format (32-character hexadecimal). Required. UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$

Query Parameters

recipientId
string

The recipient (accounting or payment integration of the organization) to return the accounting for. String, UUID format (32-character hexadecimal). Optional: without it, the accounting for every recipient is returned and recipientInformation is null. A recipient that was disconnected from the organization is accepted. A recipient that does not belong to the organization is rejected with 400.

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$
includeBenefitsData
boolean
default:false

When true, the accounting rows of benefits (food, fuel and congestion benefits) are returned too. When false, they are left out. Boolean. Optional, defaults to false.

Response

OK

accounting
object[]
required

The accounting rows of the expense, sorted by account text. Benefit rows are left out.

recipientInformation
object | null
required

How the expense is accounted for the given recipient. Null when recipientId is not given or nothing is stored for the recipient.