Legal analysis: traffic police can't issue a ticket when scanning the health code. Traffic police only issue tickets and fines for illegal vehicles, and are not allowed to scan health codes. The traffic police must first have the law enforcement qualification to issue a ticket, that is, they must bring a police officer's card, a standard police uniform, a big hat, a police badge and a law enforcement certificate. The traffic police will record the vehicle driving license and the driver's driving license, issue a penalty decision for violation of regulations, and ask the violator to sign it. To deduct the driver's license, open a seizure voucher for the offenders to sign and tell them to handle the seizure according to the address of the seizure voucher.
Legal basis: Article 107 of the Road Traffic Safety Law of the People's Republic of China gives a warning to road traffic violators and imposes a fine of not more than 200 yuan. The traffic police can make a decision on administrative punishment on the spot and issue a written decision on administrative punishment. The written decision on administrative punishment shall specify the illegal facts of the parties, the basis of administrative punishment, the content, time and place of punishment and the name of the punishment organ, and shall be signed or sealed by law enforcement officers.