Non-Mammal Embryo Waste Removal?

i have no idea what invertebrates do, but for vertebrates, read up on the allantois and the difference between amniotes and anamniotes.