If one party is registered in Beijing and one party is not registered in Beijing, you can obtain a marriage certificate in Beijing and go to the Civil affairs Bureau where the household registration is located in Beijing. If both parties are not registered in Beijing, they can not obtain a marriage certificate in Beijing, and must go to the civil affairs bureau of the place where the household registration is located for marriage registration.