Dcove
  1. transactional
Dcove
  • master
    • Stores**
      POST
    • Article Batches
      POST
    • Article Eans
      POST
    • Article Master**
      POST
    • Article Supplier Mapping**
      POST
    • DC - Store Mapping**
      POST
    • Manufacturer
      POST
    • Purchase Returns
      POST
    • Wastages
      POST
    • Supplier Master**
      POST
    • Supplier Contacts
      POST
    • Production Pipeline Execution
      POST
    • Kit Master
      POST
    • Bulk Repack Master
      POST
    • Article Uom Master
      POST
    • Supplier WalkIns
      POST
    • Article Pricing Master
      POST
    • Article Store Limits
      POST
    • Current Stock**
      POST
    • Stores As Suppliers
      POST
    • Stock Location**
      POST
    • Customer Master
      POST
    • Company Group
      POST
    • Hierarchy Headers**
      POST
    • Hierarchy Details**
      POST
    • Article Hierarchy**
      POST
    • Article Attributes
      POST
    • ArticleGateKeeperMargin
      POST
  • transactional
    • Stock Ledger**
      POST
    • Bill Header**
      POST
    • Bill Detail**
      POST
    • Invoices Header**
      POST
    • Invoices Detail**
      POST
    • Supplier Invoice Acknowledgement
      POST
    • Purchase Order Header**
      POST
    • Purchase Order Detail
      POST
    • Transfer In Header**
      POST
    • Transfer In Detail**
      POST
    • Transfer Out Header**
      POST
    • Transfer Out Detail**
      POST
    • Transfer Advice Header
      POST
    • Transfer Advice Detail
      POST
  1. transactional

Bill Header**

POST
/tx/bill_header/
transactional
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

Query Params
full_sync
boolean 
optional
Whether the data should be synced in an incremental manner or completely. Defaults to false.
Header Params
X-SYNC-TOKEN
string 
required

<sync_token>

Accept-Encoding
string 
required
gzip (mandatory)
Body Params application/json
array of:
store_id
string 
required
bill_no
string 
required
sale_date
string <date>
required
bill_total_amount
number <double>
required
created_at
string <date-time>
required
customer_store_code
string 
required
Example
[
    {
        "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 samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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

🟢200OK
application/json
Successful Sync
Body
status
string 
optional
message
string 
optional
Example
{
    "status": "string",
    "message": "string"
}
🟠403Forbidden
🟠405405
Previous
Stock Ledger**
Next
Bill Detail**
Built with