getCategoryBills
List all customer bills
POST
https://node-staging.billeasy.in/api/v1/Customers/getCategoryBills
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
x-customer-number
string
x-customer-token
string
x-api-secret
string
x-api-access
string
Content-Type
string
Request:
{"date_year":"","date_month":"","category_id":"","page_no":"1","customer_id":"551"}
Response:
{
"success": true,
"msg": "Category bills data.",
"data": [
{
"id": "25979",
"attributes": {
"total_amount": 1769.21,
"created_at": "2020-02-11T17:11:13.875299",
"is_edison_bill": false,
"snippet": "",
"accent": "0cc1b0",
"client_name": "Billeasy Store",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Feb 11",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/303/main_file.png",
"client_type": 1,
"bill_number": 0,
"client_id": 303,
"group_share_total": 0,
"five_asec_delivery_date": null,
"five_asec_payment_status": null,
"five_asec_delivery_status": null
}
},
{
"id": "25978",
"attributes": {
"total_amount": 1769.21,
"created_at": "2020-02-11T17:08:58.98189",
"is_edison_bill": false,
"snippet": "",
"accent": "0cc1b0",
"client_name": "Billeasy Store",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Feb 11",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/303/main_file.png",
"client_type": 1,
"bill_number": 0,
"client_id": 303,
"group_share_total": 0,
"five_asec_delivery_date": null,
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": null
}
},
{
"id": "25977",
"attributes": {
"total_amount": 1769.21,
"created_at": "2020-02-11T16:27:30.060383",
"is_edison_bill": false,
"snippet": "",
"accent": "0cc1b0",
"client_name": "Billeasy Store",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Feb 11",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/303/main_file.png",
"client_type": 1,
"bill_number": 0,
"client_id": 303,
"group_share_total": 0,
"five_asec_delivery_date": null,
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": null
}
},
{
"id": "25950",
"attributes": {
"total_amount": 100100,
"created_at": "2020-01-31T13:16:30.575756",
"is_edison_bill": false,
"snippet": "Lots Of Birthday Wishes",
"accent": "",
"client_name": "Billeasy Birthday store ",
"category": "utility",
"personal": true,
"shared": false,
"bill_date": "Jan 31",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/306/main_file.png",
"client_type": 1,
"bill_number": 0,
"client_id": 306,
"group_share_total": 0,
"five_asec_delivery_date": null,
"five_asec_payment_status": null,
"five_asec_delivery_status": null
}
},
{
"id": "25780",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-26T16:08:32.339826",
"is_edison_bill": false,
"snippet": "Oreo Cookie Cream",
"accent": "f68b33",
"client_name": "Mad Over Donuts",
"category": "F&B",
"personal": true,
"shared": true,
"bill_date": "Nov 26",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/307/main_file.png",
"client_type": 1,
"bill_number": 0,
"client_id": 307,
"group_share_total": 79.5,
"five_asec_delivery_date": null,
"five_asec_payment_status": null,
"five_asec_delivery_status": null
}
},
{
"id": "25779",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-26T16:01:01.064873",
"is_edison_bill": false,
"snippet": "Maharaja Mc Burger",
"accent": "fcb827",
"client_name": "Mc Donalds",
"category": "F&B",
"personal": true,
"shared": true,
"bill_date": "Nov 26",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/8/main_file.png",
"client_type": 1,
"bill_number": 0,
"client_id": 8,
"group_share_total": 79.5,
"five_asec_delivery_date": null,
"five_asec_payment_status": null,
"five_asec_delivery_status": null
}
},
{
"id": "25778",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-26T15:28:10.397372",
"is_edison_bill": false,
"snippet": "Kurta Short Basic (Cleaning & Ironing 135.00 Rs.) (* .Reserve Stains) (* .Without Guarantee)",
"accent": "448dc2",
"client_name": "5asec",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Nov 26",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/7/main_file.png",
"client_type": 1,
"bill_number": 727272,
"client_id": 7,
"group_share_total": 0,
"five_asec_delivery_date": "NA",
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": "DELIVERED"
}
},
{
"id": "25777",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-26T14:54:12.664119",
"is_edison_bill": false,
"snippet": "Kurta Short Basic (Cleaning & Ironing 135.00 Rs.) (* .Reserve Stains) (* .Without Guarantee)",
"accent": "448dc2",
"client_name": "5asec",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Nov 26",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/7/main_file.png",
"client_type": 1,
"bill_number": 727272,
"client_id": 7,
"group_share_total": 0,
"five_asec_delivery_date": "NA",
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": "DELIVERED"
}
},
{
"id": "25776",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-25T22:05:03.804352",
"is_edison_bill": false,
"snippet": "Kurta Short Basic (Cleaning & Ironing 135.00 Rs.) (* .Reserve Stains) (* .Without Guarantee)",
"accent": "448dc2",
"client_name": "5asec",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Nov 25",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/7/main_file.png",
"client_type": 1,
"bill_number": 888899,
"client_id": 7,
"group_share_total": 0,
"five_asec_delivery_date": "FROM 16H",
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": "NOT DELIVERED"
}
},
{
"id": "25775",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-25T21:20:00.269401",
"is_edison_bill": false,
"snippet": "Kurta Short Basic (Cleaning & Ironing 135.00 Rs.) (* .Reserve Stains) (* .Without Guarantee)",
"accent": "448dc2",
"client_name": "5asec",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Nov 25",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/7/main_file.png",
"client_type": 1,
"bill_number": 888809,
"client_id": 7,
"group_share_total": 0,
"five_asec_delivery_date": "FROM 16H",
"five_asec_payment_status": "NOT PAID",
"five_asec_delivery_status": "NOT DELIVERED"
}
},
{
"id": "25774",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-25T20:21:35.723911",
"is_edison_bill": false,
"snippet": "Kurta Short Basic (Cleaning & Ironing 135.00 Rs.) (* .Reserve Stains) (* .Without Guarantee)",
"accent": "448dc2",
"client_name": "5asec",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Nov 25",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/7/main_file.png",
"client_type": 1,
"bill_number": 888899,
"client_id": 7,
"group_share_total": 0,
"five_asec_delivery_date": "FROM 16H",
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": "NOT DELIVERED"
}
},
{
"id": "25773",
"attributes": {
"total_amount": 159,
"created_at": "2019-11-25T20:19:36.622908",
"is_edison_bill": false,
"snippet": "Kurta Short Basic (Cleaning & Ironing 135.00 Rs.) (* .Reserve Stains) (* .Without Guarantee)",
"accent": "448dc2",
"client_name": "5asec",
"category": "Shopping",
"personal": true,
"shared": false,
"bill_date": "Nov 25",
"client_logo": "https://billeasy-demo.s3.ap-south-1.amazonaws.com/uploads/client/company_logo/7/main_file.png",
"client_type": 1,
"bill_number": 888887,
"client_id": 7,
"group_share_total": 0,
"five_asec_delivery_date": "FROM 16H",
"five_asec_payment_status": "PAID",
"five_asec_delivery_status": "NOT DELIVERED"
}
}
],
"meta": {
"categories": [
{
"id": "1",
"name": "Shopping"
},
{
"id": "2",
"name": "Travel"
},
{
"id": "5",
"name": "F&B"
},
{
"id": "7",
"name": "utility"
},
{
"id": "8",
"name": "Entertainment"
},
{
"id": "11",
"name": "Uncategorized"
}
],
"links": {
"next_page": "?page=2",
"total_entries": 562,
"total_pages": 47
},
"is_mail_synced": true
}
}
{
"success": false,
"msg": "Error case",
"data": []
}
Last updated