GET
List receipt note attachments
Scope:
sales:invoices.readhttps://api.holded.com/api/v2/receipt-notes/{receiptNoteId}/attachmentsReturns the list of files attached to a receipt note. Each attachment includes its identifier, file name, and size.
Parameters
Path parameters
receiptNoteId
stringrequiredReceipt Note ID (24-char hex ObjectId)
Request
python
import requests
url = "https://api.holded.com/api/v2/receipt-notes/{receiptNoteId}/attachments"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
json
{
"items": [
{}
],
"cursor": "string",
"has_more": false
}Success responses
200List of attachmentsapplication/jsonobject
items[]object[]
cursorstring | null
has_moreboolean
Error responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Receipt note not found.application/json429Rate limit exceededapplication/json500Internal server errorapplication/jsonobject
typestring
titlestring
statusinteger
detailstring