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

Invoices Detail**

POST
/tx/invoice_detail/
transactional
Line level information for each GRN from your suppliers.

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
article_id
string 
required
mrc_no
string 
required
sl_no
number 
required
pack_size
number <int64>
required
1 if not applicable. In the case of pharmacy, purchase entries can be made by strips rather than individual units.
Default:
1
received_qty
number <double>
required
Total quantity received. Includes free quantity.
free_qty
number <double>
required
Quantity that is given for free by the supplier.
Default:
0
mrp
number <double>
required
final_selling_price
number <double>
required
Unit sale price of the article after all pricing rules(tax, selling_discounts, mark up/down) are applied.
cp_per_unit_without_tax
number <double>
required
Unit gross price of the article as billed this instance by the supplier. Does not include tax.
discount_perc
number <double>
required
Percentage discount if provided by the supplier.
Default:
0
tax_perc
number <double>
required
expiry_date
string <date>
required
Expiry date post which the invoice is considered closed. Pending items will be considered as undelivered.
batch_no
string 
optional
Batch ID for the article.
created_at
string <date-time>
required
Example
[
    {
        "store_id": "string",
        "article_id": "string",
        "mrc_no": "string",
        "sl_no": 0,
        "pack_size": 1,
        "received_qty": 0,
        "free_qty": 0,
        "mrp": 0,
        "final_selling_price": 0,
        "cp_per_unit_without_tax": 0,
        "discount_perc": 0,
        "tax_perc": 0,
        "expiry_date": "2019-08-24",
        "batch_no": "string",
        "created_at": "2019-08-24T14:15:22Z"
    }
]

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/invoice_detail/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "store_id": "string",
        "article_id": "string",
        "mrc_no": "string",
        "sl_no": 0,
        "pack_size": 1,
        "received_qty": 0,
        "free_qty": 0,
        "mrp": 0,
        "final_selling_price": 0,
        "cp_per_unit_without_tax": 0,
        "discount_perc": 0,
        "tax_perc": 0,
        "expiry_date": "2019-08-24",
        "batch_no": "string",
        "created_at": "2019-08-24T14:15:22Z"
    }
]'

Responses

🟢200OK
application/json
Successful Sync
Body
status
string 
optional
message
string 
optional
Example
{
    "status": "string",
    "message": "string"
}
🟠403Forbidden
🟠405405
Previous
Invoices Header**
Next
Supplier Invoice Acknowledgement
Built with