Authorization: Bearer ********************curl --location --request POST 'https://apidev.edufee.online/api/fees-report-paid-invoice-sub-head' \
--header 'Authorization: Bearer <token>' \
--form 'academic_year_id="85"' \
--form 'department_id[]="2"' \
--form 'combination_pivot_id[]="29"' \
--form 'fee_head_id="15"' \
--form 'fee_subhead_id[]="20"'{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"status": "success",
"message": "Paid invoice subhead report generated.",
"invoice_details": {
"current_page": 1,
"data": [
{
"department": "school",
"class": "six",
"shift": "day",
"section": "a",
"group": "Common",
"department_id": 2,
"institute_class_map_id": 6,
"shift_id": 23,
"section_id": 40,
"group_id": 56,
"student_id": 5,
"custom_student_id": "6267085",
"student_name": "MST. KHADIZA KHATUN",
"total_payment_amount": "400.00",
"fee_subheads": [
{
"fee_subhead_id": 20,
"fee_subhead": "January",
"amount": 400
}
]
},
{
"department": "school",
"class": "six",
"shift": "day",
"section": "a",
"group": "Common",
"department_id": 2,
"institute_class_map_id": 6,
"shift_id": 23,
"section_id": 40,
"group_id": 56,
"student_id": 10,
"custom_student_id": "6288600",
"student_name": "MST. RABEYA BASHRI",
"total_payment_amount": "550.00",
"fee_subheads": [
{
"fee_subhead_id": 20,
"fee_subhead": "January",
"amount": 550
}
]
},
{
"department": "school",
"class": "six",
"shift": "day",
"section": "a",
"group": "Common",
"department_id": 2,
"institute_class_map_id": 6,
"shift_id": 23,
"section_id": 40,
"group_id": 56,
"student_id": 19,
"custom_student_id": "6267285",
"student_name": "MST. SADIA JAHAN",
"total_payment_amount": "550.00",
"fee_subheads": [
{
"fee_subhead_id": 20,
"fee_subhead": "January",
"amount": 550
}
]
}
],
"first_page_url": "https://apidev.edufee.online/api/fees-report-paid-invoice-sub-head?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://apidev.edufee.online/api/fees-report-paid-invoice-sub-head?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://apidev.edufee.online/api/fees-report-paid-invoice-sub-head?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "https://apidev.edufee.online/api/fees-report-paid-invoice-sub-head",
"per_page": 10000,
"prev_page_url": null,
"to": 3,
"total": 3
},
"subheads": [
{
"id": 20,
"name": "January"
}
]
}
}
}