Despite persistent rumors and spin-offs, J.K. Rowling wrote only seven Harry Potter novels:
Harry Potter and the Cursed Child (2016) is a stage play script (by Jack Thorne, based on a story by Rowling, Thorne, and John Tiffany)—not a novel. It's officially marketed as the "eighth story" but in a different medium.
Companion volumes exist (Fantastic Beasts, Quidditch Through the Ages, The Tales of Beedle the Bard), but they're in-universe textbooks, not narrative sequels.
Bottom line: Seven novels. The story concludes with Deathly Hallows.