An acoustic metasurface carpet cloak based on membrane-capped cavities is proposed and investigated numerically. This design has been chosen for allowing ultrathin geometries, although adapted to airborne sound frequencies in the range of 1 kHz (λ≈30 cm), surpassing the designs reported in the literature in terms of thinness. A formulation of generalized Snell's laws is first proposed, mapping the directions of the incident and reflected waves to the metasurface phase function. This relation is then applied to achieve a prescribed wavefront reflection direction, for a given incident direction, by controlling the acoustic impedance grading along the metasurface. The carpet cloak performance of the proposed acoustic metasurface is then assessed on a triangular bump obstacle, generally considered as a baseline configuration in the literature.