A supplemental device for attachment to an injection device including a dosage window (13) covering a sleeve on which dose values are marked is provided. The supplemental device comprises: a main body (20) an arrangement for supporting the main body of the supplemental device in a predetermined positional relationship with the injection device a transparent protection window (80) located at a surface of the main body that is aligned with the dosage window of the injection pen when in use and a sensor (25) arrangement supported in the main body and having a sensor directed at the protection window. The protection window has an optical power. The protection window may be a cylindrical lens or a toric lens.