California Sales Tax Allocations
We have monthly sales tax allocation data for every city, county, and special district dating back to ~2018.
#The allocation model
The allocation model represents a monthly sales tax allocation made by the CDTFA to a local taxing authority. This resource combines data from the Monthly Statement and the Quarterly Allocations reports into a cohesive monthly datapoint.
-
dates.allocation_perioddate - The month in which this allocation was released to the locality
-
dates.revenue_perioddate - The month in which this allocation was reported to the locality
-
dates.sales_perioddate - The month in which the sale occurred
-
dates.formattedstring - A human readable version of the value in
dates.allocation_period -
dates.quarterinteger - The fiscal quarter (1-4)
-
jurisdictionJurisdiction - A Jurisdiction model representing the taxing entity
-
net_paymentdecimal - The net payment made to the taxing entity
-
current_distributionsdecimal - The amount distributed to the jurisdiction from local sales occurring in
dates.sales_period -
current_advancedecimal - The amount of local and county payments from quarterly taxpayers advanced to the jurisdiction
-
countywide_pooldecimal - The amount allocated from the county pool (only available at the end of the quarter)
-
countywide_pool_percentagedecimal - The percentage allocated from the county pool (only available at the end of the quarter)
-
statewide_pooldecimal - The amount allocated from the state pool (only available at the end of the quarter)
-
statewide_pool_percentagedecimal - The percentage allocated from the state pool (only available at the end of the quarter)
-
county_sharedecimal - The amount of local payments allocated to the county based on the jurisdiction's sharing agreement (only available at the end of the quarter)
-
net_prior_allocationsdecimal - The net amount advanced in the previous months of this quarter (only available at the end of the quarter)
-
administrative_costdecimal - The amount paid by the jurisdiction to CDTFA for administrative costs (only available at the end of the quarter)
-
other_adjustmentsdecimal - The total of any other adjustments (only available at the end of the quarter)
-
deltasobject - Year-over-year changes for each numeric field above
-
trendsobject - Rolling trend analysis for each numeric field above
-
ytdobject - Year-to-date totals for each numeric field above
GET
/api/ca/sales-tax/allocations
#List all allocations
This endpoint allows you to retrieve a paginated list of all allocations in the database. By default, a maximum of 25 allocations are shown per page.
Optional parameters
-
jurisdictionsstring - A comma-separated list of jurisdiction IDs for filtering allocations
-
allocation_perioddate - Filter to a specific allocation period. Format: YYYY-MM-DD
-
betweenstring - A comma-separated set of dates for filtering allocations. Format: YYYY-MM-DD,YYYY-MM-DD
-
sincedate - Filter for allocations after a certain date (inclusive). Format: YYYY-MM-DD
-
sortstring - Sort the results by a given field. Prefix with
-for descending order. Allowed fields:allocation_period,net_payment,current_distributions,current_advance,countywide_pool(orcounty_pool),statewide_pool(orstate_pool),county_share,net_prior_allocations. You can also sort by nested relation fields using dot notation:deltas.{field},trends.{field},ytd.{field}(e.g.-deltas.net_payment). Nested sorts accept every field above exceptallocation_period -
limitinteger - Limit the number of allocations returned. Default: 25
Request
GET
/api/ca/sales-tax/allocations
curl -G https://open.zactax.com/api/ca/sales-tax/allocations \
-H "Authorization: Bearer {token}" \
-d jurisdictions=1234 \
-d limit=1
const response = await fetch('https://open.zactax.com/api/ca/sales-tax/allocations?jurisdictions=1234&limit=1', {
headers: {
'Authorization': 'Bearer {token}'
}
});
const data = await response.json();
Response
{
"data": [
{
"dates": {
"allocation_period": "2024-02-01",
"revenue_period": "2024-01-01",
"sales_period": "2023-12-01",
"formatted": "February 2024",
"quarter": 1
},
"jurisdiction": {
"id": 1234,
"name": "Los Angeles, California",
"slug": "los-angeles-california",
"state": "ca",
"type": "city",
"sales_tax_rate": 0.0225,
"sales_tax_id": "LA001"
},
"net_payment": 52341567.89,
"current_distributions": 48234567.00,
"current_advance": 4107000.89,
"countywide_pool": 0,
"countywide_pool_percentage": 0,
"statewide_pool": 0,
"statewide_pool_percentage": 0,
"county_share": 0,
"net_prior_allocations": 0,
"administrative_cost": 0,
"other_adjustments": 0,
"deltas": {
"net_payment": 0.0534,
"current_distributions": 0.0612
},
"trends": {
"net_payment": 50123456.78,
"current_distributions": 46234567.00
},
"ytd": {
"net_payment": 104683135.78,
"current_distributions": 96469134.00
}
}
],
"links": {
"first": "...",
"last": "...",
"prev": null,
"next": "..."
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 100,
"per_page": 25,
"to": 1,
"total": 1
}
}