Danh sách hoá đơn

URL: {host}/api/invoices

Method: GET

Header:

Path Parameters:

Response :

{
    "success": true,
    "data": {
        "items": [
            {
                "invoice": {
                    "date": "2023-06",
                    "invoice_number": 641115,
                    "total_money": 798000,
                    "type": "retail",
                    "status": "pending"
                }
            },
            {
                "invoice": {
                    "date": "2022-11",
                    "invoice_number": 770197,
                    "total_money": 399000,
                    "type": null,
                    "status": "pending"
                }
            },
            {
                "invoice": {
                    "date": "2021-12",
                    "invoice_number": 0,
                    "total_money": 0,
                    "type": null,
                    "status": "paid"
                }
            }
        ],
        "total": 3,
        "current_page": 1,
        "last_page": 1
    }
}

Last updated