After 20 weeks, the death of a child in utero is usually called a stillbirth, not a miscarriage, and some states issue death certificates.
The CDC also keeps track of fetal death statistics. Whether or not a death certificate is issued, the CDC records the death and the cause.