The income summary account is a transitional account into which all income statement revenue and expense accounts are transferred at the end of an accounting period. The net amount transferred into the income summary account equals the net profit or loss that the business incurred during the period. Thus, shifting revenue out of the income statement means debiting the revenue account for the total amount of revenue recorded in the period, and crediting the income summary account.
Likewise, shifting expenses out of the income statement requires you to credit all of the expense accounts for the total amount of expenses recorded in the period, and debit the income summary