calc_gst_liability
Calculate GST liability for an invoice from line items, state details, and dates, returning per-line CGST/SGST or IGST, cess, and reverse-charge totals.
Instructions
Compute GST for an invoice. invoice is a JSON object (or file path)
with lines: [{description, hsn_sac, quantity, unit_price, discount,
place_of_supply_state, supplier_state, reverse_charge, on_date(optional
ISO date)}]. Returns per-line tax and totals (CGST/SGST or IGST, cess,
reverse-charge liability).
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": "<invoice>"
},
"name": "calc_gst_liability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes |