Alladdin

Work in progress

Site en construction

الموقع قيد الإنشاء

Alladdin
GET

List receipt note attachments

Scope: sales:invoices.read https://api.alladdin.com/api/v2/receipt-notes/{receiptNoteId}/attachments

Returns the list of files attached to a receipt note.
Each attachment includes its identifier, file name, and size.

Parameters

Path parameters

receiptNoteId string required

Receipt Note ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.alladdin.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

200 List of attachments application/json object items[] object[] cursor string | null has_more boolean

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Receipt note not found. application/json 429 Rate limit exceeded application/json 500 Internal server error application/json object type string title string status integer detail string

← PreviousSet receipt note pipeline →

Next →List receipt notes →