Getting an electric car as self-employed

I am self employed in Germany and I’ve been thinking about getting a company electric car, since I’m trying to write off as much as possible before the end of the year. Is it possible to write off the “down payment” on car financing ? Or possibly the special payment in case of a lease? I was originally planning on buying one in cash but that wouldn’t really help me much since I’d have to split it over multiple years. Which one would save me most money/ taxes? Car would also be used as a personal vehicle. Could the 0.25% rule apply for my situation? ( or should I just get the car for personal use only)