when you create an expense you give it a date. Usually it’s the date of the invoice for the expense. And when this invoice is paid, you set it to paid and the payment-date.
I get vat back for every item I bought for my business. And therefore I need a list of the expenses (and payments, too) including vats/taxes. But only those one, which are paid in the respective month.