The New Book of Tang, Volume 46, "Treatise on the Hundred Officials I," gives this summary of Tang-era positions and ranks: Government offices were divided into ministries, observatories, bureaus, directorates, guards, and prefectures, each overseeing its own departments and assigning duties and positions. Under the Tang system, there were merit titles, ranks, offices, and peerages. Peerage determined status, office divided up duties, rank recorded service, and merit titles recorded achievements. These four categories were independent: some held low offices and peerages but high merit titles and ranks, while others held low merit titles and ranks but high offices and peerages. In Song dynasty titles, when a person's rank was higher than their office, the title included "acting"; when their rank was lower than their office, it included "concurrent"; when office and rank were equal, neither term was used. The current system determines status solely by office: one's merit title, rank, and peerage follow from one's office, with no further distinction for service or achievement. The Qing dynasty, meanwhile, used a greatly simplified system of honorary ranks, with just eighteen grades, from the first rank, upper class, to the ninth rank, lower class.
Thank you so much, author! The information was very useful!