Get Order Tax Breakdown
get_order_tax_breakdownRetrieve tax rates and amounts applied to a Magento order by increment_id, reading persisted sales_order_tax data without recalculation.
Instructions
Returns tax rates and amounts applied to an order by increment_id. Does NOT recalculate tax — reads persisted sales_order_tax rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Override the MAGENTO_SQL_PROFILE env var for this call only. Use list_connection_profiles to see available names. | |
| magentoRoot | No | Absolute path to the Magento root (must contain app/etc/env.php). Defaults to MAGENTO_ROOT env var or auto-discovery. | |
| increment_id | Yes | Sales order increment_id (e.g. '000000123'). Use find_order_by_increment_id instead of raw SQL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| rows | Yes | ||
| sampled | No | ||
| rowCount | Yes | ||
| truncated | No |