Can i go outside the country once H1B is approved

Hi i am currently in the US on a L1B I-94 extension on company A and i applied for a new H1B thru another company B. My project with Company A is ending in Aug by which i hope my h1b would be approved. Can i travel out of the country in Aug, get stamping in Philippines (my homeland) for H1B and then come back in the end of September?

Any advice is appreciated.

I don’t think you have to go out of US just for stamping purpose. You can file an application for Change of Status from L1 to H1B. If you have a need for travel to home country, then you could go for stamping there with the H1B approval notice.

Actually, if the L-1 employer wants you to return to home country, then you have to return to Philippines. You can get H-1 visa stamped and then return to US on H-1.