To naboer, to satser
To adresser 700 meter fra hinanden, på hver sin side af Yosemite Street. Den ene ligger i Denver, den anden i Aurora, og hver by, county og distrikt lægger sin egen afgift oveni. Amerikansk lokalafgift følger de grænser, ikke postnumrene, så API'et placerer en gadeadresse præcist på taget.
API'ets svar
{
"id": "calc_v397Oy2wrj3LjOsNaMuyDP",
"object": "calculation",
"livemode": false,
"status": "preview",
"seller": "sel_example",
"currency": "USD",
"pricing": "exclusive",
"date": "2026-12-01",
"rounding": "line",
"marketplace": false,
"customer": {
"id": null,
"type": "consumer",
"address": {
"country": "US",
"subdivision": "US-CO",
"postal_code": "80220"
},
"tax_id": null,
"purchaser": null,
"treated_as": "consumer",
"location": {
"precision": "address",
"source": "geocodio",
"rooftop_available": true
}
},
"customer_tax_id": null,
"warnings": [],
"totals": {
"net": "100.00",
"tax": "9.15",
"gross": "109.15"
},
"tax_in_local_currency": null,
"lines": [
{
"id": "1",
"amount": "100.00",
"quantity": 1,
"category": "goods",
"category_assumed": false,
"commodity_code": null,
"delivery": null,
"treatment": "standard",
"jurisdiction": "US-CO",
"rate": "9.15",
"rate_kind": "standard",
"net": "100.00",
"tax": "9.15",
"gross": "109.15",
"tax_shown_on_invoice": true,
"margin_scheme": null,
"confident": true,
"confidence": "authoritative",
"reason": "US sales tax: 9.15% in US-CO.",
"invoice_mentions": [],
"limits": [],
"open_facts": [],
"portions": [],
"breakdown": [
{
"authority": "Colorado",
"level": "state",
"code": "us:CO",
"rate": "2.9",
"taxable": "100.00",
"tax": "2.90"
},
{
"authority": "Denver",
"level": "city",
"code": "us:CO:CITY-DENVER",
"rate": "5.15",
"taxable": "100.00",
"tax": "5.15"
},
{
"authority": "Regional Transportation District",
"level": "special_district",
"code": "us:CO:DISTRICT-RTD",
"rate": "1",
"taxable": "100.00",
"tax": "1.00"
},
{
"authority": "Scientific and Cultural Facilities District",
"level": "special_district",
"code": "us:CO:DISTRICT-CD",
"rate": "0.1",
"taxable": "100.00",
"tax": "0.10"
}
],
"source": {
"release": "2026.11.24-512",
"effective_from": "2001-01-01",
"section_hash": "da705cb9eb7692acedcaec4be6965c8f3c9b97ac42e341a4ba7d2ff3365e8904"
}
}
],
"needs_review": false,
"release": "2026.11.24-512",
"engine": "laravel-tax v0.23.1",
"expires_at": "2027-03-01T01:25:00Z",
"created_at": "2026-12-01T01:25:00Z"
}
API'ets svar
{
"id": "calc_RoGwxX0UjMYmM4hylvf7tC",
"object": "calculation",
"livemode": false,
"status": "preview",
"seller": "sel_example",
"currency": "USD",
"pricing": "exclusive",
"date": "2026-12-01",
"rounding": "line",
"marketplace": false,
"customer": {
"id": null,
"type": "consumer",
"address": {
"country": "US",
"subdivision": "US-CO",
"postal_code": "80010"
},
"tax_id": null,
"purchaser": null,
"treated_as": "consumer",
"location": {
"precision": "address",
"source": "geocodio",
"rooftop_available": true
}
},
"customer_tax_id": null,
"warnings": [],
"totals": {
"net": "100.00",
"tax": "8.00",
"gross": "108.00"
},
"tax_in_local_currency": null,
"lines": [
{
"id": "1",
"amount": "100.00",
"quantity": 1,
"category": "goods",
"category_assumed": false,
"commodity_code": null,
"delivery": null,
"treatment": "standard",
"jurisdiction": "US-CO",
"rate": "8",
"rate_kind": "standard",
"net": "100.00",
"tax": "8.00",
"gross": "108.00",
"tax_shown_on_invoice": true,
"margin_scheme": null,
"confident": true,
"confidence": "authoritative",
"reason": "US sales tax: 8% in US-CO.",
"invoice_mentions": [],
"limits": [],
"open_facts": [],
"portions": [],
"breakdown": [
{
"authority": "Colorado",
"level": "state",
"code": "us:CO",
"rate": "2.9",
"taxable": "100.00",
"tax": "2.90"
},
{
"authority": "Arapahoe",
"level": "county",
"code": "us:CO:COUNTY-ARAPAHOE",
"rate": "0.25",
"taxable": "100.00",
"tax": "0.25"
},
{
"authority": "Aurora",
"level": "city",
"code": "us:CO:CITY-AURORA",
"rate": "3.75",
"taxable": "100.00",
"tax": "3.75"
},
{
"authority": "Regional Transportation District",
"level": "special_district",
"code": "us:CO:DISTRICT-RTD",
"rate": "1",
"taxable": "100.00",
"tax": "1.00"
},
{
"authority": "Scientific and Cultural Facilities District",
"level": "special_district",
"code": "us:CO:DISTRICT-CD",
"rate": "0.1",
"taxable": "100.00",
"tax": "0.10"
}
],
"source": {
"release": "2026.11.24-512",
"effective_from": "2001-01-01",
"section_hash": "da705cb9eb7692acedcaec4be6965c8f3c9b97ac42e341a4ba7d2ff3365e8904"
}
}
],
"needs_review": false,
"release": "2026.11.24-512",
"engine": "laravel-tax v0.23.1",
"expires_at": "2027-03-01T01:25:00Z",
"created_at": "2026-12-01T01:25:00Z"
}