List every rule
curl --request GET \
--url https://api.centsless.org/api/v1/jurisdictionsconst options = {method: 'GET'};
fetch('https://api.centsless.org/api/v1/jurisdictions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/jurisdictions"
response = requests.get(url)
print(response.text){
"success": true,
"total": 123,
"data_source": "<string>",
"federal_default": {
"lookup_key": "NC",
"jurisdiction_id": "US-NC",
"jurisdiction_level": "federal",
"rounding_mode": "symmetrical_rounding",
"enforcement": "mandatory",
"status": "enacted",
"obligation": "obligates",
"legislation": "<string>",
"session_law": "<string>",
"citation": "<string>",
"enacted_date": "2023-12-25",
"effective_date": "2023-12-25",
"sunset_date": "2023-12-25",
"time_zone": "America/New_York",
"scope": "<string>",
"tender": "<string>",
"directions": [
"<string>"
],
"tax_on_pre_rounded": true,
"small_total_rule": {},
"refund_policy": "same_rule",
"notice_required": true,
"accepted_transaction_types": [
"<string>"
],
"tiers": [
{
"tier_id": "NC-TAX",
"tier_name": "<string>",
"transaction_type": "<string>",
"transaction_types": [
"<string>"
],
"rounding_mode": "symmetrical_rounding",
"enforcement": "<string>",
"obligation": "obligates",
"citation": "<string>",
"effective_date": "2023-12-25",
"sunset_date": "2023-12-25",
"description": "<string>",
"applies_to": "<string>"
}
],
"activation_conditions": [
{
"type": "local_adoption",
"satisfied": true,
"basis": "<string>",
"note": "<string>"
}
],
"geoid": "<string>",
"engine_supported": true,
"instrument": "<string>",
"evidence_tier": "<string>",
"source_url": "<string>",
"verification": "primary_source",
"dataset_version": "<string>",
"notes": "<string>"
},
"jurisdictions": {}
}Jurisdiction
List every rule
GET
/
jurisdictions
List every rule
curl --request GET \
--url https://api.centsless.org/api/v1/jurisdictionsconst options = {method: 'GET'};
fetch('https://api.centsless.org/api/v1/jurisdictions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.centsless.org/api/v1/jurisdictions"
response = requests.get(url)
print(response.text){
"success": true,
"total": 123,
"data_source": "<string>",
"federal_default": {
"lookup_key": "NC",
"jurisdiction_id": "US-NC",
"jurisdiction_level": "federal",
"rounding_mode": "symmetrical_rounding",
"enforcement": "mandatory",
"status": "enacted",
"obligation": "obligates",
"legislation": "<string>",
"session_law": "<string>",
"citation": "<string>",
"enacted_date": "2023-12-25",
"effective_date": "2023-12-25",
"sunset_date": "2023-12-25",
"time_zone": "America/New_York",
"scope": "<string>",
"tender": "<string>",
"directions": [
"<string>"
],
"tax_on_pre_rounded": true,
"small_total_rule": {},
"refund_policy": "same_rule",
"notice_required": true,
"accepted_transaction_types": [
"<string>"
],
"tiers": [
{
"tier_id": "NC-TAX",
"tier_name": "<string>",
"transaction_type": "<string>",
"transaction_types": [
"<string>"
],
"rounding_mode": "symmetrical_rounding",
"enforcement": "<string>",
"obligation": "obligates",
"citation": "<string>",
"effective_date": "2023-12-25",
"sunset_date": "2023-12-25",
"description": "<string>",
"applies_to": "<string>"
}
],
"activation_conditions": [
{
"type": "local_adoption",
"satisfied": true,
"basis": "<string>",
"note": "<string>"
}
],
"geoid": "<string>",
"engine_supported": true,
"instrument": "<string>",
"evidence_tier": "<string>",
"source_url": "<string>",
"verification": "primary_source",
"dataset_version": "<string>",
"notes": "<string>"
},
"jurisdictions": {}
}
