delete_bill_item
Delete a product item from an unpaid or unissued bill by providing invoice and product IDs. Get confirmation or error in JSON.
Instructions
Deletes an existing item from an unpaid/unissued bill.
Args:
invoice_no: Invoice Number of the bill
prod_id: Id of the product (must be a positive value)
Returns:
A confirmation message or an error message in json format if the request fails.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_no": "<invoice_no>",
"prod_id": "<prod_id>"
},
"name": "delete_bill_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prod_id | Yes | ||
| invoice_no | Yes |