قائمة مجموعات خصائص الفواتير

GET https://app.alaaqat.com/api/invoices/properties/groups

تعرض هذه النقطة المجموعات التي تُنظَّم فيها خصائص الفواتير: المجموعات المدمجة والمجموعات التي أنشأتها. يحتاج مفتاح واجهة التطبيق البرمجية إلى الإمكانية invoice-property-group-index، ويحتاج عضو الفريق الذي أنشأ المفتاح إلى صلاحية عرض مجموعات الحقول.

ترويسة الطلب

{
    "Accept": "application/json"
}

المعطيات

تقبل هذه النقطة معطيات الصفحات.

المفتاح النوع الافتراضي الوصف
search نص - البحث حسب الاسم أو الوصف.

الإستجابة

200 OK، أو 206 Partial Content إذا تبقّت صفحات أخرى. تحمل المجموعة المدمجة القيمة null في account_id وuser.

{
    "data": [
        {
            "_id": "6653c0d1e2f3a4b5c6d7e841",
            "internal_name": "invoice_information",
            "name": {
                "en": "Invoice Information",
                "ar": "معلومات الفاتورة"
            },
            "desc": [],
            "account_id": null,
            "made_by": null,
            "updated_at": "2026-01-10T00:00:00.000000Z",
            "created_at": "2026-01-10T00:00:00.000000Z",
            "user": null
        },
        {
            "_id": "6654e0f1a2b3c4d5e6f7a901",
            "internal_name": "key_account_details",
            "name": {
                "en": "Key account details",
                "ar": "تفاصيل الحسابات الرئيسية"
            },
            "desc": {
                "en": "Extra details we keep on our largest invoices",
                "ar": "تفاصيل إضافية نحفظها عن أكبر فواتير"
            },
            "account_id": 1024,
            "made_by": 12,
            "updated_at": "2026-10-19T14:00:00.000000Z",
            "created_at": "2026-10-19T14:00: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/properties/groups?page=1",
        "last": "https://app.alaaqat.com/api/invoices/properties/groups?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/properties/groups?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.alaaqat.com/api/invoices/properties/groups",
        "per_page": 15,
        "to": 2,
        "total": 2
    }
}