Gets a tax rule.
Name | Description | Additional information |
---|---|---|
taxRuleId | The ID of the tax rule. |
Define this parameter in the request URI. |
Name | Description | Usage |
---|---|---|
taxClass | This will retrieve the related tax class. | GET taxrules/{taxRuleId}?expand=taxclass |
taxRuleType | This will retrieve the related tax rule type. | GET taxrules/{taxRuleId}?expand=taxruletype |
If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.
{
"TaxRule": {
"CountryCode": "US",
"CountyFips": "",
"CountyName": null,
"Custom1": "",
"Custom2": "",
"Custom3": null,
"ExternalId": null,
"Gst": 0.00,
"Hst": 0.00,
"IsInclusive": false,
"PortalId": 1,
"Precedence": 1,
"Pst": 0.00,
"SalesTax": 5.00,
"StateCode": "OH",
"TaxClass": null,
"TaxClassId": 1,
"TaxRuleId": 18,
"TaxRuleType": null,
"TaxRuleTypeId": 1,
"TaxShipping": false,
"Vat": 0.00
},
"ErrorCode": null,
"ErrorMessage": null,
"StackTrace": null,
"AllowHtmlResponse": false,
"HasError": false,
"StringResponse": null
}