invoices

Get an attachment

Retrieve the information of the attachment with the matching attachmentId.

Scope: invoices:read

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

Request

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

Response

Attachment found

idstring uuid
invoiceIdstring uuid
fileNamestring

Example response

{
  "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.