The expenses you mentioned are about business costs or expenses, which can be used to reduce your business income...
The tax is generally based on your business income; if this business is a self-employment type, the business income (loss) can be reported as one of your personal incomes or losses... then, comes to the tax on your personal income..