I think it’s Finland. I’m in Sweden and I’m almost sure that my compensation is not public. What you can do IIRC is to request a credit check on someone which would contain the income and the tax paid but then the person is notified who requested the data. Typically this is done when you apply for a mortgage.