GAAP guidelines require businesses to prepare financial statements according to the principles using the accrual basis accounting. Because the objective is to ensure that expenses match with revenues, expenses are reported in the period in which the expense is incurred regardless of when the expense is paid.
For an example if a company wants to do business, they must show their revenues before starting it. They must follow the GAAP guidelines to do any financial activity.