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 determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
A person is sponsoring an orphan and pays the sponsorship monthly. Is it permissible to pay this month's sponsorship from zakat money?
It is permissible to pay the orphan's sponsorship from zakat money if the orphan is poor and has no one to support them. The person must intend to count it as part of their zakat when paying the money. And Allah Knows Best.
I prayed while I was in the hospital after a bladder surgery, and my urine was connected to me and could not be disconnected that day. I prayed after performing tayammum with my finger because I was unable to stand. What is the ruling?
After Allah grants you complete healing, make up the prayers you performed with your finger to the best of your ability, at times that suit you. And Allah Knows Best.