Alladdin

Work in progress

Site en construction

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

Alladdin
GET

List receipt notes

Scope: sales:invoices.read https://api.alladdin.com/api/v2/receipt-notes

Returns a paginated list of receipt notes for the account.
Use the cursor from the response to fetch the next page. Filter by contact, status, or date range.

Parameters

Query parameters

contact_id string optional

Filter receipt notes by contact identifier

status string optional

Filter receipt notes by status. "pending" matches receipt notes with no payment recorded and "partial" those paid in part; both still owe a balance. "outstanding" returns the two together, and "overdue" narrows that set to a due date already past.

"pending" "completed" "partial" "cancelled" "failed" "overdue" "outstanding" start_date string<date-time> optional

end_date string<date-time> optional

Filter up to this date. Accepts ISO 8601 datetime (e.g. 2026-12-31T23:59:59+00:00) or date only (e.g. 2026-12-31). A date without a time (YYYY-MM-DD) includes that whole day; a value with a time is applied exactly as sent.

approval_status string optional

Filter by approval status. Use "draft" for unapproved receipt notes, "approved" for approved ones.

"draft" "approved" limit integer optional = 50

Maximum number of receipt notes to return per page. Defaults to 50, maximum 200.

cursor string optional

Pagination cursor returned by the previous response. Omit to start from the first page.

sort string optional

Sort order for results. Prefix with - for descending.

"date" "-date" "dueDate" "-dueDate" "total" "-total"

Request

python
import requests

url = "https://api.alladdin.com/api/v2/receipt-notes?contact_id=value&status=value&start_date=2026-01-01T00:00:00+00:00"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "document_number": "INV-0001",
      "contact_id": "507f1f77bcf86cd799439011",
      "contact_name": "Acme Corp",
      "description": "string",
      "date": "2024-01-15",
      "due_date": "2024-02-15",
      "subtotal": "100.00",
      "discount": "0",
      "total": "121.00",
      "tax": "21.00",
      "currency": "EUR",
      "status": "pending",
      "tags": [
        "string"
      ],
      "lines": [
        {
          "line_id": "...",
          "name": "...",
          "description": "...",
          "price": "...",
          "units": "...",
          "discount": "...",
          "tax": "...",
          "taxes": "...",
          "tags": "...",
          "product_id": "...",
          "variant_id": "...",
          "service_id": "...",
          "sku": "...",
          "weight": "...",
          "cost_price": "...",
          "account": "...",
          "project_id": "...",
          "retention": "...",
          "unit_type": "...",
          "supplied": "..."
        }
      ],
      "payment_method_id": "string",
      "payments_total": "0",
      "payments_pending": "121.00"
    }
  ],
  "has_more": false
}

Success responses

200 List of receipt notes application/json object items[] object[] id string

Unique identifier of the document

document_number string | null

Sequential number assigned to the document

contact_id string | null

Identifier of the contact associated with this document

contact_name string | null

Name of the contact associated with this document

description string | null

Free-text description of the document

date string<date> | null

Issue date of the document in ISO 8601 format

due_date string<date> | null

Payment due date in ISO 8601 format

subtotal string

Sum of all line amounts before tax and discounts, as a decimal string

discount string

Total discount applied to the document, as a decimal string

total string

Final amount including taxes and discounts, as a decimal string

tax string

Total tax amount, as a decimal string

currency string

ISO 4217 currency code

status string

Current status of the document

Enum: failed completed pending partial cancelled tags[] string[]

List of tags attached to the document

lines[] object[]

Line items included in the document

payment_method_id string | null

Identifier of the default payment method for this receipt note

payments_total string

Total amount already paid, as a decimal string

payments_pending string

Remaining amount to be paid, as a decimal string

has_more boolean

Error responses

401 Invalid or missing API key application/json 403 Insufficient permissions application/json 429 Rate limit exceeded application/json

← PreviousList receipt note attachments →

Next →Get a receipt note →