I work in an accounting and auditing office, and among the clients of the office are restaurants, hotels, and supermarkets that sell alcohol. Our work is limited to collecting invoices, whether purchases, sales, or expenses, and recording them in daily books. We also review income and sales taxes on behalf of these clients.
You are more knowledgeable about the nature of your work. If you see it as assisting in wrongdoing, then it is forbidden, as Allah The Exalted Says (What means): "And cooperate in righteousness and piety, but do not cooperate in sin and aggression" [Al-Ma’idah/2]. However, if your work is merely documenting the reality, then I hope there is no sin upon you. The the pious predecessors (Salaf) used to take the tithe from the traders of the People of the Book, even if it included alcohol, after knowing the value of their goods. And Allah The Almighty Knows Best.
What is the ruling on swearing on the Holy Quran and breaking that oath?
It is impermissible to swear on the Holy Quran in vain, and it is also impermissible to subject it to such an act since breaking the oath after swearing on the Quran entails an expiation.
What is the ruling on reciting verses from the Qur'an over water, drinking it, and using it to break magic spells, heal illnesses, or burn jinn?
There is no harm on reciting verses of the Holy Qur'an over water and use it for cure. And Allah Knows Best.
Is it permissible for one to masturbate in order not to commit fornication?
This is called committing the milder of the two evils such as eating a carcass in fear of death, and this happens when committing fornication is very likely to occur.