GET https://app.alaaqat.com/api/invoices/{invoice_id}/notes
حيث invoice_id هو قيمة _id للفاتورة. تعرض هذه النقطة الملاحظات المكتوبة على السجل، الأحدث تعديلاً أولاً. يحتاج مفتاح واجهة التطبيق البرمجية إلى الإمكانية invoice-note-index، ويحتاج عضو الفريق الذي أنشأ المفتاح إلى صلاحية ملاحظات الفواتير.
{
"Accept": "application/json"
}
تقبل هذه النقطة معطيات الصفحات.
200 OK، أو 206 Partial Content إذا تبقّت صفحات أخرى. يدل made_by وuser على عضو الفريق الذي كتب الملاحظة آخر مرة.
{
"data": [
{
"_id": "6658d1e2f3a4b5c6d7e8f901",
"description": "سيدفع العميل المبلغ المتبقي بتحويل بنكي في نهاية الشهر.",
"invoice_id": "6657c1d2e3f4a5b6c7d8e901",
"made_by": 12,
"updated_at": "2026-10-20T09:30:00.000000Z",
"created_at": "2026-10-20T09:30:00.000000Z",
"user": {
"id": 12,
"email": "sara.haddad@example.com",
"firstname": "Sara",
"lastname": "Haddad",
"image": null,
"locale": "en",
"created_at": "2026-03-02T08:00:00.000000Z",
"updated_at": "2026-10-01T07:30:00.000000Z",
"fullname": "Sara Haddad"
}
}
],
"links": {
"first": "https://app.alaaqat.com/api/invoices/6657c1d2e3f4a5b6c7d8e901/notes?page=1",
"last": "https://app.alaaqat.com/api/invoices/6657c1d2e3f4a5b6c7d8e901/notes?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://app.alaaqat.com/api/invoices/6657c1d2e3f4a5b6c7d8e901/notes?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://app.alaaqat.com/api/invoices/6657c1d2e3f4a5b6c7d8e901/notes",
"per_page": 15,
"to": 1,
"total": 1
}
}