When filing a Trust return, what yr do I enter the Trustee fee? The yr of the associated tax return? (which is actually Feb. of the sub. yr when the 1099-INT is rec’d).

When I file an annual Fed Tax return for a Trust I list my Trustee’s fee as an expense. But my 2022 Trustee fee isn’t known and paid until Feb 2023 (for the 2022 Federal Tax Return) after I get the banks 1099-INT form.  I would think anything after 31 Dec would be accounted for on the following years tax return. But that doesn’t make sense either. That means I would file the 2022 Federal Return with the 2021 Trustee Fee because it was technically paid February 2022. Can anyone give me any insight into what to do?