This is an official YAMAHA Headlamp Bucket/Housing, as factory fitted to the XSR900.
However, it is also suitable for fitting to the XSR700 by those wishing to minimise the size of its stock Headlight, as it is otherwise identical but notably shorter, giving a much more classic look (without the frightened Tortoise look of the JVB/Concept S2 units)
This only requires one small modification (simply a ~25mm hole cut/drilled into the bottom of the housing - see link below).
The housing uses the same side mounting holes and all of the XSR700's wiring fits comfortably inside
(Note that this is for the Silver Housing, as shown in the photos, and does not include the Headlight itself or the Black Rim)
YAMAHA EU/UK dealers charge approximately £100 for this part