What happens if I file an automatic debit order on the last day of the time limit for paying a particular fee?

Payment of the fee concerned is considered to have been received on that day (point 4.1 AAD).