Japanese authorities plan to release former Toyota PR chief Julie Hamp, who was jailed June 18 for allegedly importing an illegal painkiller into the country.

She'll be let go without charges on July 8, according to Japanese media reports.

Japanese law allows a suspect to be jailed for up to 23 days without being charged.

The former General Motors and PepsiCo PR executive was taken into custody after customs officials found 57 Oxycodone pills in a parcel marked "necklaces" that was intended for the Toyota executive.

Hamp, who was the first top female official at Toyota, says she didn't know that the painkiller is illegal in Japan.

On June 30, Hamp resigned the chief communications officer job.

Toyota accepted the resignation "after considering the concerns and inconvenience that recent events have caused our stakeholders."

The company said senior managing officer Shigeru Hayakawa has taken over Hamp's role.