Trying to prepare a sales invoice by using api with the below json object. the price list rate of the item is 39.
Before submitting the sales invoice
{
“item_code”: “ITEM002”,
“qty”: 1,
“rate”: 39,
“discount_amount”: 7,
“amount”: 32
}
after submitting the sales invoice
{
“item_code”: “ITEM002”,
“qty”: 1,
“rate”: 32,
“discount_amount”: 7,
“amount”: 32
}
After submitting system setting the rate and amount as 32, whats wrong in above ?
how to avoid setting rate