Different buses have different routes, and hence pricing and duration of the journey changes depending on the route taken. Also, most buses charge the full journey fare although your destination might be different. For example, if you want to travel to Kandy from Colombo, a Colombo-Matale bus will show the fare charged up to Matale although you get off in Kandy.