The self-assessment tax is required to be paid before filing the income tax return. If you fail to do that, the return will be defective and the same will not be processed by the department.