The ITER gas injection system delivers gases from the tritium plant to the vacuum vessel, fueling pellet injection system, and neutral beam for plasma operation and fusion power shutdown. In this system, the gas fueling (GF) gas valve box (GVB) is an indispensable part that mainly provides functions of gas throughput control and measurement of gas pressure, flow rate, and temperature. The preliminary structure design is largely driven by the requirements of magnetic field compatibility and limited integration space. A strong magnetic field of over 0.2 T exists around the GVB locations, so a magnetic shielding design is required to ensure the normal function of susceptible components. Instead of the previous overall shielding, a local magnetic shielding has been developed by a validated analysis method. As a result, the total weight of the shield has been reduced from over 7000 kg to about 200 kg. Furthermore, considering the limited space reservation, a highly compact flat layout for the GF GVB has been developed to ensure enough maintenance space in front of it. In addition, other requirements such as structure integrity under various load combinations, leak detectability, in situ maintainability, etc., have all been taken into account.