Set up tax
configure_taxDecide how a store charges tax: mode "none", "manual" (your own manual_rates per country/region, as percentages), "gst_in" for Indian businesses (with gstin, gst_business_state and gst_rate_percent; CGST+SGST or IGST is worked out per order), or "stripe_tax". prices_include_tax says whether catalogue prices already include tax. Only the fields you pass change. Ask the user for their tax registration details — never invent a GSTIN or a rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "none", "manual" (your own rates per country/region), "gst_in" (India GST: CGST+SGST in-state, IGST across states) or "stripe_tax" (needs Stripe as the payment provider) | |
| gstin | No | mode "gst_in": the business GSTIN (15 characters), printed on invoices; null clears | |
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| manual_rates | No | mode "manual": the full list of rates (replaces the current list) | |
| gst_rate_percent | No | mode "gst_in": default GST rate, e.g. 18 | |
| gst_business_state | No | mode "gst_in": the state the business is registered in, e.g. "MH" — decides CGST+SGST vs IGST | |
| prices_include_tax | No | true when catalogue prices already include tax (common for India GST); tax is then shown, not added |