The matching principle states that all costs associated with the generation of revenue should be recorded in the same period as when the revenue is earned. This allows companies to more accurately measure their performance and profitability by matching their associated expenses with the revenues generated from them.