Rising tax receipts and lower public sector interest payments offset higher spending on public services, the Office for National Statistics said.