Expenses are recognized when they’re “made” and not when they’re paid for. Well, unless you’re using cash basis of accounting when all you really do is account for all your transaction just when the money is moving from hand-to-hand. Presuming this is not the case, the other method of accounting, called “accrual basis of accounting” asks you to account for expenses when they’re incurred and not when they’re finally paid for.
So what does it really mean? You usually incur an expense when you receive the service or obtain this certain item you bought. It’s the time you’re consuming the benefits or obtaining the ownership of something and not when you actually pay for it. It’s when risks and rewards of owning the asset come over to you (i.e. when you’re responsible for the transport for an example, you’re already owning it). You get your commercial being aired in the radio in June and you get the invoice for the service in July, in your accounting the expense is recognized in June and not July. It’s always the period you received the service and not when you get the invoice or when you actually pay for it. It may be that you received an invoice for this very same commercial already in advance in May. This expense is still accounted for in June and before that the amount paid is just a prepaid expense on your balance sheet.
In accrual basis of accounting the expenses are always recognized when they incur (i.e. when you receive the service or obtain substantial ownership) rather than when they’re being paid for. Giving money is hardly an enough reason to say you received something whereas the act that you did says it all. Accounting for expenses in such a manner means your expense is strictly for the period and not relating to any other periods making it true and fair for someone interested in your period’s results.