Revenue from the sales tax in New York continued its upward march in July as consumers paid higher prices than they did a year ago.

Comptroller Tom DiNapoli's office on Tuesday reported sales tax collections increased by 11.9% last month compared to the same time in 2021 as inflation continues to take a bigger bite out of wallets, but many consumers are not pulling back on spending.

Local collections reached $1.8 billion, an increase of $188 million from July 2021.

“Statewide local sales tax collections growth continued to be strong in July, despite the participation of many counties in the gas tax holiday,” DiNapoli said. “However, it is important that local officials continue to monitor economic factors that impact overall sales tax revenues."

One of the largest gains were seen in New York City, which increased by 19.5% over the last year to reach $776 million. Schuyler County also saw a 19.6% increase over July 2021.

A majority of counties saw year-over-year sales tax revenue growth, DiNapoli's office said. Monroe County saw the largest decline in sales tax revenue, dropping by 4.6%.

Consumer prices did not increase as quickly as they have this year in July, offset in part by a reduction in gas prices. Many county governments have suspended their sales tax for gasoline purchases in tandem with New York dropping about 17 cents per gallon in gasoline taxes.