Run in Apidog 
This model captures your bills at the store level. This is the actual digital representation of bills your store tills capture at the time of billing. Each bill is uniquely identified given the bill number and store number. 
Request Body Params   application/json 
[ 
    { 
        "store_id" :  "string" , 
        "bill_no" :  "string" , 
        "sale_date" :  "2019-08-24" , 
        "bill_total_amount" :  0 , 
        "created_at" :  "2019-08-24T14:15:22Z" , 
        "customer_store_code" :  "string" 
    } 
] Request Code Samples 
curl  --location  --request  POST 'https://test.your-api-server.com/tx/bill_header/'  \
--header  'X-SYNC-TOKEN;'  \
--header  'Accept-Encoding;'  \
--header  'Content-Type: application/json'  \
--data-raw  '[
    {
        "store_id": "string",
        "bill_no": "string",
        "sale_date": "2019-08-24",
        "bill_total_amount": 0,
        "created_at": "2019-08-24T14:15:22Z",
        "customer_store_code": "string"
    }
]' Responses 
{ 
    "status" :  "string" , 
    "message" :  "string" 
} 
Modified at  2025-02-10 12:39:04