New Raw Bill

This is the new raw bill with request and response adjusted with the same error codes but with proper message bifurcations. Logging in-case of API breakage with message response is recommended.

Create Bill

POST https://node-staging.billeasy.in/api/v1/rawBills/createRawBill

This endpoint allows you to create bill.

Headers

Name
Type
Description

x-api-secret

string

Content-type

string

x-api-access

string

Authentication token to track down who is emptying our stocks.

Request:
{
   "raw_bills":{
      "offer_ids":[

      ],
      "store_uuid":"1c0bd064-fe0f-440e-969f-124257423ffc",
      "terminal_uuid":"ea299ac8-ee0e-450e-a79e-b272e906dfb3",
      "customer_id":"767",
      "data":{
         "tax":"5.42",
         "total":"108.56",
         "discount":"0.00",
         "grand_total":"113.98",
         "particulars":{
            "value":[
               "0.00",
               "0.00"
            ],
            "amount":[
               "37.14",
               "71.42"
            ],
            "quantity":[
               "1",
               "1"
            ],
            "description":[
               "Pizza Puff",
               "Chicken Strips 2 pcs"
            ]
         },
         "order_number":"1406",
         "bill_creation_method":"Skip"
      }
   }
}


Response:

{
    "success": true,
    "msg": "Bill created",
    "data": {
        "raw_bill_id": 30646
    }
}

Last updated