The Norwegian Tax Administration receives information from a number of sources. Employers are the most important source. They are obliged to deduct tax, pay it and provide information to the Tax Administration.
After the end of the income year (calendar year), your employer must send a statement to you detailing your pay and tax deducted in the income year.
Banks are also obliged to provide information.