invoices

Get attachments

Retrieve the information of the attachments for the invoice. Use the query parameters to filter and navigate through the results.

Scope: invoices:read

get/companies/{companyId}/invoices/{invoiceId}/attachments

Request

  • Base URL
    https://api.bokio.se/v1
  • URL
    https://api.bokio.se/v1/companies/{companyId}/invoices/{invoiceId}/attachments
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization code: /authorize
      Client credentials
      Token URL: /token scopes: invoices:read

Query parameters

pageinteger

Page number

pageSizeinteger

Number of items per page

querystring

Optional query to filter the data set with supported fields listed below and available operations.

FieldType
fileNamestring

Response

Attachments found

totalItemsinteger
totalPagesinteger
currentPageinteger

Example response

{
  "totalItems": 1,
  "totalPages": 1,
  "currentPage": 1,
  "items": [
    {
      "id": "240a4af0-edfd-47b1-b4ab-f30450eaac19",
      "invoiceId": "a419cf69-db6f-4de9-992c-b1a60942a443",
      "fileName": "myfile.pdf"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.