Peak roof- 22k for everything. Includes drawings, permit, scaffolding, porta toilets etc, shingling, framing, gable end siding, evestroughs and downspouts, roof vents etc.
My guess for a new flat roof would be 12-14k plus as it would need slope added but it could be a lot more as the tear off...