Taxes > Tax Rules
Commerce APITaxesTax Rules

Tax Rules

Tax rules enable you to tailor how tax is computed for an order. You have the option to utilize our integrated tax engine for tax calculations. Alternatively, external tax services like TaxJar or Avalara can be employed. These services offer a great advantage when dealing with intricate tax structures, such as in the United States, or when operating across numerous tax jurisdictions, thus minimizing compliance complexities.

Endpoints

EndpointDescriptionJSON API
taxRulesGet tax rulesGET:tax_rules.json
taxRulesAddDefaultAdd default tax rulesPOST:tax_rules/add_default.json
taxRulesCreateCreate tax rulesPOST:tax_rules.json
taxRulesDeleteDelete tax rulesDELETE:tax_rules.json
taxRulesExportExport tax rulesPOST:tax_rules/export.json
taxRulesGraphGet tax rules graphGET:tax_rules/graph.json
taxRulesGraphCreateCreate or modify tax rules graphPOST:tax_rules/graph.json
taxRulesImportImport tax rulesPOST:tax_rules/import.json
taxRulesLookupLookup tax rulesGET:tax_rules/lookup.json
taxRulesModifyModify tax rulesPOST:tax_rules.json

Types

Types
ForeignShardedTask
GenericExport
GenericImport
TaxRule
TaxRuleCreate
TaxRuleLookupResult
TaxRuleModify
TaxRulesGraph
TaxRulesGraphCreate