Calculate GST
calculate_gstCalculate Indian GST on an amount, exact to the paisa: add GST to a price before tax, or take it out of a GST-inclusive price, split into CGST + SGST (sale within a state) or IGST (between states).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in rupees, e.g. 1000 or "2499.50". | |
| supply | No | intra_state (CGST + SGST, the default) or inter_state (IGST). | |
| rate_percent | Yes | GST rate in percent, e.g. 5, 18 or 40. | |
| price_includes_gst | No | true if the amount already includes GST (default false: GST is added on top). |