It's standard policy that the banks will only take cash payments between the hours of 8.30 and 11.00am Monday to Thursday. Even if it's your own bank, if you want to do transactions outside those hours, you have to do them by card or present your bank book so the funds can come directly out of the account.
I had a problem last year, paying the SUMA for my car, and my neighbour's, who was in the UK at the time. He'd left me the cash, as his bill hadn't arrived before they returned to the UK. After two days of queueing, only to find the cash payments stopped before I reached the front desk, I went into my own bank, paid his cash into my account, then paid both SUMA bills directly from the account. Crazy, I know, but that's how they do it here.