journal entries

GET /companies/{companySlug}/journalEntries/{journalEntryId}/attachments

Changed on

Returns all attachments for a given Journal Entry

Request

  • Base URL
    https://api.fiken.no/api/v2
  • URL
    https://api.fiken.no/api/v2/companies/{companySlug}/journalEntries/{journalEntryId}/attachments
  • Auth
    OAuth 2
    Authorization code: https://fiken.no/oauth/authorize
    Token URL: https://fiken.no/oauth/token

Response

OK

uuidstring uuid

Unique id of the attachment (the underlying file's UUID). Use this value as the attachmentUuid path parameter when deleting the attachment.

filenamestring

The name of the underlying file.

identifierstring

User-defined identifier for attachment. Could be the Invoice Id or receipt number for example.

downloadUrlstring

For use with API credentials (bearer token or oauth 2)

downloadUrlWithFikenNormalUserCredentialsstring

Requires the user to login with username and password in Fiken.

commentstring

Field for additional information for this attachment.

type'invoice' | 'reminder' | 'unspecified' | 'ocr' | 'bank_statement'

Example response

[
  {
    "uuid": "745b2f15-1234-4408-8bf2-b1d2d7610cb2",
    "filename": "invoice_24760.pdf",
    "identifier": "24760",
    "type": "invoice"
  }
]

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new bank_statement enum value to the / response property for the response status

    • warning

      added the new ocr enum value to the / response property for the response status

    • warning

      added the new unspecified enum value to the / response property for the response status

    • info

      the endpoint scheme security fiken_api_oauth was removed from the API