Skip to main content
GET
Render the payment basis of expense reports

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

Query Parameters

expenseReportIds
string[]
required

The expense reports the payment basis covers, as a comma separated list (expenseReportIds=05b8daba9ba14a49846fe77883248cf0,7c1f0a3b9d2e4f5a8b6c0d1e2f3a4b5c).

Every id must belong to the organization and not be deleted, if any of them does not the whole call is rejected with 404 and nothing is rendered. Array of strings, UUID format (32-character hexadecimal), 1-100 items. Required.

Required array length: 1 - 100 elements

UUID without dashes (32-character hex string)

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

Recipient whose accounting the amounts are calculated with. Only organizations on the old accounting structure calculate the amounts per recipient, with the new accounting structure the amounts are the same for every recipient. A recipient that is disconnected from the organization is accepted, a recipient of another organization is rejected with 400 INVALID_PARAMETER. String, UUID format (32-character hexadecimal). Optional, the default accounting of each report is used when omitted.

UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$
format
enum<string>
default:html

What the payment basis is returned as. html renders it as a web page and pdf returns the same document as a PDF that opens in the browser. String, one of html, pdf. Optional, html when omitted, also for a pre-signed URL.

Available options:
html,
pdf
lang
string

Language the document is rendered in. String, language variant such as sv_SE or en_GB. Optional, the language of the caller is used when omitted.

Pattern: ^[a-z]{2}(_[A-Z]{2})?$
formattingRegion
string

Region whose number and date formats the document uses. String, language variant such as sv_SE or en_GB. Optional, the formatting region of the caller is used when omitted or not recognised.

Pattern: ^[a-z]{2}(_[A-Z]{2})?$

Response

The rendered payment basis

The response is of type string.