Please do not open the file by double-clicking – Excel may then display Polish characters incorrectly and remove leading zeros.
In an empty workbook choose Data › From Text/CSV, set the file origin to Unicode (UTF-8) and the delimiter to semicolon. It is worth setting the NIP, REGON, KRS and postcode columns as text, then confirm with Load. In LibreOffice Calc the import dialog opens automatically.