In this case, i would Created a delayed credit and when the next bill comes, apply the delayed credit to the bill
For most cases, this type of occurence happens when the payment is being done after the Bank is finished recording all of its transactions.
Because of this, the actuall records will be shown on the next month rather than the curren month.