credit notes

Returns all attachments for specified draft.

get/companies/{companySlug}/creditNotes/drafts/{draftId}/attachments

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

No recorded changes to this endpoint across all 1 revision of this API.