The chambre des comptes was a financial court established in medieval France that was responsible for auditing the accounts of the king and the royal administration. This institution played a critical role in managing public finances, ensuring accountability, and maintaining control over royal expenditure, which was essential for the development of centralized governance in emerging medieval kingdoms.