Gst From Inclusive
gst_from_inclusiveExtract GST from a tax-inclusive amount by supplying the gross MRP and slab rate to split out the base price and tax component.
Instructions
Extract GST out of a tax-inclusive (MRP-style) amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Gross amount that already includes GST. | |
| rate_percent | Yes | GST slab rate - one of 0.25, 3, 5, 12, 18, 28. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||